joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405230
Capabilities:
Create thread
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns

Disassembly:
sub esp, 0x118
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
or esi, 0xffffffff
cmp dword [0x446bc0], esi
je 0x405268
xor eax, eax
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0041dec5
add esp, 0x118
ret
push edi
push 1
xor edi, edi
push edi
push edi
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x446bc0], eax
xor eax, eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov eax, 2
push edi
mov word [esp + 0x10], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x446bc0]
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, esi
mov eax, dword [0x446bc0]
jne 0x4052f0
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
mov dword [0x446bc0], esi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0041dec5
add esp, 0x118
ret
push ebx
push ebp
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x16]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
push 0x100
lea edx, [esp + 0x28]
push edx
movzx ebp, ax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x7c
push edi
push 0x446bdc
mov ebx, eax
call fcn.00421a10
add esp, 0xc
mov esi, 0x446bf0
jmp 0x405350
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + ecx]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40538b
movsx edx, word [ebx + 0xa]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esi - 4]
push ecx
call fcn.004241c0
mov word [esi], bp
inc byte [0x446c14]
add esi, 8
add esp, 0xc
add edi, 4
cmp esi, 0x446c10
jl 0x405350
push 0
push 0
push 0x446b90
push 0x405800
push 0
push 0
mov dword [0x446c5c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x124]
pop ebp
pop ebx
pop edi
mov dword [0x446bc4], eax
pop esi
mov eax, 1
xor ecx, esp
mov dword [0x446ba0], eax
call fcn.0041dec5
add esp, 0x118
ret
Function at 0x4053e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ebx, edx
mov dword [0x446c6c], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x446c58], eax
mov eax, esi
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405420
sub eax, edi
push eax
push esi
push 0x446bdc
call fcn.0041f680
mov ecx, dword [0x446c58]
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
add esp, 0xc
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
mov eax, 2
push 0x1a15
mov word [esp + 0x14], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
xor eax, eax
push 0x32
push eax
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
mov byte [esp + 0x3e], al
call fcn.00421a10
mov ecx, 0x1f
mov esi, 0x446bdc
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], 0x65
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4054b3
sub eax, esi
push eax
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.004241c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
xor ebx, ebx
cmp dword [0x446c6c], 1
je 0x40551c
mov eax, dword [0x446bc0]
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x80
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
xor esi, esi
lea ecx, [ecx]
cmp dword [0x446c60], 0
jne 0x405535
push 0x12c
call edi
inc esi
cmp esi, 0xa
jl 0x405500
inc ebx
cmp ebx, 5
jl 0x4054d3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0041dec5
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0041dec5
mov esp, ebp
pop ebp
ret 4
Function at 0x405560
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x9c
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
xor eax, eax
push edi
push 0x32
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
lea eax, [esp + 0x6c]
push eax
call fcn.00421a10
mov ecx, 0x1f
mov esi, 0x446bdc
lea edi, [esp + 0x28]
lea edx, [esp + 0x70]
add esp, 0xc
mov dword [esp + 0x18], 0x75
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4055c0
mov edx, dword [0x446c58]
xor eax, eax
mov ecx, 2
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
push 0x1a15
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov word [esp + 0xc], cx
mov dword [esp + 0x10], edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x446bc0]
push 0x10
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0x80
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0041dec5
add esp, 0x9c
ret

Function at 0x405640
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x9c
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
xor eax, eax
push edi
push 0x32
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
lea eax, [esp + 0x6c]
push eax
call fcn.00421a10
mov ecx, 0x1f
mov esi, 0x446bdc
lea edi, [esp + 0x28]
lea edx, [esp + 0x70]
add esp, 0xc
mov dword [esp + 0x18], 0x74
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4056a0
mov edx, dword [0x446c58]
xor eax, eax
mov ecx, 2
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
push 0x1a15
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov word [esp + 0xc], cx
mov dword [esp + 0x10], edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x446bc0]
push 0x10
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0x80
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0041dec5
add esp, 0x9c
ret
Function at 0x405720
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x446c60], 0
push esi
push edi
je 0x4057e9
xor eax, eax
push 0x32
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
lea eax, [esp + 0x6c]
push eax
call fcn.00421a10
mov edx, dword [0x446c58]
xor eax, eax
mov dword [esp + 0x24], 0x66
mov ecx, 0x1f
mov esi, 0x446bdc
lea edi, [esp + 0x28]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, 2
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
push 0x1a15
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov word [esp + 0xc], cx
mov dword [esp + 0x10], edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x446bc0]
push 0x10
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0x80
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [0x446c60], 0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0041dec5
mov esp, ebp
pop ebp
ret

