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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c7638]
cmp byte [eax + 0xc], 0
je 0x44e9e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e9da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [fcn.004c8b6c], 0
jne 0x44e8c8
push 0x44e9e8
call sub.kernel32.dll_GetModuleHandleA
mov ebx, eax
push 0x44e9f0
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [fcn.004c8b6c], eax
cmp dword [0x4c5c98], 0
jne 0x44e9c3
push 0x44ea00
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4c5c98], eax
cmp dword [0x4c5c98], 0
je 0x44e9c3
push 0x44ea0c
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b70], eax
push 0x44ea1c
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b74], eax
push 0x44ea30
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b78], eax
push 0x44ea48
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b7c], eax
push 0x44ea60
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b80], eax
push 0x44ea74
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b84], eax
push 0x44ea8c
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b88], eax
push 0x44eaa4
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b8c], eax
push 0x44eac0
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [fcn.004c8b90], eax
push 0x44eacc
mov eax, dword [0x4c5c98]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x4c8b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e9e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x45a0c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a114]
test si, 4
je 0x45a0d8
or bl, 1
test si, 8
je 0x45a0e2
or bl, 4
test si, 1
je 0x45a0ec
or bl, 8
test si, 2
je 0x45a0f6
or bl, 0x10
test si, 0x10
je 0x45a100
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a10f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45a118
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45a150]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a131
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45a140
or bl, 4
test esi, 0x20000000
je 0x45a14b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4607f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46080a
add esp, 0xfffffff0
call fcn.00403d24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ed54
mov eax, dword [0x4c70cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x460b9c
mov eax, dword [0x4c70dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x460ba8
mov eax, ebx
call fcn.00460bb4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416094]
call fcn.004039d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416094]
call fcn.004039d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416094]
call fcn.004039d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416094]
call fcn.004039d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416094]
call fcn.004039d0
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, 0x45cfd0
push eax
push 0
push 0
mov eax, dword [0x4c72fc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420818]
call fcn.0042202c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420818]
call fcn.0042202c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420818]
call fcn.0042202c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460fd4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460eb0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460eb0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460eb0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460947
call fcn.00403d7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x460c94
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 0x460e3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460e20
mov dl, 1
mov eax, dword [0x41663c]
call fcn.004039d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460e0f
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.0044ebd4
test al, al
je 0x460e02
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, 0x460e50
lea eax, [ebp - 0x254]
call fcn.00409b04
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x460e02
xor eax, eax
push ebp
push 0x460dfb
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 0x460e88
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x460de4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a44
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 0x460de4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460e02
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x460d05
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041aa3c
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 0x460e46
lea eax, [ebp - 0x260]
call fcn.004047d4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c8bb8]
cmp byte [eax + 0xa5], 0
jne 0x4617e5
cmp dword [0x4c8bd0], 0
jne 0x4617a6
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x461730
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c8bd0], eax
cmp dword [0x4c8bcc], 0
jne 0x4617c1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c8bcc], eax
cmp dword [0x4c8bd4], 0
jne 0x4617e5
push esp
push 0
push 0
push 0x4616d4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c8bd4], eax
pop edx
ret
Function at 0x4618dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4618f3
add esp, 0xfffffff0
call fcn.00403d24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ed54
mov eax, dword [0x4c72dc]
cmp word [eax + 2], 0
jne 0x46191b
mov eax, dword [0x4c72dc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462fb4
mov eax, dword [0x4c7408]
cmp word [eax + 2], 0
jne 0x461935
mov eax, dword [0x4c7408]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004631ac
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416094]
call fcn.004039d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416094]
call fcn.004039d0
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 [0x421398]
call fcn.004292cc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x461abc
mov eax, dword [0x4c7178]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042969c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46375c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c7178]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d484
test eax, eax
je 0x461a2a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4ac
test eax, eax
je 0x461a3e
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.00404a44
mov eax, dword [0x4c6f54]
cmp byte [eax], 0
jne 0x461a72
mov eax, ebx
call fcn.00461be4
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.00463938
mov eax, ebx
call fcn.004642fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x461ab2
call fcn.00403d7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461e64
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c8bb8]
cmp dword [eax + 0x30], 0
je 0x461f0e
cmp dword [ebx + 0x94], 0
jne 0x461f08
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461df4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461f08
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 0x461ece
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461f08
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.0041863c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461edd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462a70
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 0x462aa5
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.004048c4
jmp 0x462ab2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404828
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463b14
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463b55
mov eax, esi
call fcn.0044a1e0
test al, al
je 0x463b55
mov eax, dword [ebx + 0x84]
call fcn.00449edc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463b55
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449edc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x475434
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47560a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x4755f1
mov eax, dword [edi + 0x30]
call fcn.00404a94
test eax, eax
jne 0x47548a
mov eax, dword [edi + 0x34]
call fcn.00404a94
test eax, eax
jne 0x47548a
mov eax, edi
call fcn.004756a8
jmp 0x4755f1
cmp dword [edi + 0xa0], 0
jne 0x4754c1
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.00409540
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c8fd8]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x4754f8
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.00409540
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c8fd8]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004756e8
mov ebx, eax
test bl, bl
jne 0x4755a6
mov eax, dword [edi + 0x30]
call fcn.00404a94
test eax, eax
jne 0x475530
mov eax, dword [edi + 0xc0]
call fcn.00404a94
test eax, eax
je 0x4755a6
mov eax, dword [edi + 0xc0]
call fcn.00404a94
test eax, eax
je 0x475552
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.00409540
jmp 0x47557e
push dword [edi + 0x30]
push 0x475624
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404b54
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409540
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x4755a6
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.004756e8
mov ebx, eax
test bl, bl
jne 0x4755b3
mov eax, edi
call fcn.004756a8
jmp 0x4755f1
mov eax, dword [edi + 0x58]
test eax, eax
je 0x4755c2
mov dword [edi + 0xa8], eax
jmp 0x4755cc
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00475760
test al, al
je 0x4755f1
mov eax, edi
mov si, 0xffee
call fcn.00403bfc
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00475930
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475611
lea eax, [ebp - 0x108]
call fcn.004047d4
ret
Function at 0x47715c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477296
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00419314
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x4771d8
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4771d8
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004088a8
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x4c7000]
mov ebx, dword [ebx]
mov eax, 0x4772ac
call ebx
dec eax
jne 0x4771d8
mov ebx, 1
jmp 0x4771da
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x47727b
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00472fd0
test al, al
jne 0x47726f
mov eax, dword [ebp - 4]
call fcn.00477150
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404828
xor edx, edx
push ebp
push 0x47725d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x477253
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00477570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47726f
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4771f2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47729d
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004047f8
ret
Function at 0x47dcb4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47dce2
mov eax, ebx
call fcn.0047e768
cmp dword [ebx + 0x40], 0
je 0x47dcdb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47dd53
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47dd45
cmp dword [ebx + 8], 0
je 0x47dd04
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 0x47dd16
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47dd45
cmp dword [ebx + 8], 0
je 0x47dcf7
cmp eax, 3
je 0x47dd29
dec eax
jne 0x47dcf7
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 0x47dcf7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47dcf7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47dd71
cmp dword [ebx + 0x14], 0xcc
je 0x47dd71
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.0047dd7c
pop ebx
ret
Function at 0x48ff98
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 0x4901f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x48fffb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0048fab0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cffc
cmp al, 1
jne 0x48fffb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0048fd78
test al, al
je 0x490187
cmp dword [ebp - 8], 0
jge 0x490019
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.0048fab0
mov eax, dword [ebp - 0x210]
call fcn.00404a94
cmp ebx, eax
jge 0x490063
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0048fab0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c7614]
and eax, 0xff
bt dword [edx], eax
jae 0x490063
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x490077
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048ff74
cmp ebx, dword [ebp - 8]
je 0x490179
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 0x4900a3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bfc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6e7c]
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 0x490166
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bfc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6e7c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00449edc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403bfc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c6e7c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00449edc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49016d
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 0x4901da
cmp dword [ebp - 8], 0
jge 0x490192
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0048fab0
mov eax, dword [ebp - 0x218]
call fcn.00404a94
cmp eax, dword [ebp - 8]
jg 0x4901cc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0048fab0
mov eax, dword [ebp - 0x21c]
call fcn.00404a94
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048ff74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4901ff
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004047f8
ret
Function at 0x4b4d94
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 [0x41561c]
call fcn.00405188
xor eax, eax
push ebp
push 0x4b4ed8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c6e80], 0
jne 0x4b4de7
mov ecx, dword [0x4c6f7c]
mov dl, 1
mov eax, dword [0x407bdc]
call fcn.0040c6bc
call fcn.0040418c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030dc
mov eax, ebx
call fcn.00405038
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4b4ee8
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.00406220
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405048
test eax, eax
jle 0x4b4e7f
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 0x4b4e78
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404a5c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404a44
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a88
test eax, eax
jne 0x4b4e78
mov ebx, 0x15
jmp 0x4b4e84
mov ebx, 0x10
jmp 0x4b4e84
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 [0x4c6e80]
call fcn.004b4cec
mov eax, dword [ebp - 8]
call fcn.004b4cec
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4edf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004047f8
lea eax, [ebp - 0x10]
mov edx, dword [0x41561c]
call fcn.00405258
ret

Function at 0x4c1344
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff80
mov ebx, eax
push 0x80
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
cmp eax, 0x80
jg 0x4c1364
test eax, eax
jne 0x4c136d
mov eax, ebx
call fcn.004047d4
jmp 0x4c1376
mov edx, ebx
mov eax, esp
call fcn.00409694
add esp, 0x80
pop ebx
ret

Function at 0x4c1380
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x4c139c
mov al, 1
pop edx
ret
xor eax, eax
pop edx
ret