joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10060fe0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100610fd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100610fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.1007bb90
mov esi, eax
test esi, esi
je 0x100610fd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x100610fd
mov ecx, esi
call fcn.10060f50
cmp edi, eax
jge 0x100610fd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x10061083
mov dword [esp + 0x34], 1
jmp 0x100610de
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100610fd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.1005f740
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x10065990
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x10088beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.1007a1fe
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x10065a62
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100659fa
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.1007a190
xor eax, eax
jmp 0x10065ab2
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10065a15
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x10065a66
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10065a66
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.1006a153
add esp, 8
test eax, eax
je 0x10065a5e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10065a37
jmp 0x10065a66
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x10065a86
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.1007a190
xor eax, eax
jmp 0x10065ab2
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.1007a190
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8

Function at 0x10065b10
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x10088c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x102479a0]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
xor ebp, ebp
mov ecx, 0x40
xor eax, eax
mov edi, 0x10264844
push ebp
push 0x10065be0
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], ebp
mov dword [0x10264840], ebp
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x10264840]
cmp eax, ebp
jl 0x10065bb4
push ebx
mov ebx, dword [esp + 0x24]
mov esi, 0x10264844
sub esi, ebx
mov dword [esp + 0x24], esi
jmp 0x10065b77
mov esi, dword [esp + 0x24]
push 0x14
call fcn.1006abc7
add esp, 4
mov dword [ebx], eax
mov ecx, dword [esi + ebx]
lea edx, [esp + 0x10]
push ecx
push 0x10245cbc
push edx
call fcn.1007792a
mov esi, dword [esp + 0x1c]
mov edi, dword [ebx]
mov ecx, 5
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x10264840]
inc ebp
add ebx, 4
cmp ebp, eax
jle 0x10065b73
pop ebx
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.1007a190
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x1007c534
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1007c56c
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.1007a5eb
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1007a5c3
jmp 0x1007c578
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1007dc2a
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 0x1007dc6c
call fcn.100836f3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1007dc6c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1007dc63
xor eax, eax
jmp 0x1007dc74
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1007dc7a
pop edi
pop esi
pop ebx
ret 4
Function at 0x424eb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x41a015
lea edi, [esi - 0x19015]
mov dword [edi + 0x1b010], 0x298abf71
push edi
or ebp, 0xffffffff
jmp 0x424eda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x424ed0
mov eax, 1
add ebx, ebx
jne 0x424ef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424ee8
jne 0x424f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424ee8
xor ecx, ecx
sub eax, 3
jb 0x424f18
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x424f8a
mov ebp, eax
add ebx, ebx
jne 0x424f23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424f30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x424f54
inc ecx
add ebx, ebx
jne 0x424f40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x424f35
jne 0x424f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424f35
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x424f74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x424f65
jmp 0x424ed6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x424f74
add edi, ecx
jmp 0x424ed6
pop esi
mov edi, esi
mov ecx, 0x490
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x424f92
cmp byte [edi], 6
jne 0x424f92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x424f97
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x425006
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27298]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x272d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x424fc4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x272d8]
or eax, eax
je 0x425000
mov dword [ebx], eax
add ebx, 4
jmp 0x424fe1
call dword [esi + 0x272e8]
mov ebp, dword [esi + 0x272dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x25061]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x425052
sub esp, 0xffffff80
jmp 0x401140
Function at 0x10001966
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.10001b66
pop ecx
mov dword [ebp - 8], eax
call fcn.10001e9a
test al, al
jne 0x100019b0
mov eax, dword [0x100c27c0]
push 0x64
cdq
pop ecx
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x141]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x1006a8e2
push eax
call 0x1006c0ed
pop ecx
pop ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10001aa6
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10001aa6
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x14]
ja 0x10001aa6
push esi
xor esi, esi
mov edx, esi
test edi, edi
je 0x10001a79
mov dword [ebp + 8], eax
cmp edx, edi
jae 0x100019ed
movzx ecx, byte [edx + ebx]
inc edx
jmp 0x100019ef
mov ecx, esi
cmp edx, edi
jae 0x100019fd
movzx eax, byte [edx + ebx]
mov dword [ebp - 4], eax
inc edx
jmp 0x10001a00
mov dword [ebp - 4], esi
cmp edx, edi
jae 0x10001a0b
movzx eax, byte [edx + ebx]
inc edx
jmp 0x10001a0d
mov eax, esi
mov edi, dword [ebp + 8]
shl ecx, 8
add ecx, dword [ebp - 4]
shl ecx, 8
add ecx, eax
mov eax, ecx
shr eax, 0x12
and eax, 0x3f
inc dword [ebp + 8]
mov al, byte [eax + 0x100bc0b8]
mov byte [edi], al
mov edi, dword [ebp + 8]
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
inc dword [ebp + 8]
mov al, byte [eax + 0x100bc0b8]
mov byte [edi], al
mov edi, dword [ebp + 8]
mov eax, ecx
shr eax, 6
and eax, 0x3f
and ecx, 0x3f
mov al, byte [eax + 0x100bc0b8]
mov byte [edi], al
mov cl, byte [ecx + 0x100bc0b8]
mov eax, edi
mov edi, dword [ebp + 0xc]
mov byte [eax + 1], cl
add eax, 2
mov dword [ebp + 8], eax
cmp edx, edi
jb 0x100019e6
mov ecx, dword [ebp - 8]
mov eax, edi
xor edx, edx
push 3
pop edi
div edi
lea edx, [edx*4 + 0x10088a4c]
cmp dword [edx], esi
jle 0x10001a9c
mov eax, dword [ebp + 0x10]
dec eax
add eax, ecx
mov byte [eax], 0x3d
inc esi
dec eax
cmp esi, dword [edx]
jl 0x10001a93
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], ecx
mov al, 1
jmp 0x10001aa8
xor al, al
pop edi
pop ebx
leave
ret
Function at 0x402e94
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404550
test esi, esi
jne 0x402ecb
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404640
jmp 0x402eec
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d30
mov dword [esp], eax
test esi, esi
je 0x402eec
cmp dword [ebx], 0
je 0x402eec
dec esi
jmp 0x402ed3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40358c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403624
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403604
xor eax, eax
push ebp
push 0x4035fd
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 0x403640
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 0x403604
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404328
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a004c], 0
je 0x404389
cmp word [0x4a0220], 0xd7b2
jne 0x404351
cmp dword [0x4a0228], 0
jbe 0x404351
mov eax, 0x4a021c
call dword [0x4a0238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043b0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48f030], 0
jne 0x4043a5
push 0
push 0x48f064
push 0x48f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404504
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402ad0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4a004d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044cc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40656c
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 0x4065d2
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.004047c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403144
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065bc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4065d9
lea eax, [ebp - 0x10]
call fcn.00404550
ret

