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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4fd2d4]
cmp byte [eax + 0xc], 0
je 0x46330d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463306
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4feb7c], 0
jne 0x4631f4
push 0x463314
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46331c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb7c], eax
cmp dword [0x4faf84], 0
jne 0x4632ef
push 0x46332c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4faf84], eax
cmp dword [0x4faf84], 0
je 0x4632ef
push 0x463338
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb80], eax
push 0x463348
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb84], eax
push 0x46335c
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb88], eax
push 0x463374
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb8c], eax
push 0x46338c
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb90], eax
push 0x4633a0
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb94], eax
push 0x4633b8
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb98], eax
push 0x4633d0
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feb9c], eax
push 0x4633ec
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feba0], eax
push 0x4633f8
mov eax, dword [0x4faf84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4feba4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46330d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x46ef90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46efe0]
test si, 4
je 0x46efa4
or bl, 1
test si, 8
je 0x46efae
or bl, 4
test si, 1
je 0x46efb8
or bl, 8
test si, 2
je 0x46efc2
or bl, 0x10
test si, 0x10
je 0x46efcc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46efdb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46efe4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46f01c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46effd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f00c
or bl, 4
test esi, 0x20000000
je 0x46f017
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46f06c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046f020
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x4756e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4756f6
add esp, 0xfffffff0
call fcn.004036a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425a84
mov eax, dword [0x4fcc8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x475a88
mov eax, dword [0x4fcca0]
mov dword [eax + 4], ebx
mov dword [eax], 0x475a94
mov eax, ebx
call fcn.00475aa0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419c84]
call fcn.00403310
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419c84]
call fcn.00403310
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419c84]
call fcn.00403310
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419c84]
call fcn.00403310
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419c84]
call fcn.00403310
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, 0x471ebc
push eax
push 0
push 0
mov eax, dword [0x4fcf10]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427520]
call fcn.00428d34
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427520]
call fcn.00428d34
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427520]
call fcn.00428d34
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00475f50
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475de4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475de4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475de4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x475833
call fcn.004036fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x475bc8
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 0x475d73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x475d54
mov dl, 1
mov eax, dword [0x41a494]
call fcn.00403310
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404190
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x475d43
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.00463500
test al, al
je 0x475d36
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, 0x475d84
lea eax, [ebp - 0x254]
call fcn.00409b08
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x475d36
xor eax, eax
push ebp
push 0x475d2f
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 0x475dbc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x475d18
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404400
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 0x475d18
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475d36
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x475c39
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f4cc
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 0x475d7a
lea eax, [ebp - 0x260]
call fcn.00404190
ret

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

Disassembly:
push ecx
mov eax, dword [0x4febc8]
cmp byte [eax + 0xa5], 0
jne 0x476761
cmp dword [0x4febe0], 0
jne 0x476722
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4766ac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4febe0], eax
cmp dword [0x4febdc], 0
jne 0x47673d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4febdc], eax
cmp dword [0x4febe4], 0
jne 0x476761
push esp
push 0
push 0
push 0x476650
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4febe4], eax
pop edx
ret
Function at 0x476858
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47686f
add esp, 0xfffffff0
call fcn.004036a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425a84
mov eax, dword [0x4fcef0]
cmp word [eax + 2], 0
jne 0x476897
mov eax, dword [0x4fcef0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00477f48
mov eax, dword [0x4fd040]
cmp word [eax + 2], 0
jne 0x4768b1
mov eax, dword [0x4fd040]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00478140
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419c84]
call fcn.00403310
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419c84]
call fcn.00403310
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 [0x4280a0]
call fcn.0043042c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x476a38
mov eax, dword [0x4fcd40]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004307fc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4786e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4fcd40]
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.0040d730
test eax, eax
je 0x4769a6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d758
test eax, eax
je 0x4769ba
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.00404400
mov eax, dword [0x4fcae8]
cmp byte [eax], 0
jne 0x4769ee
mov eax, ebx
call fcn.00476b60
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.004788bc
mov eax, ebx
call fcn.00479280
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x476a2e
call fcn.004036fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476de0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4febc8]
cmp dword [eax + 0x30], 0
je 0x476e8a
cmp dword [ebx + 0x94], 0
jne 0x476e84
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x476d70
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x476e84
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 0x476e4a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x476e84
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.0041c774
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x476e59
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4779ec
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 0x477a21
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.00404280
jmp 0x477a2e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004041e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x478a98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x478ad9
mov eax, esi
call fcn.0045eac8
test al, al
je 0x478ad9
mov eax, dword [ebx + 0x84]
call fcn.0045e7c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x478ad9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045e7c4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x48aa50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48aa7e
mov eax, ebx
call fcn.0048b504
cmp dword [ebx + 0x40], 0
je 0x48aa77
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48aaef
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48aae1
cmp dword [ebx + 8], 0
je 0x48aaa0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48aab2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48aae1
cmp dword [ebx + 8], 0
je 0x48aa93
cmp eax, 3
je 0x48aac5
dec eax
jne 0x48aa93
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 0x48aa93
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48aa93
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48ab0d
cmp dword [ebx + 0x14], 0xcc
je 0x48ab0d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048ab18
pop ebx
ret
Function at 0x49be1c
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 dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404190
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404650
push eax
push edi
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x49bec3
xor eax, eax
push ebp
push 0x49bebc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004047dc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404650
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404650
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49be9e
mov edx, dword [ebp - 8]
dec edx
mov eax, ebx
call fcn.004047dc
jmp 0x49bea5
mov eax, ebx
call fcn.00404190
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bec3
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x49bf04
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 [0x419190]
call fcn.00404c88
xor eax, eax
push ebp
push 0x49c048
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4fc0ec], 0
jne 0x49bf57
mov ecx, dword [0x4fcb10]
mov dl, 1
mov eax, dword [0x407a40]
call fcn.0040c960
call fcn.00403b0c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ccc
mov eax, ebx
call fcn.00404a00
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49c058
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.00405e34
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a10
test eax, eax
jle 0x49bfef
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 0x49bfe8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404418
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404400
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408910
test eax, eax
jne 0x49bfe8
mov ebx, 0x15
jmp 0x49bff4
mov ebx, 0x10
jmp 0x49bff4
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 [0x4fc0ec]
call fcn.0049bdac
mov eax, dword [ebp - 8]
call fcn.0049bdac
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405e4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c04f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041b4
lea eax, [ebp - 0x10]
mov edx, dword [0x419190]
call fcn.00404d58
ret
Function at 0x49dd84
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x49ddb0
cmp dword [esp + 4], 5
jne 0x49ddac
cmp dword [esp + 8], 1
jae 0x49ddb0
xor eax, eax
jmp 0x49ddb2
mov al, 1
mov byte [0x4fee78], al
add esp, 0x94
ret
Function at 0x4b4708
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046f020
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x4c6c78
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 1
jne 0x4c6c99
cmp dword [esp + 8], 0
jne 0x4c6cab
cmp dword [esp + 0x10], 2
jne 0x4c6ca7
cmp dword [esp + 4], 5
je 0x4c6cab
xor eax, eax
jmp 0x4c6cad
mov al, 1
mov byte [0x4fc82c], al
add esp, 0x94
ret

