joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46361c
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 0x463642
mov eax, esp
push eax
push 0x4635e4
call sub.user32.dll_EnumWindows
jmp 0x463655
mov eax, esp
push eax
push 0x4635c4
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 0x4636e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x463734]
test si, 4
je 0x4636f5
or bl, 1
test si, 8
je 0x4636ff
or bl, 4
test si, 1
je 0x463709
or bl, 8
test si, 2
je 0x463713
or bl, 0x10
test si, 0x10
je 0x46371d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46372c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x463738
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x463774]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x463752
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x463761
or bl, 4
test esi, 0x20000000
je 0x46376c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46b7fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46b80e
add esp, 0xfffffff0
call fcn.004041b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424b3c
mov eax, dword [0x543ea8]
mov dword [eax + 4], ebx
mov dword [eax], 0x46bba0
mov eax, dword [0x543eb8]
mov dword [eax + 4], ebx
mov dword [eax], 0x46bbac
mov eax, ebx
call fcn.0046bbb8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
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, 0x467044
push eax
push 0
push 0
mov eax, dword [0x54426c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x428e1c]
call fcn.0042a598
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x428e1c]
call fcn.0042a598
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x428e1c]
call fcn.0042a598
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046c0c0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bf48
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bf48
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46bf48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46b94b
call fcn.0040420c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46bd2c
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 0x46bed7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46beb8
mov dl, 1
mov eax, dword [0x41b79c]
call fcn.00403e60
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404de0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46bea7
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.0045cbb0
test al, al
je 0x46be9a
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, 0x46bee8
lea eax, [ebp - 0x254]
call fcn.0040ab88
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46be9a
xor eax, eax
push ebp
push 0x46be93
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 0x46bf20
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46be7c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405050
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 0x46be7c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46be9a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46bd9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004207ec
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 0x46bede
lea eax, [ebp - 0x260]
call fcn.00404de0
ret

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

Disassembly:
push ecx
mov eax, dword [0x549ca0]
cmp byte [eax + 0xad], 0
jne 0x46c909
cmp dword [0x549cbc], 0
jne 0x46c8ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46c854
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x549cbc], eax
cmp dword [0x549cb8], 0
jne 0x46c8e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x549cb8], eax
cmp dword [0x549cc0], 0
jne 0x46c909
push esp
push 0
push 0
push 0x46c7f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x549cc0], eax
pop edx
ret
Function at 0x46cb0c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46cb23
add esp, 0xfffffff0
call fcn.004041b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424b3c
mov eax, dword [0x544238]
cmp word [eax + 2], 0
jne 0x46cb4b
mov eax, dword [0x544238]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046e86c
mov eax, dword [0x5443f8]
cmp word [eax + 2], 0
jne 0x46cb65
mov eax, dword [0x5443f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ea78
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41af84]
call fcn.00403e60
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 [0x429854]
call fcn.0043185c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46cd1c
mov eax, dword [0x543fac]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431c30
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46f14c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x543fac]
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.0040e8dc
test eax, eax
je 0x46cc6c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a52c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e910
test eax, eax
je 0x46cc80
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.00405050
mov byte [ebx + 0xd4], 0
push ebx
push 0x46e2e0
call fcn.00425cb8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x543c70]
cmp byte [eax], 0
jne 0x46ccd1
mov eax, ebx
call fcn.0046ce60
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.0046f360
mov eax, ebx
call fcn.0046fec4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46cd11
call fcn.0040420c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d0e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46d17f
cmp dword [ebx + 0x94], 0
jne 0x46d179
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46d068
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46d179
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 0x46d13f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46d179
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.0041db90
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46d14e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x549ca0]
cmp dword [eax + 0x30], 0
je 0x46d4f5
test bl, bl
jne 0x46d446
cmp dword [esi + 0x9c], 0
jne 0x46d43b
mov eax, esi
call fcn.0046fd40
push eax
push 0x46d2c4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46d40c
mov eax, dword [0x549ca0]
call fcn.00470420
test al, al
je 0x46d40c
mov eax, dword [0x549cc4]
call fcn.00406288
mov edi, eax
cmp edi, 0
jl 0x46d40c
push 0
mov eax, dword [0x549cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46d3f6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46d43b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041db90
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46d41b
inc dword [esi + 0x9c]
jmp 0x46d4f5
cmp dword [esi + 0x9c], 0
jle 0x46d4f5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46d4f5
cmp dword [esi + 0x44], 0
je 0x46d4a1
mov eax, dword [0x549ca0]
call fcn.00470420
test al, al
je 0x46d4a1
mov eax, dword [0x549cc4]
call fcn.00406288
mov edi, eax
cmp edi, 0
jl 0x46d4a1
push 5
mov eax, dword [0x549cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46d48b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46d4d0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041db90
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46d4b0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x549cc4
mov ecx, 1
mov edx, dword [0x46d2a4]
call fcn.0040643c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46dfdc
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 0x46e046
mov eax, ebx
call fcn.00470420
test al, al
jne 0x46e046
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.00404ed0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46e033
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46e053
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e34
jmp 0x46e053
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e34
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46f544
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46f5b2
mov eax, esi
call fcn.00457754
test al, al
je 0x46f5b2
mov eax, dword [ebx + 0x84]
call fcn.004573b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46f5b2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46f5a6
push 0
mov eax, dword [ebx + 0x84]
call fcn.004573b4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044f1b8
jmp 0x46f5b2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046f380
pop esi
pop ebx
ret

Function at 0x475c2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405260
xor eax, eax
push ebp
push 0x475cc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404de0
mov eax, dword [ebp - 4]
call fcn.004050a0
test eax, eax
jle 0x475ca5
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
xor dl, 0x10
and edx, 0xff
sub edx, 0xf
call fcn.00404fc8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004050ac
mov eax, dword [ebp - 8]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x475c71
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475cca
lea eax, [ebp - 0x14]
call fcn.00404de0
lea eax, [ebp - 4]
call fcn.00404de0
ret
Function at 0x47d4d0
Capabilities:
Get file version info
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push 0x47d628
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47d620
mov dword [ebp - 0x14], 0x104
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004080bc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x47d664
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47d5d1
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jbe 0x47d5d1
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47d5c1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x47d668
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47d5c1
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
push 0x8000
push 0
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
push 0x8000
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [ebp - 0x2c]
call fcn.004080a8
movzx eax, ax
mov dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, word [ebp - 0x2c]
add dword [ebp - 4], eax
shl dword [ebp - 4], 8
mov eax, dword [ebp - 0x28]
call fcn.004080a8
movzx eax, ax
add dword [ebp - 4], eax
shl dword [ebp - 4], 8
movzx eax, word [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47dacc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x47dba4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jb 0x47dba4
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x20]
mov edx, dword [ebp - 0x20]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x47db9c
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x24]
mov edx, dword [ebp - 0x20]
add edx, edx
add eax, edx
mov ax, word [eax]
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
movzx edx, word [ebp - 0x2e]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
jmp 0x47dba4
inc dword [ebp - 0x20]
dec dword [ebp - 0x38]
jne 0x47db33
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x47f524
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
test dl, dl
je 0x47f536
add esp, 0xfffffff0
call fcn.004041b4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push 0x47f628
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47f606
mov dword [ebp - 0x1c], 0x105
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004080bc
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x47f664
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47f5fd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x47f5f4
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41b948]
call fcn.00420d00
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0047f680
mov eax, dword [ebp - 0x10]
call fcn.00403e90
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFree
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x47f61e
call fcn.0040420c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4a8f40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a8fc6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoA_1
mov ebx, eax
test ebx, ebx
jne 0x4a8f81
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00404e34
jmp 0x4a8fb0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405500
push ebx
mov eax, dword [ebp - 4]
call fcn.00405270
push eax
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoA_1
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004052d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8fcd
lea eax, [ebp - 4]
call fcn.00404de0
ret

Function at 0x4ade6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor ebx, ebx
push 1
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ade7c
inc ebx
push 4
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ade8b
add ebx, 0x10
push 2
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ade9a
add ebx, 2
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4adea9
add ebx, 8
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4adeb8
add ebx, 4
mov eax, ebx
pop ebx
ret
Function at 0x4b83f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ecx]
mov edx, eax
add edx, 3
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 8]
sub edx, eax
sub edx, 6
mov dword [ebp - 8], edx
mov esi, dword [ecx + 4]
add esi, dword [ecx + 0xc]
sub esi, 9
sar esi, 1
jns 0x4b8428
adc esi, 0
mov eax, dword [ebp - 4]
call fcn.004c370c
mov edx, dword [ebp + 8]
call fcn.0042ad74
xor ebx, ebx
push ebp
mov ecx, ebx
and cl, 1
xor cl, 1
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.004b83a0
pop ecx
add esi, 2
inc ebx
cmp ebx, 5
jne 0x4b843a
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4cee84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4cee8c
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ceff7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x544594]
call fcn.0040713c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [0x5440a8]
call fcn.0040713c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x10], eax
lea edx, [ebp - 0xc]
mov eax, dword [0x544018]
call fcn.0040713c
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x14], eax
lea edx, [ebp - 0x10]
mov eax, dword [0x544638]
call fcn.0040713c
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x18], eax
lea edx, [ebp - 0x14]
mov eax, dword [0x544388]
call fcn.0040713c
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x2c], eax
lea edx, [ebp - 0x18]
mov eax, dword [0x544554]
call fcn.0040713c
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x1c], eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x544148]
call fcn.0040713c
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x20], eax
lea edx, [ebp - 0x20]
mov eax, dword [0x543c5c]
call fcn.0040713c
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x34], eax
lea edx, [ebp - 0x24]
mov eax, dword [0x544374]
call fcn.0040713c
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x30], eax
lea edx, [ebp - 0x28]
mov eax, dword [0x5444f4]
call fcn.0040713c
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x38], eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x543dd4]
call fcn.0040713c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x24], eax
lea edx, [ebp - 0x30]
mov eax, dword [0x544358]
call fcn.0040713c
mov edx, dword [ebp - 0x30]
mov eax, ebx
call fcn.004cee0c
mov dword [ebx + 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ceffe
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00404e04
ret