joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f792
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x478a78]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47e1e0], 0
jne 0x40f82a
push esi
push 0x47a158
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0043d840
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xffffffffffffffff
push eax
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043e5af
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043e598
lea eax, [ebp - 0x20c]
push str._disablemempool
push eax
call fcn.0043e2cb
add esp, 0x20
pop esi
test eax, eax
je 0x40f820
mov byte [0x47e1dc], 1
mov dword [0x47e1e0], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043dae6
leave
ret

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

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret

Function at 0x411276
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x1c]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.00403414
lea eax, [ebp - 0x1c]
push eax
push 0x46217c
push 0x47f250
call fcn.00404e98
pop ecx
pop ecx
push eax
call fcn.0040990b
push eax
call fcn.00411242
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402515
lea ebx, [esi + 4]
test ebx, ebx
je 0x4112cb
lea eax, [esi + 0xc]
jmp 0x4112cd
xor eax, eax
push 0x462178
push eax
call fcn.00404e98
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.00403414
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x4112f1
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402515
mov ecx, ebx
call fcn.004110ce
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414168
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00413fa1
and byte [esi + 0x24], 0xf8
xor eax, eax
push 0x10
mov dword [esi], 0x462798
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi + 0x24]
mov edi, 0x4000000
push edi
shr eax, 8
test al, al
seta al
xor cl, al
and cl, 1
xor byte [esi + 0x24], cl
call fcn.004134d5
add al, al
xor al, byte [esi + 0x24]
mov ebx, 0x8000000
and al, 2
xor byte [esi + 0x24], al
push ebx
call fcn.004134d5
shl al, 2
xor al, byte [esi + 0x24]
pop ecx
and al, 4
xor byte [esi + 0x24], al
mov al, byte [esi + 0x24]
pop ecx
test al, 1
je 0x4141dd
and dword [esi + 0x28], 0x2000000
test al, 2
je 0x4141e4
and dword [esi + 0x28], edi
test al, 4
je 0x4141eb
and dword [esi + 0x28], ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x427651
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8
Function at 0x4276a2
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4276b3
push 0xd
pop eax
jmp 0x4276e0
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4276b6
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x427c3d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x478a78]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00427610
mov ebx, eax
cmp ebx, esi
je 0x427cad
lea ecx, [ebp - 0x70]
call fcn.0042759b
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dae6
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x427cc5
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00427c3d
cmp eax, esi
jne 0x427cf7
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x427cb5
lea ecx, [ebp - 0x70]
call fcn.0042759b
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00427540
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0042759b
mov eax, esi
jmp 0x427c93
Function at 0x428f5d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x478a78]
xor eax, ebp
mov dword [ebp + 0x394], eax
mov eax, dword [ebp + 0x3a0]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov esi, dword [ebp + 0x3a4]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x74], eax
cmp eax, edi
jne 0x428fb8
call fcn.00427463
mov esi, eax
jmp 0x42907e
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x428fd1
call fcn.00427463
jmp 0x429073
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x428fc7
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x42902d
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x429004
lea ecx, [ebp - 0x70]
call fcn.00427bee
mov esi, 0x8007000e
lea ecx, [ebp - 0x78]
call fcn.00427b28
mov ecx, dword [ebp + 0x394]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043dae6
add ebp, 0x398
leave
ret 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.00428171
cmp dword [ebp - 0x70], edi
jne 0x429042
mov esi, 0x8007000e
jmp 0x429075
push esi
push dword [ebp - 0x70]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x428fc7
mov edx, dword [ebp - 0x70]
push dword [ebp + 0x3ac]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
call fcn.00428c80
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x429009
lea ecx, [ebp - 0x70]
call fcn.00427bee
jmp 0x429009
Function at 0x434ed2
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x434ee9
inc eax
jmp 0x434f8b
push esi
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x434f06
push 0xd
call esi
test eax, eax
jne 0x434f06
inc eax
jmp 0x434f8a
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push edi
push 0xd
call esi
mov edi, eax
test edi, edi
jne 0x434f4f
push 1
call esi
mov esi, eax
test esi, esi
je 0x434f81
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x434f81
push 0xffffffffffffffff
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040e105
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0040de3b
lea ecx, [ebp - 4]
call fcn.0040de2d
push esi
jmp 0x434f7b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x434f81
push 0xffffffffffffffff
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040e11d
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0040de3b
lea ecx, [ebp - 4]
call fcn.0040de2d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x435001
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x435014
inc eax
jmp 0x43509f
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
cmp dword [eax + 8], 0
jne 0x435031
mov bl, 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x435097
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x43505d
call dword [sym.imp.USER32.dll_CloseClipboard]
xor bl, bl
jmp 0x435095
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov eax, dword [ebx]
push esi
push dword [eax + 0xc]
push ebp
call fcn.0043ed90
add esp, 0xc
xor eax, eax
push edi
mov word [esi + ebp], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov bl, 1
pop ebp
pop edi
pop esi
xor eax, eax
test bl, bl
sete al
pop ebx
ret 4
Function at 0x43cd6a
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x458572
call fcn.00443171
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x43ce7c
cmp byte [esi + 0x42], bl
je 0x43ce7c
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp di, ax
jne 0x43cda6
xor al, al
jmp 0x43ce7e
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0043cd40
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043cb1c
mov ecx, eax
call fcn.0043c4c6
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043cb1c
mov ecx, eax
call fcn.0043c4c6
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x43ce16
dec eax
je 0x43ce1a
dec eax
dec eax
je 0x43ce78
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040280e
mov al, bl
jmp 0x43ce7e
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043cb1c
mov ecx, eax
call fcn.0043c4c6
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x43ce5a
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043cb1c
mov ecx, eax
call fcn.0043c4c6
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00445147
add esp, 0x10
cmp edi, eax
jne 0x43ce04
cmp byte [esi + 0x42], 0
je 0x43ce78
test edi, edi
jne 0x43cdb4
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00402fae
jmp 0x43cdb4
mov bl, 1
jmp 0x43ce06
mov al, 1
call fcn.004431bb
ret

Function at 0x43dae6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x478a78]
jne 0x43daf0
repz ret
jmp fcn.004470ac
Function at 0x450e21
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004454d2
and dword [ebp - 4], 0
cmp dword [0x47fdec], 0
mov ebx, eax
jne 0x450ed2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x450f83
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x450f83
push eax
call fcn.00445460
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47fdec], eax
call esi
push eax
call fcn.00445460
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47fdf0], eax
call esi
push eax
call fcn.00445460
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47fdf4], eax
call esi
push eax
call fcn.00445460
pop ecx
mov dword [0x47fdfc], eax
test eax, eax
je 0x450ed2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00445460
pop ecx
mov dword [0x47fdf8], eax
mov eax, dword [0x47fdf8]
cmp eax, ebx
je 0x450f2a
cmp dword [0x47fdfc], ebx
je 0x450f2a
push eax
call fcn.004454db
push dword [0x47fdfc]
mov esi, eax
call fcn.004454db
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x450f2a
test edi, edi
je 0x450f2a
call esi
test eax, eax
je 0x450f21
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x450f21
test byte [ebp - 0xc], 1
jne 0x450f2a
or dword [ebp + 0x10], 0x200000
jmp 0x450f63
mov eax, dword [0x47fdf0]
cmp eax, ebx
je 0x450f63
push eax
call fcn.004454db
pop ecx
test eax, eax
je 0x450f63
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x450f63
mov eax, dword [0x47fdf4]
cmp eax, ebx
je 0x450f63
push eax
call fcn.004454db
pop ecx
test eax, eax
je 0x450f63
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47fdec]
call fcn.004454db
pop ecx
test eax, eax
je 0x450f83
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x450f85
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x457554
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47ff6c], 0
push esi
jne 0x4574c7
call fcn.004573ed
test eax, eax
je 0x45750a
mov eax, dword [0x47ff6c]
cmp eax, 1
jne 0x4574e8
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x45750a
pop esi
ret
push eax
call dword [0x47ff74]
test eax, eax
jne 0x457552
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x45750e
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x47ff6c]
call dword [0x47ff74]
mov edi, eax
test edi, edi
je 0x457533
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x45754f
mov edi, esi
add esi, 0xff0
push edi
push dword [0x47ff6c]
call dword [0x47ff70]
add edi, 0x10
cmp edi, esi
jb 0x45753b
mov eax, edi
pop edi
pop esi
ret
jmp 0x4574b4
Function at 0x402908
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402937
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c6c
jmp 0x402955
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402890
mov edi, eax
test ebx, ebx
je 0x402955
cmp dword [esi], 0
je 0x402955
dec ebx
jmp 0x40293e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d74
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 0x402e0c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402dec
xor eax, eax
push ebp
push 0x402de5
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 0x402e28
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 0x402dec
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 0x405198
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 0x405354
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051f9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405370
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40526b
xor eax, eax
push ebp
push 0x405264
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]
call fcn.00404ff0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40524d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405390
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 0x40526b
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 0x40534c
cmp byte [ebp - 0xd], 0
jne 0x4052ad
cmp byte [ebp - 0x12], 0
je 0x40534c
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4052c6
dec ebx
cmp byte [ebx], 0x2e
je 0x4052d5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4052c5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40534c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405302
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 0x40534c
cmp byte [ebp - 0xd], 0
je 0x40534c
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 0x40534c
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 0x4096bc
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 0x4096f5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403c6c
jmp 0x4096fe
mov eax, ebx
mov edx, esi
call fcn.00403bd8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409708
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 0x409729
mov al, byte [esp]
jmp 0x40972b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x414d38
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 0x414d3e
ret

Function at 0x417538
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 0x417589
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x417570
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x417560
jmp 0x417589
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 0x417571
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427044
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 - 0xc]
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45d77c], 0
sete dl
or al, dl
jne 0x427184
mov eax, dword [0x45d780]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45d77c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x427153
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45d77c]
call fcn.0040e564
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42714b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42714b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42714b
mov eax, dword [ebp - 0x14]
call fcn.0042f354
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42714b
push ebp
call fcn.00427000
pop ecx
test al, al
jne 0x42714b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x427107
mov eax, dword [ebp - 0x14]
call fcn.0042dce0
dec eax
jle 0x42714b
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.004030d8
cmp byte [ebp - 1], 0
je 0x42714b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42714b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45d780]
call fcn.0042684c
inc edi
dec esi
jne 0x42709a
mov eax, dword [0x45d780]
cmp dword [eax + 8], 0
jle 0x42716b
mov eax, dword [0x45d780]
call fcn.004268dc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x427184
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00426e68
pop ecx
test al, al
jne 0x427184
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
Function at 0x42ccec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42cd1d
je 0x42cd77
sub eax, 7
je 0x42cd3e
dec eax
je 0x42cd68
sub eax, 0x17
je 0x42ce1c
jmp 0x42ce5a
add eax, 0xffffff00
sub eax, 9
jb 0x42ce08
add eax, 0xffffff09
sub eax, 0xb
jb 0x42cdd0
jmp 0x42ce5a
mov eax, ebx
call fcn.0043e954
mov edi, eax
test edi, edi
je 0x42ceba
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42cec3
jmp 0x42ceba
test byte [ebx + 0x44], 0x20
jne 0x42cec3
jmp 0x42ceba
mov edx, esi
mov eax, ebx
call fcn.0042a2ec
cmp dword [esi + 0xc], 0xffffffff
jne 0x42cec3
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040713c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00428e20
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042cbc4
test eax, eax
je 0x42cec3
mov dword [esi + 0xc], 1
jmp 0x42cec3
mov edx, esi
mov eax, ebx
call fcn.0042cc58
test al, al
je 0x42ceba
cmp dword [esi + 0xc], 0
jne 0x42cec3
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0042f354
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x42cec3
mov eax, ebx
call fcn.00429988
test al, al
jne 0x42cec3
jmp 0x42ceba
mov eax, ebx
call fcn.0042f354
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42ceba
cmp dword [0x45c79c], 0
je 0x42ceba
mov eax, dword [0x45c79c]
cmp ebx, dword [eax + 0x24]
jne 0x42ceba
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45c79c]
call fcn.0042a220
jmp 0x42ceba
mov eax, dword [0x45d744]
cmp byte [eax + 0x20], 0
je 0x42ceba
mov eax, dword [0x45d744]
cmp dword [eax + 0x1c], 0
je 0x42ceba
mov eax, dword [esi]
mov edx, dword [0x45d744]
cmp eax, dword [edx + 0x1c]
jne 0x42ceba
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043e898
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.004030d8
jmp 0x42cec3
mov edx, esi
mov eax, ebx
call fcn.0042a2ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret