joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437c70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4791b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x437ca9
inc eax
mov dword [esi + 0x10], eax
jmp 0x437dbc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x437cbd
mov eax, 0xffffffc7
jmp 0x437dbe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x437cce
cmp dword [esi + 8], eax
jne 0x437cbd
cmp dword [esi + 8], eax
jne 0x437ce7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437ce7
mov eax, 0xffffffc7
jmp 0x437dbe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x437cfb
push eax
mov ecx, ebx
call fcn.004374a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00408760
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x437d2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00408780
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00436c10
test eax, eax
mov dword [esp + 0x38], eax
je 0x437d5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b4c0
call fcn.00408960
mov eax, dword [esp + 0x38]
jmp 0x437dbe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437ad0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x437da3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00437af0
mov esi, eax
test esi, esi
jne 0x437dd3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437ad0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437d75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b4c0
call fcn.00408960
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b4c0
call fcn.00408960
mov eax, esi
jmp 0x437dbe

Function at 0x43aee0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43af40
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43af40
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43af40
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43af40
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43af80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4410e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4797e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004707fc
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440a80
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047072a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046cf11
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046cf11
push 1
push 0
push 0
mov ecx, esi
call fcn.0046ceb9
push 1
push 0
push 1
mov ecx, esi
call fcn.0046ceb9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047086e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441260
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004707fc
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440a80
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047072a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x441324
cmp dword [esp + 0x40], 1
jne 0x441322
cmp ecx, eax
jge 0x441324
mov eax, ecx
cmp eax, 0xc8
jge 0x441330
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004410e0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047086e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441ab0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479873
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046b331
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00470aa4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00471ffc
test eax, eax
je 0x441bcc
mov ecx, dword [esp + 0x3c]
call fcn.00470ad1
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441b90
push edi
mov ecx, esi
call fcn.0046e095
mov ecx, esi
call fcn.00441d30
cmp dword [esp + 0x38], 1
jne 0x441bc5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046e1ff
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4445e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444613
push esi
call fcn.004476d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44460c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444699
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444682
mov eax, dword [esi + 8]
test eax, eax
je 0x444637
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44467e
cmp eax, 2
je 0x444682
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44462a
cmp eax, 3
je 0x44465d
cmp eax, 1
jne 0x44462a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44462a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44462a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004446c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4446a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004446c0
add esp, 4
pop esi
ret

Function at 0x46c127
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46c15f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046a1de
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046a1b6
jmp 0x46c16b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46d819
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46d85b
call fcn.00473508
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46d85b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46d852
xor eax, eax
jmp 0x46d863
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046d869
pop edi
pop esi
pop ebx
ret 4

Function at 0x473a38
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x473a66
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x473a84
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047399e
jmp 0x473a84
mov eax, dword [esi + 0x14]
test eax, eax
je 0x473a84
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047399e
test edi, edi
mov eax, edi
jne 0x473a6e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402558
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402566
call dword [0x40e010]
or eax, eax
je 0x402567
ret
mov al, 1
jmp fcn.004025d8

Function at 0x402570
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40257e
call dword [0x40e014]
or eax, eax
jne 0x40257f
ret
mov al, 2
jmp fcn.004025d8

Function at 0x402588
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4025c0
test edx, edx
je 0x4025aa
push eax
mov eax, ecx
call dword [0x40e018]
pop ecx
or eax, eax
je 0x4025b9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004025d8
mov dword [eax], edx
mov eax, ecx
call dword [0x40e014]
or eax, eax
jne 0x4025a3
ret
mov al, 1
jmp fcn.004025d8
test edx, edx
je 0x4025d4
push eax
mov eax, edx
call dword [0x40e010]
pop ecx
or eax, eax
je 0x4025b9
mov dword [ecx], eax
ret

Function at 0x4025d8
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x40f004]
test ecx, ecx
je 0x4025e8
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402601]
jns 0x4025fc
call fcn.00405468
mov eax, dword [eax + 4]
jmp fcn.00403238

Function at 0x40261c
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00405468
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x402631
ret
xor eax, eax
jmp fcn.004025d8

Function at 0x402820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4028b8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402898
xor eax, eax
push ebp
push 0x402891
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4028d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402898
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402a1c
Capabilities:
Terminate process

Disassembly:
cmp dword [0x40f018], 0
je 0x4026bf
call dword [0x40f018]
mov eax, 0xd2
jmp fcn.00403238
push eax
push ecx
mov eax, dword [eax]
call fcn.004029ec
pop ecx
pop eax
je 0x402a2b
jmp ebx
pop ecx
jmp 0x4026b0
Function at 0x402fb8
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, 0x40f49c
lea edi, [ebp - 0x3c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop dword [0x40f4bc]
pop dword [0x40f4b8]
mov dword [0x40f4b0], ebp
mov dword [0x40f4b4], ebx
mov dword [0x40f4a4], eax
mov dword [0x40f4ac], edx
lea ecx, [ebp - 0x3c]
mov dword [0x40f49c], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x403001
mov ecx, dword [eax]
mov dword [0x40f4a8], ecx
call fcn.00402eb0
mov eax, dword [ebp + 0xc]
inc eax
mov byte [0x40f4c0], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [0x40f4c4], edx
je 0x403024
call dword [ecx + eax*4]
mov edx, dword [esp + 4]
test edx, edx
je 0x403031
mov eax, dword [ebp + 0xc]
call edx
cmp dword [0x40f01c], 0
jne 0x403041
mov byte [0x40f024], 1
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00403114
call fcn.00402f58
ret 4

Function at 0x40322c
Capabilities:
Terminate process

Disassembly:
mov dword [0x40f030], eax
jmp fcn.00403114

Function at 0x403770
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.004025d8
test edx, edx
je fcn.00403734
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403734
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x40372c
ret

Function at 0x4037c0
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403807
cmp al, 0xb
je 0x403821
cmp al, 0xc
je 0x403838
cmp al, 0xd
je 0x403847
cmp al, 0xe
je 0x403865
cmp al, 0xf
je 0x40387b
cmp al, 0x11
je 0x40388a
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.004025d8
cmp ecx, 1
mov eax, ebx
jg 0x403818
call fcn.00403244
jmp 0x403899
mov edx, ecx
call fcn.00403268
jmp 0x403899
cmp ecx, 1
mov eax, ebx
jg 0x40382f
call fcn.00403734
jmp 0x403899
mov edx, ecx
call fcn.0040374c
jmp 0x403899
mov eax, ebx
add ebx, 0x10
call fcn.00403f84
dec edi
jg 0x403838
jmp 0x403899
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004037c0
dec edi
jg 0x40384a
pop ebp
jmp 0x403899
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403794
dec edi
jg 0x403868
pop ebp
jmp 0x403899
mov eax, ebx
add ebx, 4
call fcn.004045d4
dec edi
jg 0x40387b
jmp 0x403899
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404178
dec edi
jg 0x40388a
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x4038a0
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004037c0
Function at 0x4038ac
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4038d8
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402670
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x403917
cmp cl, 0xb
je 0x403928
cmp cl, 0xc
je 0x403939
cmp cl, 0xd
je 0x40394a
cmp cl, 0xe
je 0x40396a
cmp cl, 0xf
je 0x403983
cmp cl, 0x11
je 0x403994
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004025d8
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403298
mov eax, 4
jmp 0x4039a5
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403770
mov eax, 4
jmp 0x4039a5
lea edx, [esi + eax]
add eax, ebx
call fcn.00403c44
mov eax, 0x10
jmp 0x4039a5
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004039c8
pop eax
jmp 0x4039a5
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004038ac
pop eax
jmp 0x4039a5
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004045ec
mov eax, 4
jmp 0x4039a5
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004041b4
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4038c6
pop ecx
sub ecx, eax
jle 0x4039c1
lea edx, [ebx + eax]
add eax, esi
call fcn.00402670
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4039c8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x403a0e
cmp cl, 0xb
je 0x403a25
cmp cl, 0xc
je 0x403a39
cmp cl, 0xd
je 0x403a4d
cmp cl, 0xe
je 0x403a6e
cmp cl, 0xf
je 0x403a8b
cmp cl, 0x11
je 0x403a9f
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.004025d8
mov eax, ebx
mov edx, dword [esi]
call fcn.00403298
add ebx, 4
add esi, 4
dec ebp
jne 0x403a0e
jmp 0x403ab3
mov eax, ebx
mov edx, dword [esi]
call fcn.00403770
add ebx, 4
add esi, 4
dec ebp
jne 0x403a25
jmp 0x403ab3
mov eax, ebx
mov edx, esi
call fcn.00403c44
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x403a39
jmp 0x403ab3
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004039c8
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x403a56
jmp 0x403ab3
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004038ac
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x403a6e
jmp 0x403ab3
mov eax, ebx
mov edx, dword [esi]
call fcn.004045ec
add ebx, 4
add esi, 4
dec ebp
jne 0x403a8b
jmp 0x403ab3
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.004041b4
add ebx, 4
add esi, 4
dec ebp
jne 0x403a9f
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x403c44
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.004025d8
cmp eax, edx
je 0x403cdb
cmp word [eax], 8
jb 0x403c7c
push eax
push edx
cmp word [eax], 0x100
je 0x403c72
cmp word [eax], 0x101
je 0x403c6a
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x403c7a
call dword [0x40f3e0]
jmp 0x403c7a
add eax, 8
call fcn.00403244
pop edx
pop eax
cmp word [edx], 8
jae 0x403c93
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x403cae
cmp word [edx], 0x101
jne 0x403cc7
push eax
call 0x403c82
pop eax
jmp dword [0x40f3e8]
mov edx, dword [edx + 8]
or edx, edx
je 0x403cbe
mov ecx, dword [edx - 8]
inc ecx
jle 0x403cbe
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x403bf8
ret
Function at 0x404228
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4043e0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404289
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4043fc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4042f6
xor eax, eax
push ebp
push 0x4042ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4042d8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40441c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4042f6
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4043d7
cmp byte [ebp - 0xd], 0
jne 0x404338
cmp byte [ebp - 0x12], 0
je 0x4043d7
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404351
dec ebx
cmp byte [ebx], 0x2e
je 0x404360
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404350
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4043d7
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40438d
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4043d7
cmp byte [ebp - 0xd], 0
je 0x4043d7
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4043d7
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4048f0
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [ebx + 4]
sub edx, 0xd7b1
cmp edx, 2
ja 0x404920
push 0
push dword [ebx]
call sub.kernel32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x404916
xor edx, edx
div dword [ebx + 8]
pop ebx
ret
call fcn.0040264c
or eax, 0xffffffff
jmp 0x404914
mov eax, 0x67
call fcn.0040263c
or eax, 0xffffffff
jmp 0x404914