Function at 0x40bc8c
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bcc5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404640
jmp 0x40bcce
mov eax, ebx
mov edx, esi
call fcn.004045a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bcd8
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 0x40bcf9
mov al, byte [esp]
jmp 0x40bcfb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c390
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c1f8
mov eax, dword [0x49f254]
cmp byte [eax], 0
je 0x40c40c
mov eax, dword [0x49eee0]
call fcn.00402fb0
call fcn.00402c5c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409360
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c454
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c442
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49ee54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a0668]
call fcn.004059bc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cd04
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 0x40cdda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004045e8
lea eax, [ebp - 8]
call fcn.00404a60
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a10
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cdc4
mov eax, ebx
call fcn.00402ad0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cdbd
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.00404a10
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cda7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cdec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cda7
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 0x40cdc4
mov eax, dword [ebp - 0x10]
call fcn.00402b00
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cde1
lea eax, [ebp - 8]
call fcn.00404550
ret

Function at 0x40d3b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d418
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047c0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408dc8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d41f
lea eax, [ebp - 0xc]
call fcn.00404550
ret

Function at 0x41f238
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041f090
dec esi
jne 0x41f25a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42039c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a088c
cmp dword [edi], 0
jne 0x420418
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a0888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48f3fc
mov ecx, 2
call fcn.00402cf0
mov edx, 0x420374
lea eax, [esi + 5]
call fcn.00420394
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420394
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4203ed
mov dword [0x4a0888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42195c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x421962
ret

Function at 0x423de0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x423e31
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423e18
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423e08
jmp 0x423e31
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x423e19
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432bc4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x432b10
call sub.user32.dll_EnumWindows
ret

Function at 0x432ce4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x432d61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00432744
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x432d09
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00432344
cmp dword [ebp - 4], 0
je 0x432d4b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a10
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432d68
lea eax, [ebp - 4]
call fcn.00404550
ret

Function at 0x435d2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4a0b5c], 0
je 0x435e7b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x49f19c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x435e7b
mov eax, dword [0x4a0b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a0b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x435e4a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4a0b5c]
call fcn.00418760
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x435e42
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x435e42
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x435e42
mov eax, dword [ebp - 0x14]
call fcn.0043e9fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x435e42
push ebp
call fcn.00435ce8
pop ecx
test al, al
jne 0x435e42
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x435dfe
mov eax, dword [ebp - 0x14]
call fcn.0043d4f4
dec eax
jle 0x435e42
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403928
cmp byte [ebp - 1], 0
je 0x435e42
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x435e42
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a0b60]
call fcn.004354b4
inc edi
dec ebx
jne 0x435d91
mov eax, dword [0x4a0b60]
cmp dword [eax + 8], 0
jle 0x435e62
mov eax, dword [0x4a0b60]
call fcn.00435544
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435e7b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435b50
pop ecx
test al, al
jne 0x435e7b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret