joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469b9c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x55aee4]
cmp byte [eax + 0xc], 0
je 0x469d09
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469d02
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55fc98], 0
jne 0x469bf0
push 0x469d10
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x469d18
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fc98], eax
cmp dword [0x559974], 0
jne 0x469ceb
push 0x469d28
call sub.kernel32.dll_LoadLibraryA
mov dword [0x559974], eax
cmp dword [0x559974], 0
je 0x469ceb
push 0x469d34
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fc9c], eax
push 0x469d44
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fca0], eax
push 0x469d58
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fca4], eax
push 0x469d70
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fca8], eax
push 0x469d88
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fcac], eax
push 0x469d9c
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fcb0], eax
push 0x469db4
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fcb4], eax
push 0x469dcc
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fcb8], eax
push 0x469de8
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fcbc], eax
push 0x469df4
mov eax, dword [0x559974]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55fcc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469d09
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x470bc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov edi, eax
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongA
mov esi, eax
test bl, bl
je 0x470be5
test esi, 0x40000
je 0x470bff
test bl, bl
jne 0x470c99
mov eax, esi
and eax, 0x40000
cmp eax, 0x40000
jne 0x470c99
push edi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x470c32
mov eax, dword [0x55fcdc]
cmp edi, dword [eax + 0x30]
jne 0x470c2e
mov eax, dword [0x55fcdc]
cmp byte [eax + 0x5b], 0
jne 0x470c32
xor eax, eax
jmp 0x470c34
mov al, 1
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x470c4b
push 0
push edi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x470c60
or esi, 0x40000
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
jmp 0x470c6f
and esi, 0xfffbffff
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x470c80
cmp byte [esp + 2], 0
je 0x470c99
cmp byte [esp + 2], 0
je 0x470c91
push 6
push edi
call sub.user32.dll_ShowWindow
jmp 0x470c99
push 5
push edi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x470f3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x470f62
mov eax, esp
push eax
push 0x470f04
call sub.user32.dll_EnumWindows
jmp 0x470f75
mov eax, esp
push eax
push 0x470ee4
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x471008
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x47105c]
test si, 4
je 0x47101d
or bl, 1
test si, 8
je 0x471027
or bl, 4
test si, 1
je 0x471031
or bl, 8
test si, 2
je 0x47103b
or bl, 0x10
test si, 0x10
je 0x471045
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x471054
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x471060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x47109c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47107a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x471089
or bl, 4
test esi, 0x20000000
je 0x471094
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x479124
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x479136
add esp, 0xfffffff0
call fcn.00404b44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042697c
mov eax, dword [0x55a758]
mov dword [eax + 4], ebx
mov dword [eax], 0x4794c8
mov eax, dword [0x55a76c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4794d4
mov eax, ebx
call fcn.004794e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x47496c
push eax
push 0
push 0
mov eax, dword [0x55aa54]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42d584]
call fcn.0042ee78
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42d584]
call fcn.0042ee78
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42d584]
call fcn.0042ee78
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00479958
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x479828
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x479828
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x479828
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x479273
call fcn.00404b9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47960c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4797b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x479798
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004047b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040573c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x479787
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00469ef8
test al, al
je 0x47977a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4797c8
lea eax, [ebp - 0x254]
call fcn.0040c4d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47977a
xor eax, eax
push ebp
push 0x479773
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x479800
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47975c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004059ac
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47975c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004059ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47977a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47967d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041fce4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4797be
lea eax, [ebp - 0x260]
call fcn.0040573c
ret

Function at 0x47a130
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x55fcdc]
cmp byte [eax + 0xad], 0
jne 0x47a1a1
cmp dword [0x55fcf8], 0
jne 0x47a162
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47a0ec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x55fcf8], eax
cmp dword [0x55fcf4], 0
jne 0x47a17d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x55fcf4], eax
cmp dword [0x55fcfc], 0
jne 0x47a1a1
push esp
push 0
push 0
push 0x47a090
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55fcfc], eax
pop edx
ret
Function at 0x47a3a4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47a3bb
add esp, 0xfffffff0
call fcn.00404b44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042697c
mov eax, dword [0x55aa20]
cmp word [eax + 2], 0
jne 0x47a3e3
mov eax, dword [0x55aa20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047c144
mov eax, dword [0x55abec]
cmp word [eax + 2], 0
jne 0x47a3fd
mov eax, dword [0x55abec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047c350
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41a894]
call fcn.004047b0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42e134]
call fcn.004366b8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x47a5b4
mov eax, dword [0x55a84c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00436a8c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47ca24
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x55a84c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00410938
test eax, eax
je 0x47a504
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040bab8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0041096c
test eax, eax
je 0x47a518
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004059ac
mov byte [ebx + 0xd4], 0
push ebx
push 0x47bbb8
call fcn.00427af8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x55a570]
cmp byte [eax], 0
jne 0x47a569
mov eax, ebx
call fcn.0047a6f8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0047cc08
mov eax, ebx
call fcn.0047d790
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47a5a9
call fcn.00404b9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a978
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x47aa17
cmp dword [ebx + 0x94], 0
jne 0x47aa11
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47a900
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47aa11
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47a9d7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47aa11
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d1e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47a9e6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47ac30
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x55fcdc]
cmp dword [eax + 0x30], 0
je 0x47ad8d
test bl, bl
jne 0x47acde
cmp dword [esi + 0x9c], 0
jne 0x47acd3
mov eax, esi
call fcn.0047d60c
push eax
push 0x47ab5c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x47aca4
mov eax, dword [0x55fcdc]
call fcn.0047dcec
test al, al
je 0x47aca4
mov eax, dword [0x55fd00]
call fcn.00406d14
mov edi, eax
cmp edi, 0
jl 0x47aca4
push 0
mov eax, dword [0x55fd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47ac8e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47acd3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d1e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47acb3
inc dword [esi + 0x9c]
jmp 0x47ad8d
cmp dword [esi + 0x9c], 0
jle 0x47ad8d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x47ad8d
cmp dword [esi + 0x44], 0
je 0x47ad39
mov eax, dword [0x55fcdc]
call fcn.0047dcec
test al, al
je 0x47ad39
mov eax, dword [0x55fd00]
call fcn.00406d14
mov edi, eax
cmp edi, 0
jl 0x47ad39
push 5
mov eax, dword [0x55fd00]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47ad23
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47ad68
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d1e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47ad48
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x55fd00
mov ecx, 1
mov edx, dword [0x47ab3c]
call fcn.00406ec8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47b874
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x47b8de
mov eax, ebx
call fcn.0047dcec
test al, al
jne 0x47b8de
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040582c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x47b8cb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47b8eb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405790
jmp 0x47b8eb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405790
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x47cdec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47ce5a
mov eax, esi
call fcn.00464a9c
test al, al
je 0x47ce5a
mov eax, dword [ebx + 0x84]
call fcn.004646fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47ce5a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47ce4e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004646fc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045c458
jmp 0x47ce5a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047cc28
pop esi
pop ebx
ret

Function at 0x4826b8
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 0x48271c
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.004059ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040b16c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482723
lea eax, [ebp - 0xc]
call fcn.0040573c
ret

Function at 0x487ca4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
add esp, 0xffffffe0
mov esi, edx
mov ebx, eax
push 0x20
lea eax, [esp + 4]
push eax
push 0x58
xor edx, edx
mov eax, ebx
call fcn.0048265c
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x487cf8
mov ecx, 1
mov edx, 0x20
mov eax, 0x559c08
test dword [esp + 0x10], ecx
je 0x487cf0
mov edx, dword [eax]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
jmp 0x487d12
add ecx, ecx
add eax, 0xc
dec edx
jne 0x487cd8
mov eax, dword [0x559c08]
mov dword [esi], eax
mov eax, dword [0x559c0c]
mov dword [esi + 4], eax
mov eax, dword [0x559c10]
mov dword [esi + 8], eax
add esp, 0x20
pop esi
pop ebx
ret
Function at 0x488260
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.0040573c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4882c0
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x4882c0
cmp byte [ebp - 0x102], 0
je 0x4882c0
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004059ac
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48ed34
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408f94]
call fcn.00406514
xor eax, eax
push ebp
push 0x48eed5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x559da0], 0
jne 0x48ed8f
mov ecx, dword [0x55a598]
mov dl, 1
mov eax, dword [0x409614]
call fcn.0040fa10
call fcn.00405094
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403b7c
mov eax, ebx
call fcn.00406130
mov dword [ebp - 0x24], eax
mov esi, 0x48eee4
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004075b8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00406140
test eax, eax
jle 0x48ee78
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48ee64
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004059ac
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x48ee0a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004059c4
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x48ee20
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004059c4
mov eax, dword [ebp - 0x54]
call fcn.00405bcc
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004059ac
mov eax, dword [ebp - 0x58]
call fcn.00405bcc
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x48ee66
xor eax, eax
test al, al
je 0x48ee71
mov ebx, 0x15
jmp 0x48ee7d
mov ebx, 0x10
jmp 0x48ee7d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x559da0]
call fcn.0048ebb4
mov eax, dword [ebp - 4]
call fcn.0048ebb4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004075d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eedc
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405760
lea eax, [ebp - 0xc]
mov edx, dword [0x408f94]
call fcn.004065e4
ret
Function at 0x4913cc
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 0x491430
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
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.004059ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040b16c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491437
lea eax, [ebp - 0xc]
call fcn.0040573c
ret

Function at 0x4914d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x49152c
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4914fb
call fcn.004113b8
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00403248
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x49152c
call fcn.004113b8
add esp, 0x14
pop edi
pop esi
pop ebx
ret