Function at 0x4058e0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x90
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
push ebp
mov ebp, dword [esp + 0x98]
add eax, 0xffffff9c
push esi
push edi
cmp eax, 0xb
ja case.0x405913.101
movzx eax, byte [eax + 0x4059f4]
jmp dword [eax*4 + 0x4059dc]
lea esi, [ecx + 4]
lea edi, [ebx + 0x4c]
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0xd0], 1
jmp case.0x405913.101
mov dword [ebx + 0xdc], 1
mov dword [ebx + 0xd0], 0
jmp case.0x405913.101
mov dword [ebx + 0xd8], 1
jmp case.0x405913.101
xor eax, eax
push 0x32
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
mov byte [esp + 0x2e], al
call fcn.00421a10
mov edx, dword [esp + 0xb0]
add esp, 0xc
push edx
push ebp
push 0
push 0x80
mov dword [esp + 0x20], 0x6b
lea esi, [ebx + 0x4c]
mov ecx, 0x1f
lea edi, [esp + 0x24]
lea eax, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x30]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
jmp case.0x405913.101
mov dword [ebx + 0xd4], 1
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0041dec5
add esp, 0x90
ret 8
Function at 0x405a10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x435828
mov eax, dword fs:[0]
push eax
push ecx
push ebp
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
push 0
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push 0
push ecx
push edx
mov dword [esp + 0x20], 0
call ebp
test eax, eax
jne 0x405b13
mov eax, dword [esi]
mov edx, dword [esp + 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
inc edx
sub eax, edx
or eax, ecx
jge 0x405a88
push edx
mov ecx, esi
call fcn.00404e40
mov eax, dword [esi]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 8]
push ecx
push eax
mov eax, dword [edi]
push 0
push 0
push edx
push eax
call ebp
test eax, eax
jne 0x405b13
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x405ab9
push ecx
push eax
call fcn.0041ec31
add esp, 8
test eax, eax
jl 0x405b09
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x405b09
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405af1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x10
ret 4
push 0x80070057
call fcn.00404f80
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x10
ret 4
Function at 0x405bd0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x43598b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x405dbc
call fcn.004132ad
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405c4b
push 0x80004005
call fcn.00404f80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0xdc], edi
mov eax, dword [esp + 0x38]
sub eax, 4
je 0x405d4a
sub eax, 1
je 0x405cdb
sub eax, 1
je 0x405c83
push 0x43ae70
jmp 0x405d84
mov eax, dword [esp + 0x3c]
sub eax, edi
je 0x405cb9
sub eax, 1
jne 0x405d8d
cmp byte [esp + 0xce], 1
lea ecx, [esp + 0xc]
jne 0x405caf
lea edi, [eax + 2]
push str.Microsoft_Windows_7
jmp 0x405d88
push str.Microsoft_Windows_Server_2008_R2
jmp 0x405d88
cmp byte [esp + 0xce], 1
lea ecx, [esp + 0xc]
jne 0x405cd1
push str.Microsoft_Windows_Vista
jmp 0x405d88
push str.Microsoft_Windows_Server_2008
jmp 0x405d88
mov eax, dword [esp + 0x3c]
sub eax, edi
je 0x405d43
sub eax, 1
je 0x405d2e
sub eax, 1
jne 0x405d8d
cmp byte [esp + 0xce], 1
jne 0x405d0a
cmp word [esp + 0x10], 9
jne 0x405d0a
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x405d84
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
jne 0x405d1f
push str.Microsoft_Windows_Server_2003
jmp 0x405d84
push 0x59
call esi
test eax, eax
je 0x405d8d
push str.Microsoft_Windows_Server_2003_R2
jmp 0x405d84
push str.Microsoft_Windows_XP
lea ecx, [esp + 0x10]
call fcn.00404c30
mov edi, 1
jmp 0x405d8d
push str.Microsoft_Windows_2000
jmp 0x405d84
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x405d6a
cmp eax, 0xa
je 0x405d63
cmp eax, 0x5a
jne 0x405d8d
push str.Microsoft_Windows_Me
jmp 0x405d84
push str.Microsoft_Windows_98
jmp 0x405d84
mov eax, dword [esp + 0x44]
cmp eax, 2
jne 0x405d7a
push str.Microsoft_Windows_NT_4.0
jmp 0x405d84
cmp eax, 1
jne 0x405d8d
push str.Microsoft_Windows_95
lea ecx, [esp + 0x10]
call fcn.00404c30
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405db8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x405dbe
xor eax, eax
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0041dec5
add esp, 0xd4
ret
Function at 0x405df0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
push 0x20
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x405e58
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
add esp, 0x1c
ret
Function at 0x406c90
Capabilities:
Create shortcut via ishelllink
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x214
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x210], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x406cc2
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00421a10
add esp, 0xc
lea edx, [esp]
push edx
push 0x43764c
push 1
push 0
push 0x43765c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x406d0f
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041dec5
add esp, 0x214
ret
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x43766c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x406cf8
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
push 0x104
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, 1
call fcn.0041dec5
add esp, 0x214
ret
Function at 0x407cf0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x210], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00421a10
add esp, 0xc
lea edx, [esp]
push edx
push 0x43764c
push 1
push 0
push 0x43765c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x407d59
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041dec5
add esp, 0x214
ret
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x43766c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x407d42
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
push 0x104
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, 1
call fcn.0041dec5
add esp, 0x214
ret

Function at 0x407df0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x435828
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call fcn.00404ac0
mov dword [esp + 0x14], 0
mov ecx, dword [0x446c78]
push 0x43b190
push ecx
call fcn.0041e95d
mov esi, eax
add esp, 8
test esi, esi
je 0x407e90
push 2
push 0x43aa1c
lea ecx, [esp + 0x24]
call fcn.00404530
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 8]
mov edi, dword [edx - 0xc]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x407e77
push 0
lea ecx, [esp + 0x20]
call fcn.00404e40
mov edx, dword [esp + 0x1c]
push esi
push 1
push edi
push edx
call fcn.0041f0e8
push esi
call fcn.00420240
push esi
call fcn.0041ef0a
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407eb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x407ed0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2804
call fcn.00424080
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x2800], eax
mov eax, dword [esp + 0x2808]
mov eax, dword [eax]
push esi
push 0x43b194
push eax
call fcn.0041e95d
mov esi, eax
add esp, 8
test esi, esi
je 0x407f56
push 0x27ff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00421a10
push esi
push 0x2800
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.0041ec14
push esi
call fcn.0041ef0a
lea eax, [esp + 0x24]
add esp, 0x20
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407f40
sub eax, edx
push eax
lea edx, [esp + 8]
push edx
mov ecx, edi
call fcn.00404ef0
mov ecx, dword [esp + 0x2804]
pop esi
xor ecx, esp
call fcn.0041dec5
add esp, 0x2804
ret 4
Function at 0x40ceb0
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4357f1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x442c34]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
push edi
mov eax, dword [0x442c34]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x51]
push ebx
push eax
mov byte [esp + 0x58], bl
call fcn.00421a10
push 0x103
lea ecx, [esp + 0x161]
push ebx
push ecx
mov byte [esp + 0x168], bl
call fcn.00421a10
mov edx, dword [0x446cc8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x18
push edx
push 0x104
lea eax, [esp + 0x54]
push eax
push 0x43a9ec
push str.apppath
push str.Moble
call esi
mov ecx, dword [0x446cc8]
push ecx
push 0x104
lea edx, [esp + 0x158]
push edx
push 0x43a9ec
push str.appurl
push str.Moble
call esi
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.00434ad1
add esp, 8
test eax, eax
jne 0x40d0ca
mov esi, 0xf
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40cf98
sub eax, edx
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401470
lea ecx, [esp + 0x14]
lea edi, [esp + 0x30]
mov dword [esp + 0x260], ebx
call fcn.0040cd70
mov byte [esp + 0x260], 2
cmp dword [esp + 0x2c], 0x10
jb 0x40cfe0
mov edx, dword [esp + 0x18]
push edx
call fcn.00412f71
add esp, 4
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jae 0x40cffb
lea eax, [esp + 0x34]
push eax
call fcn.004076e0
cmp eax, 0xffffffff
je 0x40d0b6
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x14]
call fcn.00404ac0
mov byte [esp + 0x260], 3
mov ecx, dword [0x446cec]
push 0x43b190
push ecx
call fcn.0041e95d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40d088
push 0x43aa1c
lea ecx, [esp + 0x14]
call fcn.00404180
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov edi, dword [edx - 0xc]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40d06f
push ebx
lea ecx, [esp + 0x14]
call fcn.00404e40
mov edx, dword [esp + 0x10]
push esi
push 1
push edi
push edx
call fcn.0041f0e8
push esi
call fcn.00420240
push esi
call fcn.0041ef0a
add esp, 0x18
inc dword [0x446b68]
mov byte [esp + 0x260], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d0b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x48], 8
jb 0x40d0ca
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00412f71
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0041dec5
add esp, 0x254
ret