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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c8b78]
cmp byte [eax + 0xc], 0
je 0x452a45
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452a3e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c9ba0], 0
jne 0x45292c
push 0x452a4c
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x452a54
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9ba0], eax
cmp dword [0x4c6d40], 0
jne 0x452a27
push 0x452a64
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4c6d40], eax
cmp dword [0x4c6d40], 0
je 0x452a27
push 0x452a70
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9ba4], eax
push 0x452a80
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9ba8], eax
push 0x452a94
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bac], eax
push 0x452aac
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bb0], eax
push 0x452ac4
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bb4], eax
push 0x452ad8
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bb8], eax
push 0x452af0
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bbc], eax
push 0x452b08
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bc0], eax
push 0x452b24
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bc4], eax
push 0x452b30
mov eax, dword [0x4c6d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4c9bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452a45
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x456b4c
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.00403fd4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x456b9b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404244
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e39c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45e3ec]
test si, 4
je 0x45e3b0
or bl, 1
test si, 8
je 0x45e3ba
or bl, 4
test si, 1
je 0x45e3c4
or bl, 8
test si, 2
je 0x45e3ce
or bl, 0x10
test si, 0x10
je 0x45e3d8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e3e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45e3f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45e428]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e409
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e418
or bl, 4
test esi, 0x20000000
je 0x45e423
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x464ad0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x464ae2
add esp, 0xfffffff0
call fcn.00403524
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f10c
mov eax, dword [0x4c8564]
mov dword [eax + 4], ebx
mov dword [eax], 0x464e74
mov eax, dword [0x4c8574]
mov dword [eax + 4], ebx
mov dword [eax], 0x464e80
mov eax, ebx
call fcn.00464e8c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415d34]
call fcn.004031d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415d34]
call fcn.004031d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415d34]
call fcn.004031d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415d34]
call fcn.004031d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415d34]
call fcn.004031d0
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, 0x4612a8
push eax
push 0
push 0
mov eax, dword [0x4c87f4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420bb8]
call fcn.004223cc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420bb8]
call fcn.004223cc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420bb8]
call fcn.004223cc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004652ac
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465188
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465188
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465188
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464c1f
call fcn.0040357c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x464f6c
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 0x465117
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4650f8
mov dl, 1
mov eax, dword [0x416398]
call fcn.004031d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403fd4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4650e7
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.00452c38
test al, al
je 0x4650da
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, 0x465128
lea eax, [ebp - 0x254]
call fcn.00409534
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4650da
xor eax, eax
push ebp
push 0x4650d3
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 0x465160
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4650bc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404244
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 0x4650bc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404244
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4650da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x464fdd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ab6c
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 0x46511e
lea eax, [ebp - 0x260]
call fcn.00403fd4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c9bec]
cmp byte [eax + 0xa5], 0
jne 0x465abd
cmp dword [0x4c9c04], 0
jne 0x465a7e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x465a08
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c9c04], eax
cmp dword [0x4c9c00], 0
jne 0x465a99
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4c9c00], eax
cmp dword [0x4c9c08], 0
jne 0x465abd
push esp
push 0
push 0
push 0x4659ac
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4c9c08], eax
pop edx
ret
Function at 0x465bb4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x465bcb
add esp, 0xfffffff0
call fcn.00403524
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f10c
mov eax, dword [0x4c87cc]
cmp word [eax + 2], 0
jne 0x465bf3
mov eax, dword [0x4c87cc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467334
mov eax, dword [0x4c8918]
cmp word [eax + 2], 0
jne 0x465c0d
mov eax, dword [0x4c8918]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046752c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415d34]
call fcn.004031d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415d34]
call fcn.004031d0
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], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421738]
call fcn.00429738
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x465d94
mov eax, dword [0x4c8638]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429b08
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x467acc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c8638]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040cedc
test eax, eax
je 0x465d02
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f14
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cf04
test eax, eax
je 0x465d16
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.00404244
mov eax, dword [0x4c83b8]
cmp byte [eax], 0
jne 0x465d4a
mov eax, ebx
call fcn.00465ebc
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.00467ca8
mov eax, ebx
call fcn.0046866c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465d8a
call fcn.0040357c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46613c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c9bec]
cmp dword [eax + 0x30], 0
je 0x4661e6
cmp dword [ebx + 0x94], 0
jne 0x4661e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4660cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4661e0
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 0x4661a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4661e0
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.004183ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4661b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x466d48
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 0x466d7d
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.004040c4
jmp 0x466d8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404028
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x467e84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467ec5
mov eax, esi
call fcn.0044e1bc
test al, al
je 0x467ec5
mov eax, dword [ebx + 0x84]
call fcn.0044deb8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467ec5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044deb8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46aa90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46ac9b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x4c8b68]
cmp dword [eax], 1
jne 0x46ac6d
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x46acac
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
sete bl
test bl, bl
je 0x46ab21
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x46acdc
push 0x80000006
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
sete bl
test bl, bl
je 0x46ac38
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
cmp dword [ebp - 0x14], 0
je 0x46ac38
lea eax, [ebp - 0x10]
mov ecx, 0x21
xor edx, edx
call fcn.004040c4
mov edi, dword [ebp - 0x14]
dec edi
test edi, edi
jl 0x46ac38
inc edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0x21
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404494
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x10]
call fcn.00404494
mov edx, eax
lea eax, [ebp - 0x12c]
call fcn.00402cfc
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0x2c]
call fcn.00404238
push dword [ebp - 0x2c]
push 0x46acf8
push 0x46ad04
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404354
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404494
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46ac2e
mov eax, dword [ebp - 0x10]
call fcn.00404494
mov edx, eax
lea eax, [ebp - 0x130]
call fcn.004041cc
mov edx, dword [ebp - 0x130]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x1c]
dec edi
jne 0x46ab83
cmp dword [ebp - 4], 0
je 0x46ac47
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
cmp dword [ebp - 8], 0
je 0x46ac56
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x46ac6d
mov eax, dword [esi + 0x48]
mov edx, dword [eax]
call dword [edx + 0x90]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aca2
lea eax, [ebp - 0x130]
call fcn.00403fd4
lea eax, [ebp - 0x2c]
call fcn.00403fd4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403ff8
ret
Function at 0x46ad14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404484
xor eax, eax
push ebp
push 0x46ae02
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push dword [eax + 0x4c]
push 0x46ae1c
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404354
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
push 0
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404494
mov ebx, eax
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46adec
xor eax, eax
push ebp
push 0x46ade5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00402764
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46adec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
call fcn.00402784
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ae09
lea eax, [ebp - 4]
call fcn.00403fd4
ret

Function at 0x46aff4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404484
xor eax, eax
push ebp
push 0x46b07f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push dword [eax + 0x4c]
push 0x46b094
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404354
mov eax, dword [ebp + 8]
mov dword [eax - 8], 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
push ebx
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404494
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b086
lea eax, [ebp - 4]
call fcn.00403fd4
ret
Function at 0x46d1bc
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 0x46d41c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x46d21f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0046ccd4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ca54
cmp al, 1
jne 0x46d21f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0046cf9c
test al, al
je 0x46d3ab
cmp dword [ebp - 8], 0
jge 0x46d23d
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.0046ccd4
mov eax, dword [ebp - 0x210]
call fcn.00404294
cmp ebx, eax
jge 0x46d287
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0046ccd4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c8b54]
and eax, 0xff
bt dword [edx], eax
jae 0x46d287
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x46d29b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046d198
cmp ebx, dword [ebp - 8]
je 0x46d39d
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 0x46d2c7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033fc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6f98]
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 0x46d38a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033fc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6f98]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044deb8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004033fc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6f98]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044deb8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d391
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 0x46d3fe
cmp dword [ebp - 8], 0
jge 0x46d3b6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0046ccd4
mov eax, dword [ebp - 0x218]
call fcn.00404294
cmp eax, dword [ebp - 8]
jg 0x46d3f0
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0046ccd4
mov eax, dword [ebp - 0x21c]
call fcn.00404294
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046d198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d423
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403ff8
ret
Function at 0x47079c
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c88d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4707c2
push 0
mov eax, dword [0x4c88d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x470e24
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 [0x4152bc]
call fcn.0040498c
xor eax, eax
push ebp
push 0x470f68
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c6fa8], 0
jne 0x470e77
mov ecx, dword [0x4c83ec]
mov dl, 1
mov eax, dword [0x4074d0]
call fcn.0040c10c
call fcn.0040398c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402c08
mov eax, ebx
call fcn.0040483c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x470f78
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.00405a24
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040484c
test eax, eax
jle 0x470f0f
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 0x470f08
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040425c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404244
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040837c
test eax, eax
jne 0x470f08
mov ebx, 0x15
jmp 0x470f14
mov ebx, 0x10
jmp 0x470f14
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 [0x4c6fa8]
call fcn.00470d7c
mov eax, dword [ebp - 8]
call fcn.00470d7c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470f6f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403ff8
lea eax, [ebp - 0x10]
mov edx, dword [0x4152bc]
call fcn.00404a5c
ret