joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463248
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x463280]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x463261
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x463270
or bl, 4
test esi, 0x20000000
je 0x46327b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46994c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46995e
add esp, 0xfffffff0
call fcn.004042c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420e5c
mov eax, dword [0x517000]
mov dword [eax + 4], ebx
mov dword [eax], 0x469cf0
mov eax, dword [0x517010]
mov dword [eax + 4], ebx
mov dword [eax], 0x469cfc
mov eax, ebx
call fcn.00469d08
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415b48]
call fcn.00403f34
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415b48]
call fcn.00403f34
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415b48]
call fcn.00403f34
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415b48]
call fcn.00403f34
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415b48]
call fcn.00403f34
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, 0x466148
push eax
push 0
push 0
mov eax, dword [0x517198]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42296c]
call fcn.004240e0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42296c]
call fcn.004240e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42296c]
call fcn.004240e0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046a200
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46a094
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46a094
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46a094
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x469a9b
call fcn.00404320
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x469e78
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 0x46a023
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46a004
mov dl, 1
mov eax, dword [0x4160f0]
call fcn.00403f34
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404d54
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x469ff3
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.00456ab0
test al, al
je 0x469fe6
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, 0x46a034
lea eax, [ebp - 0x254]
call fcn.0040a790
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x469fe6
xor eax, eax
push ebp
push 0x469fdf
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 0x46a06c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x469fc8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404fbc
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 0x469fc8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404fbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469fe6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x469ee9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ad3c
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 0x46a02a
lea eax, [ebp - 0x260]
call fcn.00404d54
ret

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

Disassembly:
push ecx
mov eax, dword [0x518c3c]
cmp byte [eax + 0xa5], 0
jne 0x46aa11
cmp dword [0x518c54], 0
jne 0x46a9d2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46a95c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x518c54], eax
cmp dword [0x518c50], 0
jne 0x46a9ed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x518c50], eax
cmp dword [0x518c58], 0
jne 0x46aa11
push esp
push 0
push 0
push 0x46a900
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x518c58], eax
pop edx
Function at 0x46ab64
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46ab7b
add esp, 0xfffffff0
call fcn.004042c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420e5c
mov eax, dword [0x517180]
cmp word [eax + 2], 0
jne 0x46aba3
mov eax, dword [0x517180]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c240
mov eax, dword [0x51725c]
cmp word [eax + 2], 0
jne 0x46abbd
mov eax, dword [0x51725c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046c438
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415b48]
call fcn.00403f34
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415b48]
call fcn.00403f34
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42348c]
call fcn.0042bcf4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46ad44
mov eax, dword [0x517078]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c0c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c9b8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x517078]
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.0040e2fc
test eax, eax
je 0x46acb2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a0ac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e324
test eax, eax
je 0x46acc6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404fbc
mov eax, dword [0x516ed8]
cmp byte [eax], 0
jne 0x46acfa
mov eax, ebx
call fcn.0046ae6c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046cb94
mov eax, ebx
call fcn.0046d4d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46ad3a
call fcn.00404320
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b0e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x518c3c]
cmp dword [eax + 0x30], 0
je 0x46b18a
cmp dword [ebx + 0x94], 0
jne 0x46b184
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46b070
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46b184
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 0x46b14a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46b184
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.00418478
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46b159
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46bc68
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46bc9d
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.00404e44
jmp 0x46bcaa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404da8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46cd70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46cdb1
mov eax, esi
call fcn.004521a4
test al, al
je 0x46cdb1
mov eax, dword [ebx + 0x84]
call fcn.00451ea0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46cdb1
push 0
mov eax, dword [ebx + 0x84]
call fcn.00451ea0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405204
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x4725a4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00472338
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405204
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x472602
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5171a0]
mov dl, 1
mov eax, dword [0x47225c]
call fcn.0040d69c
call fcn.00404730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x472688
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x515fe4], 0
jne 0x47275a
mov byte [0x515fe4], 1
xor eax, eax
mov dword [0x515fdc], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x4726d0
cmp dword [esp + 0x1c], 3
jne 0x472730
cmp dword [esp + 0x20], 0x33
jbe 0x472730
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x472764
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47275a
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x472794
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47275a
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x47275a
cmp byte [esp + 9], 0
jne 0x47275a
jmp 0x472745
push 0
push 0x472794
push 0x47279c
call sub.kernel32.dll_GetProfileIntA
test eax, eax
je 0x47275a
mov eax, dword [0x515fd8]
call fcn.00405204
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x515fdc], eax
add esp, 0xac
ret

Function at 0x4787dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4788b4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x518cbc], 0
jne 0x478898
lea eax, [ebp - 4]
mov edx, 0x4788cc
call fcn.00404dec
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405204
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x478898
mov eax, ebx
call fcn.004027ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x478891
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47887b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4788dc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47887b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x518cbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478898
mov eax, dword [ebp - 0xc]
call fcn.0040280c
ret
mov ebx, dword [0x518cbc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4788bb
lea eax, [ebp - 4]
call fcn.00404d54
ret

Function at 0x482f58
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x518ce0], 0
jne 0x482f7b
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x482ecc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x518ce0], eax
ret
Function at 0x48d2fc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41517c]
call fcn.00405a74
xor eax, eax
push ebp
push 0x48d440
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x516118], 0
jne 0x48d34f
mov ecx, dword [0x516ef8]
mov dl, 1
mov eax, dword [0x40879c]
call fcn.0040d660
call fcn.00404730
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004033d4
mov eax, ebx
call fcn.004056bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48d450
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406e20
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004056cc
test eax, eax
jle 0x48d3e7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48d3e0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404fd4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404fbc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409648
test eax, eax
jne 0x48d3e0
mov ebx, 0x15
jmp 0x48d3ec
mov ebx, 0x10
jmp 0x48d3ec
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x516118]
call fcn.0048d254
mov eax, dword [ebp - 8]
call fcn.0048d254
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d447
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404d78
lea eax, [ebp - 0x10]
mov edx, dword [0x41517c]
call fcn.00405b44
ret
Function at 0x4ad6e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ad940
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ad743
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ad1a8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040de70
cmp al, 1
jne 0x4ad743
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004ad4c0
test al, al
je 0x4ad8cf
cmp dword [ebp - 8], 0
jge 0x4ad761
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004ad1a8
mov eax, dword [ebp - 0x210]
call fcn.0040500c
cmp ebx, eax
jge 0x4ad7ab
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ad1a8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x517414]
and eax, 0xff
bt dword [edx], eax
jae 0x4ad7ab
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4ad7bf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ad6bc
cmp ebx, dword [ebp - 8]
je 0x4ad8c1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4ad7eb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404160
and eax, 0x7f
movzx eax, word [eax*2 + 0x5164a0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4ad8ae
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404160
and eax, 0x7f
movzx eax, word [eax*2 + 0x5164a0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00451ea0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404160
and eax, 0x7f
movzx eax, word [eax*2 + 0x5164a0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00451ea0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad8b5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4ad922
cmp dword [ebp - 8], 0
jge 0x4ad8da
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ad1a8
mov eax, dword [ebp - 0x218]
call fcn.0040500c
cmp eax, dword [ebp - 8]
jg 0x4ad914
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ad1a8
mov eax, dword [ebp - 0x21c]
call fcn.0040500c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ad6bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad947
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404d78
ret
Function at 0x4bbe30
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4bbe5e
mov eax, ebx
call fcn.004bc8e8
cmp dword [ebx + 0x3c], 0
je 0x4bbe57
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4bbecf
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4bbec1
cmp dword [ebx + 8], 0
je 0x4bbe80
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4bbe92
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4bbec1
cmp dword [ebx + 8], 0
je 0x4bbe73
cmp eax, 3
je 0x4bbea5
dec eax
jne 0x4bbe73
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4bbe73
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4bbe73
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4bbeed
cmp dword [ebx + 0x10], 0xcc
je 0x4bbeed
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004bbef8
pop ebx
ret
Function at 0x4ed690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4ed83a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x4ed858
call fcn.00405150
jne 0x4ed6cb
mov byte [ebp - 0x31], 0x10
jmp 0x4ed6f1
mov eax, ebx
mov edx, 0x4ed86c
call fcn.00405150
jne 0x4ed6df
mov byte [ebp - 0x31], 8
jmp 0x4ed6f1
mov eax, ebx
mov edx, 0x4ed880
call fcn.00405150
jne 0x4ed6f1
mov byte [ebp - 0x31], 2
mov byte [ebp - 0x4c], 0x30
mov byte [ebp - 0x4b], 0x31
mov byte [ebp - 0x4a], 0x32
mov byte [ebp - 0x49], 0x33
mov byte [ebp - 0x48], 0x34
mov byte [ebp - 0x47], 0x35
mov byte [ebp - 0x46], 0x36
mov byte [ebp - 0x45], 0x37
mov byte [ebp - 0x44], 0x38
mov byte [ebp - 0x43], 0x39
mov byte [ebp - 0x42], 0x61
mov byte [ebp - 0x41], 0x62
mov byte [ebp - 0x40], 0x63
mov byte [ebp - 0x3f], 0x64
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x3d], 0x66
lea eax, [ebp - 0x14]
call fcn.00404d54
mov eax, dword [ebp - 4]
call fcn.0040500c
test eax, eax
jle 0x4ed799
mov dword [ebp - 0x38], eax
mov edi, 1
lea eax, [ebp - 0x150]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004094a4
xor esi, esi
lea ebx, [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
mov al, byte [eax + edi - 1]
cmp al, byte [ebx]
jne 0x4ed77b
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00409af8
inc esi
inc ebx
cmp esi, 0x10
jne 0x4ed766
mov eax, dword [ebp - 0x14]
call fcn.00409b9c
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
inc edi
add dword [ebp - 0x3c], 4
dec dword [ebp - 0x38]
jne 0x4ed756
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
call fcn.0040500c
mov esi, eax
cmp esi, 1
jl 0x4ed813
lea ebx, [ebp + esi*4 - 0x154]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebx]
cdq
call fcn.00406048
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
xor eax, eax
mov al, byte [ebp - 0x31]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00406048
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
dec esi
sub ebx, 4
test esi, esi
jne 0x4ed7cb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed841
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404d78
ret
Function at 0x4f2910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
push 0x90
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f2929
cmp ax, 1
jne 0x4f294b
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.0047af88
mov edx, 0x4f2a9c
call fcn.0047aee4
jmp 0x4f2973
cmp ax, 0xff80
je 0x4f2956
test ax, ax
jne 0x4f2973
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 2
call fcn.0047af88
xor edx, edx
call fcn.0047aee4
push 0x14
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f2986
cmp ax, 1
jne 0x4f29a8
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 3
call fcn.0047af88
mov edx, 0x4f2aa8
call fcn.0047aee4
jmp 0x4f29d0
cmp ax, 0xff80
je 0x4f29b3
test ax, ax
jne 0x4f29d0
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 3
call fcn.0047af88
xor edx, edx
call fcn.0047aee4
push 0x91
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f29e6
cmp ax, 1
jne 0x4f2a08
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.0047af88
mov edx, 0x4f2ab8
call fcn.0047aee4
jmp 0x4f2a30
cmp ax, 0xff80
je 0x4f2a13
test ax, ax
jne 0x4f2a30
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.0047af88
xor edx, edx
call fcn.0047aee4
push 0x2d
call sub.user32.dll_GetKeyState
cmp ax, 0xff81
je 0x4f2a43
cmp ax, 1
jne 0x4f2a65
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 5
call fcn.0047af88
mov edx, 0x4f2ac8
call fcn.0047aee4
pop ebx
ret
cmp ax, 0xff80
je 0x4f2a70
test ax, ax
jne 0x4f2a90
mov eax, dword [ebx + 0x35c]
mov eax, dword [eax + 0x208]
mov edx, 5
call fcn.0047af88
mov edx, 0x4f2adc
call fcn.0047aee4
pop ebx
ret