joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40cac5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x40dc38
lea ecx, [esi + 0x54]
mov dword [esp + 0x10], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40cbb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x30]
xor bl, bl
mov byte [esp + 0x18], 1
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40738a
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x30]
push ecx
lea ecx, [esp + 0xc]
mov eax, dword [edx]
push eax
push str._s_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.00409a42
mov ecx, esi
call fcn.00406cc0
push eax
call fcn.00407440
add esp, 4
test al, al
jne 0x4073e4
mov eax, dword [esi + 0x54]
mov ecx, dword [esp + 8]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s_s
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov eax, dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
jne 0x407407
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0x20]
call fcn.00409a42
mov bl, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x407830
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor eax, eax
push esi
push edi
mov edx, dword [ebp]
mov bl, byte [edx]
test bl, bl
je 0x407860
mov esi, 1
sub esi, edx
lea edi, [esi + edx]
and ebx, 0xff
imul edi, ebx
mov bl, byte [edx + 1]
add eax, edi
inc edx
test bl, bl
jne 0x40784a
mov esi, dword [ecx + 0x24]
test esi, esi
je 0x4078a2
xor edx, edx
div dword [ecx + 0x28]
mov esi, dword [esi + edx*4]
test esi, esi
je 0x4078a2
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [ebp]
mov ecx, dword [esi + 8]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x40789e
mov esi, dword [esi]
test esi, esi
jne 0x407879
xor eax, eax
pop edi
test eax, eax
pop esi
pop ebp
setne al
pop ebx
ret 8
test esi, esi
jne 0x4078b0
xor eax, eax
pop edi
test eax, eax
pop esi
pop ebp
setne al
pop ebx
ret 8
mov ecx, dword [esp + 0x18]
add esi, 0xc
push esi
call fcn.00406de0
mov eax, 1
pop edi
test eax, eax
pop esi
pop ebp
setne al
pop ebx
ret 8
Function at 0x409590
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [eax]
xor eax, eax
mov dl, byte [ecx]
test dl, dl
je 0x4095c1
mov edi, 1
sub edi, ecx
lea ebx, [edi + ecx]
and edx, 0xff
imul ebx, edx
mov dl, byte [ecx + 1]
add eax, ebx
inc ecx
test dl, dl
jne 0x4095ab
xor edx, edx
div dword [esi + 8]
mov eax, dword [esi + 4]
test eax, eax
mov ebp, edx
je 0x409600
mov edi, dword [eax + ebp*4]
test edi, edi
je 0x409600
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [edi + 8]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4095f8
mov edi, dword [edi]
test edi, edi
jne 0x4095dc
jmp 0x409600
test edi, edi
jne 0x4096b2
mov eax, dword [esi + 4]
test eax, eax
jne 0x409636
mov ebx, dword [esi + 8]
lea edi, [ebx*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 8], ebx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x409670
mov eax, dword [esi + 0x18]
push 0x64
lea ecx, [esi + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x18]
add eax, 4
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea edx, [edx + edx*4]
lea eax, [eax + edx*4 - 0x64]
jl 0x409670
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x64
dec ecx
jne 0x409662
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
inc ebx
push 1
mov eax, dword [edi]
mov dword [esi + 0xc], ebx
lea ebx, [edi + 8]
mov dword [esi + 0x10], eax
push ebx
call sub.MFC42.DLL_ConstructElements
lea ecx, [edi + 0xc]
push 1
push ecx
call fcn.00409820
mov edx, dword [esp + 0x14]
mov ecx, ebx
push edx
mov dword [edi + 4], ebp
call fcn.00409a42
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebp*4]
mov dword [edi], ecx
mov edx, dword [esi + 4]
mov dword [edx + ebp*4], edi
lea eax, [edi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4096c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor eax, eax
push esi
push edi
mov edx, dword [ebp]
mov bl, byte [edx]
test bl, bl
je 0x4096f0
mov esi, 1
sub esi, edx
lea edi, [esi + edx]
and ebx, 0xff
imul edi, ebx
mov bl, byte [edx + 1]
add eax, edi
inc edx
test bl, bl
jne 0x4096da
xor edx, edx
div dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov eax, dword [ecx + 4]
test eax, eax
je 0x409726
mov esi, dword [eax + edx*4]
test esi, esi
je 0x409726
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [ebp]
mov ecx, dword [esi + 8]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x40972f
mov esi, dword [esi]
test esi, esi
jne 0x40970f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4098f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x409922
xor eax, eax
pop esi
pop ecx
ret
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x409968
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x40a210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x37], 0
jne 0x40a223
cmp dword [esi + 0x2b], 0
je 0x40a231
mov dword [esi + 8], 0x1002
xor esi, esi
jmp 0x40a2ba
mov dword [esi + 8], 0
push 0xa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
or eax, eax
jne 0x40a255
mov dword [esi + 8], 0x3001
xor esi, esi
jmp 0x40a2ba
push eax
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
pop ecx
or eax, eax
jne 0x40a270
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x40a2ba
mov dword [esi + 0x13], eax
mov dword [esi + 0x1b], eax
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
or eax, eax
jne 0x40a28f
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x40a2ba
mov dword [esi + 0x17], eax
mov dword [esi + 0x2b], 2
push esi
call fcn.0040b6b0
or eax, eax
jne 0x40a2ae
mov dword [esi + 0x2b], 0
xor esi, esi
jmp 0x40a2ba
mov dword [esi + 0x37], 1
mov esi, 1
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x1833008], 0x8088405
inc edx
mov dword [ebx + 0x1833008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x181aa63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x181aa6a
ret
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x181b473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x18352a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x18352a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x183410c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x181b47a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x405e04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e6a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40ae20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ae59
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40ae62
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ae6c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ae8d
mov al, byte [esp]
jmp 0x40ae8f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40be44
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bf1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404278
lea eax, [ebp - 8]
call fcn.004046f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf04
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40befd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bee7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bf2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bee7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf04
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf21
lea eax, [ebp - 8]
call fcn.004041e0
ret
Function at 0x437358
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f114]
cmp byte [eax + 0xc], 0
je 0x4374c5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4374be
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450b64], 0
jne 0x4373ac
push 0x4374cc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4374d4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b64], eax
cmp dword [0x44eb00], 0
jne 0x4374a7
push 0x4374e4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44eb00], eax
cmp dword [0x44eb00], 0
je 0x4374a7
push 0x4374f0
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b68], eax
push 0x437500
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b6c], eax
push 0x437514
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b70], eax
push 0x43752c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b74], eax
push 0x437544
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b78], eax
push 0x437558
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b7c], eax
push 0x437570
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b80], eax
push 0x437588
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b84], eax
push 0x4375a4
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b88], eax
push 0x4375b0
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4374c5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b350
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b39f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442b48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442b98]
test si, 4
je 0x442b5c
or bl, 1
test si, 8
je 0x442b66
or bl, 4
test si, 1
je 0x442b70
or bl, 8
test si, 2
je 0x442b7a
or bl, 0x10
test si, 0x10
je 0x442b84
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b93
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret