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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x590040]
cmp byte [eax + 0xc], 0
je 0x45ed95
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ed8e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x591b34], 0
jne 0x45ec7c
push 0x45ed9c
call sub.KERNEL32.DLL_GetModuleHandleA_1
mov ebx, eax
push 0x45eda4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b34], eax
cmp dword [0x582f88], 0
jne 0x45ed77
push 0x45edb4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x582f88], eax
cmp dword [0x582f88], 0
je 0x45ed77
push 0x45edc0
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b38], eax
push 0x45edd0
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b3c], eax
push 0x45ede4
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b40], eax
push 0x45edfc
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b44], eax
push 0x45ee14
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b48], eax
push 0x45ee28
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b4c], eax
push 0x45ee40
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b50], eax
push 0x45ee58
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b54], eax
push 0x45ee74
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b58], eax
push 0x45ee80
mov eax, dword [0x582f88]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x591b5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ed95
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x463858
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.00404fb4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4638a7
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.00405224
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46bb18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46bb68]
test si, 4
je 0x46bb2c
or bl, 1
test si, 8
je 0x46bb36
or bl, 4
test si, 1
je 0x46bb40
or bl, 8
test si, 2
je 0x46bb4a
or bl, 0x10
test si, 0x10
je 0x46bb54
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bb63
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46bb6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46bba4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bb85
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bb94
or bl, 4
test esi, 0x20000000
je 0x46bb9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4725a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4725b2
add esp, 0xfffffff0
call fcn.004044a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427eb4
mov eax, dword [0x58f720]
mov dword [eax + 4], ebx
mov dword [eax], 0x472944
mov eax, dword [0x58f73c]
mov dword [eax + 4], ebx
mov dword [eax], 0x472950
mov eax, ebx
call fcn.0047295c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c364]
call fcn.004040f8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c364]
call fcn.004040f8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c364]
call fcn.004040f8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c364]
call fcn.004040f8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c364]
call fcn.004040f8
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, 0x46ed74
push eax
push 0
push 0
mov eax, dword [0x58fae0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429a40]
call fcn.0042b278
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429a40]
call fcn.0042b278
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429a40]
call fcn.0042b278
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00472e18
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472ce0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472ce0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x472ce0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4726ef
call fcn.004044f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x472aa0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472c70
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x472c51
mov dl, 1
mov eax, dword [0x41c9c8]
call fcn.004040f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404fb4
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.KERNEL32.DLL_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x472c40
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0045f08c
test al, al
jne 0x472b3d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x472c33
xor edx, edx
push ebp
push 0x472c2c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x472b5d
mov ebx, dword [ebp - 0x10]
jmp 0x472b5f
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x472c80
lea eax, [ebp - 0x258]
call fcn.0040b778
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x472c15
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x472cb8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x472c15
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00405224
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
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 - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x472c15
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00405224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472c33
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x472b1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421724
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 0x472c77
lea eax, [ebp - 0x264]
call fcn.00404fb4
ret
Function at 0x4735b8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x591b80]
cmp byte [eax + 0xa5], 0
jne 0x473629
cmp dword [0x591b98], 0
jne 0x4735ea
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x473574
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x591b98], eax
cmp dword [0x591b94], 0
jne 0x473605
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x591b94], eax
cmp dword [0x591b9c], 0
jne 0x473629
push esp
push 0
push 0
push 0x473518
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x591b9c], eax
pop edx
ret

Function at 0x473cec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x591b80]
cmp dword [eax + 0x30], 0
je 0x473d96
cmp dword [ebx + 0x94], 0
jne 0x473d90
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x473c7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x473d90
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 0x473d56
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x473d90
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.0041ecd0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x473d65
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4748f4
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 0x474929
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.004050a4
jmp 0x474936
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405008
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x475b00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x475b41
mov eax, esi
call fcn.0045a4bc
test al, al
je 0x475b41
mov eax, dword [ebx + 0x84]
call fcn.0045a1b8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x475b41
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045a1b8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47c0ec
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47c255
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040504c
mov eax, dword [ebp - 0x10]
call fcn.0047bd78
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47c13e
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00405514
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047c70c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47c213
xor eax, eax
push ebp
push 0x47c20c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047bee8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0047c284
test al, al
je 0x47c1ea
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004050a4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x47c1ea
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405474
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x47c1e4
mov eax, dword [ebp - 0x14]
call fcn.00405474
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004051ac
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0047c0ec
dec ebx
cmp ebx, 0xffffffff
jne 0x47c19d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c213
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047bee8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00405474
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0047bed4
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c25c
lea eax, [ebp - 0x3c]
call fcn.00404fb4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404fd8
ret

Function at 0x47c284
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.0040379c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x590040]
cmp byte [edx + 0xc], 0
je 0x47c2e8
mov edx, dword [0x59002c]
cmp dword [edx], 2
jne 0x47c2e8
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x47c2ec
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47c3a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0047c284
test al, al
je 0x47c386
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004050a4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x47c386
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405474
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00405474
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004051ac
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47c33f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c3ab
lea eax, [ebp - 0x2c]
call fcn.00404fb4
lea eax, [ebp - 0xc]
call fcn.00404fb4
ret

Function at 0x47c3b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47c46c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0047c284
test al, al
je 0x47c44e
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004050a4
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x47c44e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405474
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00405474
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004051ac
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47c407
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c473
lea eax, [ebp - 0x2c]
call fcn.00404fb4
lea eax, [ebp - 0xc]
call fcn.00404fb4
ret
Function at 0x47c620
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.0047bd8c
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.00405474
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47c67e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x58faf8]
mov dl, 1
mov eax, dword [0x47bc84]
call fcn.0040e914
call fcn.00404908
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47c688
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405474
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47c6e0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x59004c]
mov dl, 1
mov eax, dword [0x47bc84]
call fcn.0040e914
call fcn.00404908
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047bdbc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49cc50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49cdc1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49cd9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.0040519c
lea eax, [ebp - 0x118]
mov edx, 0x49cdd8
call fcn.0040527c
mov eax, dword [ebp - 0x118]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x49cd0e
lea eax, [ebp - 0x111]
call fcn.0040b0d0
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004050a4
jmp 0x49cd15
mov eax, esi
call fcn.00404fb4
cmp bl, 0x61
jae 0x49cd36
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040f730
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00405008
jmp 0x49cd50
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040f6a4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00405008
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x49cde4
call fcn.0040b810
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00405008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cda3
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
Function at 0x4a3cc8
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 0x4a3f28
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a3d2b
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004a3790
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040f228
cmp al, 1
jne 0x4a3d2b
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a3aa8
test al, al
je 0x4a3eb7
cmp dword [ebp - 8], 0
jge 0x4a3d49
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.004a3790
mov eax, dword [ebp - 0x210]
call fcn.00405274
cmp ebx, eax
jge 0x4a3d93
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004a3790
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x590010]
and eax, 0xff
bt dword [edx], eax
jae 0x4a3d93
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a3da7
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a3ca4
cmp ebx, dword [ebp - 8]
je 0x4a3ea9
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 0x4a3dd3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404330
and eax, 0x7f
movzx eax, word [eax*2 + 0x58368c]
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 0x4a3e96
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404330
and eax, 0x7f
movzx eax, word [eax*2 + 0x58368c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045a1b8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404330
and eax, 0x7f
movzx eax, word [eax*2 + 0x58368c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045a1b8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3e9d
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 0x4a3f0a
cmp dword [ebp - 8], 0
jge 0x4a3ec2
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004a3790
mov eax, dword [ebp - 0x218]
call fcn.00405274
cmp eax, dword [ebp - 8]
jg 0x4a3efc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004a3790
mov eax, dword [ebp - 0x21c]
call fcn.00405274
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a3ca4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3f2f
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404fd8
ret