Function at 0x4d4c08
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
cmp dword [0x4fc8e8], 0xffffffff
jne 0x4d4c3e
push 0x4010
push 0x160
lea eax, [esp + 8]
push eax
push 0x80
push 0x4d4c4c
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
mov dword [0x4fc8e8], eax
mov eax, dword [0x4fc8e8]
add esp, 0x160
ret

Function at 0x4d4c60
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
cmp dword [0x4fc8ec], 0xffffffff
jne 0x4d4c93
push 0x4010
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
push 0x4d4ca0
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
mov dword [0x4fc8ec], eax
mov eax, dword [0x4fc8ec]
add esp, 0x160
ret

Function at 0x4d4cb4
Capabilities:
Get file system object information

Disassembly:
add esp, 0xfffffea0
cmp dword [0x4fc8f0], 0xffffffff
jne 0x4d4ce7
push 0x4012
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
push 0x4d4cf4
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
mov dword [0x4fc8f0], eax
mov eax, dword [0x4fc8f0]
add esp, 0x160
ret

Function at 0x4d6918
Capabilities:
Create thread

Disassembly:
push ebx
push ecx
mov ebx, eax
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 8], eax
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x20], eax
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x24], eax
push esp
push 0
push ebx
push 0x4d541c
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [ebx + 0xc], eax
pop edx
pop ebx
ret
Function at 0x4d7ed4
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0x4fc8fc
push 0
call sub.ole32.dll_OleInitialize
push 0x4d7f54
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
push 0x4d7f60
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ff32c], eax
push 2
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ff320], eax
push 4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4ff324], eax
push 0x4d7f74
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc8f4], eax
push 0x4d7f8c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fc8f8], eax
push 0
push 0xffffffffffffffff
push 0
call fcn.0040686c
mov dword [0x4ff334], eax
pop ebx
ret

Function at 0x4d8f60
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
test dl, dl
je 0x4d8f77
add esp, 0xfffffff0
call fcn.004036a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00446644
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4d3fdc]
call fcn.004d6638
mov dword [ebx + 0x3ac], eax
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4d8158]
call fcn.004d5808
mov esi, eax
mov dword [ebx + 0x3bc], esi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], 0x4da2b0
mov dl, 1
mov eax, dword [0x4d40f4]
call fcn.004d7e20
mov dword [ebx + 0x390], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4d8240]
call fcn.004d8c9c
mov dword [ebx + 0x3b8], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4d80b4]
call fcn.004d5cf8
mov dword [ebx + 0x3a8], eax
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x4d90a0
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebx + 0x3a4], eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x4d90a0
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebx + 0x3a0], eax
mov dl, 1
mov eax, ebx
call fcn.00447460
mov byte [ebx + 0x3b5], 0
mov dword [ebx + 0x39c], 0xffffffff
mov dword [ebx + 0x3b0], 0xffffffff
xor eax, eax
mov dword [ebx + 0x3d0], eax
xor edx, edx
mov eax, ebx
call fcn.0044786c
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov byte [ebx + 0x1f8], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4d9097
call fcn.004036fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret