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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4cf6e0]
cmp byte [eax + 0xc], 0
je 0x445ecd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x445ec6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d0b94], 0
jne 0x445db4
push 0x445ed4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x445edc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0b94], eax
cmp dword [0x4ccc9c], 0
jne 0x445eaf
push 0x445eec
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ccc9c], eax
cmp dword [0x4ccc9c], 0
je 0x445eaf
push 0x445ef8
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0b98], eax
push 0x445f08
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0b9c], eax
push 0x445f1c
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba0], eax
push 0x445f34
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba4], eax
push 0x445f4c
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0ba8], eax
push 0x445f60
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bac], eax
push 0x445f78
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb0], eax
push 0x445f90
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb4], eax
push 0x445fac
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bb8], eax
push 0x445fb8
mov eax, dword [0x4ccc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d0bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445ecd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x449f10
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.004041c8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x449f5f
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.00404438
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4518d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451920]
test si, 4
je 0x4518e4
or bl, 1
test si, 8
je 0x4518ee
or bl, 4
test si, 1
je 0x4518f8
or bl, 8
test si, 2
je 0x451902
or bl, 0x10
test si, 0x10
je 0x45190c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45191b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x451924
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45195c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45193d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45194c
or bl, 4
test esi, 0x20000000
je 0x451957
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458004
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458016
add esp, 0xfffffff0
call fcn.004036bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f2a8
mov eax, dword [0x4cf1d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4583a8
mov eax, dword [0x4cf1dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4583b4
mov eax, ebx
call fcn.004583c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4167f8]
call fcn.00403368
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4167f8]
call fcn.00403368
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4167f8]
call fcn.00403368
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4167f8]
call fcn.00403368
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4167f8]
call fcn.00403368
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, 0x4547dc
push eax
push 0
push 0
mov eax, dword [0x4cf3e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420d14]
call fcn.00422528
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420d14]
call fcn.00422528
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420d14]
call fcn.00422528
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004587e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4586bc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4586bc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4586bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458153
call fcn.00403714
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4584a0
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 0x45864b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45862c
mov dl, 1
mov eax, dword [0x416dc0]
call fcn.00403368
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45861b
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.004460c0
test al, al
je 0x45860e
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, 0x45865c
lea eax, [ebp - 0x254]
call fcn.0040983c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45860e
xor eax, eax
push ebp
push 0x458607
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 0x458694
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4585f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404438
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 0x4585f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45860e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458511
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b2a4
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 0x458652
lea eax, [ebp - 0x260]
call fcn.004041c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d0be0]
cmp byte [eax + 0xa5], 0
jne 0x458ff1
cmp dword [0x4d0bf8], 0
jne 0x458fb2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458f3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d0bf8], eax
cmp dword [0x4d0bf4], 0
jne 0x458fcd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d0bf4], eax
cmp dword [0x4d0bfc], 0
jne 0x458ff1
push esp
push 0
push 0
push 0x458ee0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d0bfc], eax
pop edx
ret
Function at 0x4590e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4590ff
add esp, 0xfffffff0
call fcn.004036bc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f2a8
mov eax, dword [0x4cf3bc]
cmp word [eax + 2], 0
jne 0x459127
mov eax, dword [0x4cf3bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a7d8
mov eax, dword [0x4cf4e0]
cmp word [eax + 2], 0
jne 0x459141
mov eax, dword [0x4cf4e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a9d0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4167f8]
call fcn.00403368
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4167f8]
call fcn.00403368
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 [0x421894]
call fcn.00429698
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4592c8
mov eax, dword [0x4cf274]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429a68
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45af80
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cf274]
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.0040d110
test eax, eax
je 0x459236
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409230
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d138
test eax, eax
je 0x45924a
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.00404438
mov eax, dword [0x4cf078]
cmp byte [eax], 0
jne 0x45927e
mov eax, ebx
call fcn.004593f0
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.0045b15c
mov eax, ebx
call fcn.0045bb20
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4592be
call fcn.00403714
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459670
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d0be0]
cmp dword [eax + 0x30], 0
je 0x45971a
cmp dword [ebx + 0x94], 0
jne 0x459714
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459600
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459714
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 0x4596da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459714
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.00418de4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4596e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a27c
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 0x45a2b1
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.004042b8
jmp 0x45a2be
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040421c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b338
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b379
mov eax, esi
call fcn.0044173c
test al, al
je 0x45b379
mov eax, dword [ebx + 0x84]
call fcn.00441438
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b379
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441438
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x460dec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, eax
mov edi, dword [ebx + 0x24]
mov esi, dword [ebx + 0x34]
sub esi, dword [ebx + 0x6c]
sub esi, dword [ebx + 0x64]
test esi, esi
jne 0x460e16
cmp dword [ebx + 0x64], 0
jne 0x460e16
cmp dword [ebx + 0x6c], 0
jne 0x460e16
mov esi, edi
jmp 0x460ea4
cmp esi, 0xffffffff
jne 0x460e21
dec esi
jmp 0x460ea4
mov eax, dword [ebx + 0x64]
lea edx, [edi + edi]
sub edx, 0x106
cmp eax, edx
jb 0x460ea4
mov eax, dword [ebx + 0x30]
lea edx, [eax + edi]
mov ebp, edi
mov ecx, ebp
call fcn.00460454
sub dword [ebx + 0x68], edi
sub dword [ebx + 0x64], edi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x460e6c
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x460e71
mov word [edx], 0
dec eax
test eax, eax
jne 0x460e52
mov eax, edi
mov edx, dword [ebx + 0x38]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp edi, dword [esp]
ja 0x460e98
mov cx, word [esp]
sub cx, di
mov word [edx], cx
jmp 0x460e9d
mov word [edx], 0
dec eax
test eax, eax
jne 0x460e7e
add esi, edi
mov eax, dword [ebx]
cmp dword [eax + 4], 0
je 0x460f02
mov edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x30]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00460b74
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x460eed
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x30]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x460f02
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x460df6
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46b5ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x46b5c1
add esp, 0xfffffff0
call fcn.004036bc
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404678
xor eax, eax
push ebp
push 0x46b684
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00467728
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00417938
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00417938
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00417938
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00417938
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00417960
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
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 esi
mov dword [esi + 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b68b
lea eax, [ebp - 4]
call fcn.004041c8
ret
Function at 0x46f9b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46fa8d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x46faa4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.0040421c
push 0xffffffffffffffff
mov ecx, 0x46fab4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x46fad0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045c474
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46faec
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045c360
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
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 esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x46fb00
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045c360
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
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 esi
mov ecx, 0x46fb18
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0045c474
mov byte [ebx + 0x34], al
mov ecx, 0x46fb2c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00467404
mov byte [ebx + 0x35], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fa94
lea eax, [ebp - 4]
call fcn.004041c8
ret

Function at 0x479834
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x47986c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x47984a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x479859
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x479868
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x47a174
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x436d30]
call fcn.00403524
test al, al
je 0x47a1b6
mov eax, dword [0x4cf4b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x47a1b6
mov edx, dword [0x4cf4b0]
xor edx, edx
call fcn.00453cbc
push 0
mov eax, dword [0x4cf4b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x495ea8
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 [0x415d88]
call fcn.00404d74
xor eax, eax
push ebp
push 0x495fec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cdd68], 0
jne 0x495efb
mov ecx, dword [0x4cf09c]
mov dl, 1
mov eax, dword [0x4077dc]
call fcn.0040c340
call fcn.00403be8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d84
mov eax, ebx
call fcn.00404a38
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x495ffc
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.00405d74
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a48
test eax, eax
jle 0x495f93
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 0x495f8c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404450
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404438
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408694
test eax, eax
jne 0x495f8c
mov ebx, 0x15
jmp 0x495f98
mov ebx, 0x10
jmp 0x495f98
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 [0x4cdd68]
call fcn.00495e00
mov eax, dword [ebp - 8]
call fcn.00495e00
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495ff3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041ec
lea eax, [ebp - 0x10]
mov edx, dword [0x415d88]
call fcn.00404e44
ret

Function at 0x496e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x496ee9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4cdd98]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x496ed3
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00496e70
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x496c78]
call fcn.00496f10
mov dword [0x4cddfc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496ef0
lea eax, [ebp - 8]
call fcn.00405d74
ret
Function at 0x4a73a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a73d2
mov eax, ebx
call fcn.004a7e58
cmp dword [ebx + 0x40], 0
je 0x4a73cb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a7443
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a7435
cmp dword [ebx + 8], 0
je 0x4a73f4
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 0x4a7406
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a7435
cmp dword [ebx + 8], 0
je 0x4a73e7
cmp eax, 3
je 0x4a7419
dec eax
jne 0x4a73e7
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 0x4a73e7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a73e7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a7461
cmp dword [ebx + 0x14], 0xcc
je 0x4a7461
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.004a746c
pop ebx
ret

Function at 0x4c8bdc
Capabilities:
Read file via mapping

Disassembly:
push 0x4c8c7c
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x4d217c], eax
cmp dword [0x4d217c], 0
jne 0x4c8c4c
push 0x4c8c7c
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x4d217c], eax
push 0
push 0
push 0
push 6
mov eax, dword [0x4d217c]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4d2180], eax
cmp dword [0x4d2180], 0
jne 0x4c8c41
mov eax, dword [0x4d217c]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov eax, dword [0x4d2180]
xor edx, edx
mov dword [eax], edx
jmp 0x4c8c78
push 0
push 0
push 0
push 6
mov eax, dword [0x4d217c]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4d2180], eax
cmp dword [0x4d2180], 0
jne 0x4c8c78
mov eax, dword [0x4d217c]
push eax
call sub.kernel32.dll_CloseHandle
ret