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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x489ca0]
cmp byte [eax + 0xc], 0
je 0x443795
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44378e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48abf0], 0
jne 0x44367c
push 0x44379c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4437a4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abf0], eax
cmp dword [0x488b24], 0
jne 0x443777
push 0x4437b4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x488b24], eax
cmp dword [0x488b24], 0
je 0x443777
push 0x4437c0
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abf4], eax
push 0x4437d0
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abf8], eax
push 0x4437e4
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48abfc], eax
push 0x4437fc
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ac00], eax
push 0x443814
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ac04], eax
push 0x443828
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ac08], eax
push 0x443840
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ac0c], eax
push 0x443858
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ac10], eax
push 0x443874
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ac14], eax
push 0x443880
mov eax, dword [0x488b24]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48ac18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443795
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x447538
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.00404428
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x447587
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.00404690
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f4a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f4f8]
test si, 4
je 0x44f4bc
or bl, 1
test si, 8
je 0x44f4c6
or bl, 4
test si, 1
je 0x44f4d0
or bl, 8
test si, 2
je 0x44f4da
or bl, 0x10
test si, 0x10
je 0x44f4e4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f4f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f4fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f534]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f515
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f524
or bl, 4
test esi, 0x20000000
je 0x44f52f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455b38
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455b4a
add esp, 0xfffffff0
call fcn.00403a20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f06c
mov eax, dword [0x489948]
mov dword [eax + 4], ebx
mov dword [eax], 0x455edc
mov eax, dword [0x489954]
mov dword [eax + 4], ebx
mov dword [eax], 0x455ee8
mov eax, ebx
call fcn.00455ef4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414be4]
call fcn.0040368c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414be4]
call fcn.0040368c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414be4]
call fcn.0040368c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414be4]
call fcn.0040368c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414be4]
call fcn.0040368c
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, 0x4523bc
push eax
push 0
push 0
mov eax, dword [0x489a9c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420ac4]
call fcn.00422238
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420ac4]
call fcn.00422238
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420ac4]
call fcn.00422238
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045635c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456238
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456238
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456238
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455c87
call fcn.00403a78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45601c
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 0x4561c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4561a8
mov dl, 1
mov eax, dword [0x41518c]
call fcn.0040368c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404428
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456197
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.00443988
test al, al
je 0x45618a
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, 0x4561d8
lea eax, [ebp - 0x254]
call fcn.004095d4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45618a
xor eax, eax
push ebp
push 0x456183
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 0x456210
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45616c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404690
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 0x45616c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45618a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45608d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419630
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 0x4561ce
lea eax, [ebp - 0x260]
call fcn.00404428
ret

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

Disassembly:
push ecx
mov eax, dword [0x48ac34]
cmp byte [eax + 0xa5], 0
jne 0x456b6d
cmp dword [0x48ac4c], 0
jne 0x456b2e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456ab8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48ac4c], eax
cmp dword [0x48ac48], 0
jne 0x456b49
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48ac48], eax
cmp dword [0x48ac50], 0
jne 0x456b6d
push esp
push 0
push 0
push 0x456a5c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48ac50], eax
pop edx
ret
Function at 0x456c94
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456cab
add esp, 0xfffffff0
call fcn.00403a20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f06c
mov eax, dword [0x489a8c]
cmp word [eax + 2], 0
jne 0x456cd3
mov eax, dword [0x489a8c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458370
mov eax, dword [0x489b28]
cmp word [eax + 2], 0
jne 0x456ced
mov eax, dword [0x489b28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458568
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414be4]
call fcn.0040368c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414be4]
call fcn.0040368c
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 [0x4215e4]
call fcn.00429540
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456e74
mov eax, dword [0x4899b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429910
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458ad8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4899b4]
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.0040cc88
test eax, eax
je 0x456de2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f00
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ccb0
test eax, eax
je 0x456df6
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.00404690
mov eax, dword [0x48986c]
cmp byte [eax], 0
jne 0x456e2a
mov eax, ebx
call fcn.00456f9c
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.00458cb4
mov eax, ebx
call fcn.004595f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456e6a
call fcn.00403a78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457210
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48ac34]
cmp dword [eax + 0x30], 0
je 0x4572ba
cmp dword [ebx + 0x94], 0
jne 0x4572b4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4571a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4572b4
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 0x45727a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4572b4
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.0041733c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457289
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457d98
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 0x457dcd
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.00404518
jmp 0x457dda
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040447c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458e90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458ed1
mov eax, esi
call fcn.0043f0c0
test al, al
je 0x458ed1
mov eax, dword [ebx + 0x84]
call fcn.0043edbc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458ed1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043edbc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d8a4
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 0x45d97c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48acb4], 0
jne 0x45d960
lea eax, [ebp - 4]
mov edx, 0x45d994
call fcn.004044c0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004048d8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45d960
mov eax, ebx
call fcn.00402758
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45d959
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 0x45d943
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45d9a4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45d943
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x48acb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d960
mov eax, dword [ebp - 0xc]
call fcn.00402778
ret
mov ebx, dword [0x48acb4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d983
lea eax, [ebp - 4]
call fcn.00404428
ret

Function at 0x462390
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x48acd8], 0
jne 0x4623b3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x462304
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48acd8], eax
ret
Function at 0x465688
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 [0x414268]
call fcn.00404e30
xor eax, eax
push ebp
push 0x4657cc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x488e78], 0
jne 0x4656db
mov ecx, dword [0x489880]
mov dl, 1
mov eax, dword [0x4078d0]
call fcn.0040c064
call fcn.00403e88
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f78
mov eax, ebx
call fcn.00404ca0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4657dc
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.004061a8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404cb0
test eax, eax
jle 0x465773
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 0x46576c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004046a8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404690
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408764
test eax, eax
jne 0x46576c
mov ebx, 0x15
jmp 0x465778
mov ebx, 0x10
jmp 0x465778
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 [0x488e78]
call fcn.004655e0
mov eax, dword [ebp - 8]
call fcn.004655e0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004061c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4657d3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040444c
lea eax, [ebp - 0x10]
mov edx, dword [0x414268]
call fcn.00404f00
ret

Function at 0x4700c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4700f6
mov eax, ebx
call fcn.00470b80
cmp dword [ebx + 0x3c], 0
je 0x4700ef
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x470167
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x470159
cmp dword [ebx + 8], 0
je 0x470118
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 0x47012a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470159
cmp dword [ebx + 8], 0
je 0x47010b
cmp eax, 3
je 0x47013d
dec eax
jne 0x47010b
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 0x47010b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x47010b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x470185
cmp dword [ebx + 0x10], 0xcc
je 0x470185
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.00470190
pop ebx
ret
Function at 0x4809a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4809e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4809be
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4809cd
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4809dc
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x480f90
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], eax
push 9
mov eax, dword [0x489b10]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 9
mov eax, dword [0x489b10]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0043edbc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp]
cmp byte [eax + 0x82], 0
jne 0x4810ac
mov eax, dword [0x489b10]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0041f690
dec eax
test eax, eax
jl 0x4810a2
inc eax
mov dword [esp + 4], eax
xor ebp, ebp
mov eax, dword [0x489b10]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, ebp
call fcn.0041f664
mov edx, dword [0x434520]
call fcn.00403848
test al, al
je 0x481097
mov eax, dword [0x489b10]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, ebp
call fcn.0041f664
mov edx, dword [0x434520]
call fcn.0040386c
mov ebx, eax
cmp byte [ebx + 0x57], 0
je 0x481097
push 0xa
mov eax, ebx
call fcn.0043edbc
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0041f690
mov edi, eax
dec edi
test edi, edi
jl 0x481097
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041f664
mov edx, dword [0x434520]
call fcn.00403848
test al, al
je 0x481093
push 0xa
mov edx, esi
mov eax, ebx
call fcn.0041f664
mov edx, dword [0x434520]
call fcn.0040386c
call fcn.0043edbc
push eax
call sub.user32.dll_ShowWindow
inc esi
dec edi
jne 0x48105a
inc ebp
dec dword [esp + 4]
jne 0x480ff2
mov eax, dword [esp]
mov byte [eax + 0x82], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4810b4
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x489b10]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x489b10]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0043edbc
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x48126c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004048c8
xor eax, eax
push ebp
push 0x481373
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4897dc], 0
jne 0x481341
lea ecx, [ebp - 8]
mov edx, pe_nt_image_headers32
mov al, 0x20
call fcn.00404ac8
mov eax, dword [ebp - 8]
call fcn.004048d8
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, 0x481388
mov eax, ebx
call fcn.00408fa0
push ebx
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4897dc], eax
cmp dword [0x4897dc], 0
jne 0x4812fe
mov ecx, 0x48139c
mov dl, 1
mov eax, dword [0x4078d0]
call fcn.0040bfa8
call fcn.00403e88
push 0x4813d4
mov eax, dword [0x4897dc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
mov dword [0x48ad68], ebx
test ebx, ebx
jne 0x481330
mov ecx, 0x4813e8
mov dl, 1
mov eax, dword [0x4078d0]
call fcn.0040bfa8
call fcn.00403e88
push 0x4897e0
push 0x1c
push 0
push 0
call dword [0x48ad68]
mov eax, dword [ebp + 8]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.004048d8
push eax
push esi
call dword [0x48ad68]
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48137a
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040444c
ret

Function at 0x485cb4
Capabilities:
Create process on windows

Disassembly:
push 0x485cf0
push 0x485cfc
call sub.user32.dll_FindWindowA
test eax, eax
jne 0x485ced
call sub.kernel32.dll_GetVersion
cmp eax, 0x80000000
jae 0x485ce1
push 9
push 0x485d14
call sub.kernel32.dll_WinExec
jmp 0x485ced
push 9
push 0x485d3c
call sub.kernel32.dll_WinExec
ret
Function at 0x48706c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff18
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xe4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x487238
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
mov byte [ebp - 1], 0
mov eax, edi
call fcn.00404428
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x487202
mov eax, esi
sub eax, 1
jb 0x4870bf
je 0x4870d7
dec eax
je 0x4870ef
jmp 0x487105
lea eax, [ebp - 8]
push eax
push 0x48724c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
mov dword [ebp - 0xc], eax
jmp 0x487105
lea eax, [ebp - 8]
push eax
push 0x487280
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
mov dword [ebp - 0xc], eax
jmp 0x487105
lea eax, [ebp - 8]
push eax
push 0x4872b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x487201
xor ebx, ebx
mov byte [ebp - 0x7a], 0
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 0x14], 0x64
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xdf]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x7a]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x4871df
lea eax, [ebp - 0x7a]
call fcn.00408ec4
test eax, eax
je 0x48717a
mov edx, 0x4872e8
lea eax, [ebp - 0x7a]
call fcn.00408fe0
test eax, eax
je 0x48717d
mov edx, 0x4872f0
lea eax, [ebp - 0x7a]
call fcn.00408fe0
test eax, eax
je 0x48717d
inc ebx
jmp 0x4871e0
lea edx, [ebp - 0xe4]
lea eax, [ebp - 0xdf]
call fcn.004090d8
mov edx, dword [ebp - 0xe4]
mov eax, edi
call fcn.0040447c
mov eax, dword [edi]
call fcn.004046e0
mov edx, dword [edi]
cmp byte [edx + eax - 1], 0x5c
je 0x4871b7
mov eax, edi
mov edx, 0x487304
call fcn.004046e8
mov edx, dword [edi]
lea eax, [ebp - 0xe8]
mov ecx, 0x487310
call fcn.0040472c
mov eax, dword [ebp - 0xe8]
call fcn.00408cf4
test al, al
je 0x4871dc
mov byte [ebp - 0x15], 1
inc ebx
jmp 0x4871e0
inc ebx
cmp ebx, 2
jl 0x487115
cmp byte [ebp - 0x15], 1
jne 0x4871fe
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov byte [ebp - 1], 1
jmp 0x48721a
inc esi
jmp 0x487202
inc esi
cmp esi, 3
jge 0x487211
cmp byte [ebp - 0x15], 0
je 0x4870b1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48723f
lea eax, [ebp - 0xe8]
mov edx, 2
call fcn.0040444c
ret