joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44db54
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e0650]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x44dbec
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44dbcc
xor eax, eax
push ebp
push 0x44dbc5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x44dc08
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44dbcc
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4e0650]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e0650], ax
mov esp, ebp
pop ebp
ret

Function at 0x44e6b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x516c00], 0
je 0x44e715
cmp word [0x516dd4], 0xd7b2
jne 0x44e6dd
cmp dword [0x516ddc], 0
jbe 0x44e6dd
mov eax, 0x516dd0
call dword [0x516dec]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x44e73c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4e0660], 0
jne 0x44e731
push 0
push 0x4e06b8
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x45019c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4503cc
push connect
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x45021f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4503cc
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x45021f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4503e8
push connect
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4502a8
xor eax, eax
push ebp
push 0x4502a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0044ffe4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x450286
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x450408
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x450286
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4502a8
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4503c2
cmp byte [ebp - 0xd], 0
jne 0x4502ef
cmp byte [ebp - 0x12], 0
je 0x4503c2
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x450308
dec ebx
cmp byte [ebx], 0x2e
je 0x450317
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x450307
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4503c2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x450354
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4503c2
cmp byte [ebp - 0xd], 0
je 0x4503c2
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4503c2
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450b40
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x517174], 1
jae 0x450bc6
mov byte [0x4e064c], 2
mov dword [0x516bc4], 0x4c2926
mov dword [0x516bc8], 0x4c2938
mov byte [0x516c02], 2
mov dword [0x516bb0], 0x44f7cc
call fcn.0044db24
test al, al
je 0x450b83
call fcn.0044db54
call fcn.0044dc18
mov word [0x516c08], 0xd7b0
mov word [0x516dd4], 0xd7b0
mov word [0x516fa0], 0xd7b0
call fcn.0044f6ac
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x516bf4], eax
call fcn.0044ba9c
mov dword [0x516bf0], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x516be8], eax
ret

Function at 0x4515dc
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x451528
call sub.USER32.DLL_EnumWindows
ret

Function at 0x451700
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45177d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0045114c
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x451725
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00450da4
cmp dword [ebp - 4], 0
je 0x451767
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0044ece0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451784
lea eax, [ebp - 4]
call fcn.0044e830
ret

Function at 0x463cd0
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.0044e830
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x463d1f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0044ea98
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46bd94
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x46bd9a
ret

Function at 0x46e364
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x46e3b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x46e39c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x46e38c
jmp 0x46e3b5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x46e39d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476ebc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x476f0c]
test si, 4
je 0x476ed0
or bl, 1
test si, 8
je 0x476eda
or bl, 4
test si, 1
je 0x476ee4
or bl, 8
test si, 2
je 0x476eee
or bl, 0x10
test si, 0x10
je 0x476ef8
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x476f07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x476f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x476f48]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x476f29
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x476f38
or bl, 4
test esi, 0x20000000
je 0x476f43
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x47d884
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47d896
add esp, 0xfffffff0
call fcn.0044e048
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00438fc4
mov eax, dword [0x4e5198]
mov dword [eax + 4], ebx
mov dword [eax], 0x47dc28
mov eax, dword [0x4e519c]
mov dword [eax + 4], ebx
mov dword [eax], 0x47dc34
mov eax, ebx
call fcn.0047dc40
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x42ea98]
call fcn.0044dcb4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x42ea98]
call fcn.0044dcb4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42ea98]
call fcn.0044dcb4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42ea98]
call fcn.0044dcb4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42ea98]
call fcn.0044dcb4
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, 0x47a108
push eax
push 0
push 0
mov eax, dword [0x4e5308]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x46b1c8]
call fcn.0046c8dc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x46b1c8]
call fcn.0046c8dc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x46b1c8]
call fcn.0046c8dc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047e0a8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47df84
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47df84
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47df84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47d9d3
call fcn.0044e0a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47dd68
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 0x47df13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47def4
mov dl, 1
mov eax, dword [0x42f084]
call fcn.0044dcb4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0044e830
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47dee3
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.00497b24
test al, al
je 0x47ded6
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, 0x47df24
lea eax, [ebp - 0x254]
call fcn.0043da6c
push eax
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x47ded6
xor eax, eax
push ebp
push 0x47decf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x47df5c
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x47deb8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044ea98
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 0x47deb8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0044ea98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ded6
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47ddd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004335c4
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 0x47df1a
lea eax, [ebp - 0x260]
call fcn.0044e830
ret

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

Disassembly:
push ecx
mov eax, dword [0x517374]
cmp byte [eax + 0xa5], 0
jne 0x47e8b9
cmp dword [0x51738c], 0
jne 0x47e87a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x47e804
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x51738c], eax
cmp dword [0x517388], 0
jne 0x47e895
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x517388], eax
cmp dword [0x517390], 0
jne 0x47e8b9
push esp
push 0
push 0
push 0x47e7a8
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x517390], eax
pop edx
ret
Function at 0x47e9e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47e9f7
add esp, 0xfffffff0
call fcn.0044e048
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00438fc4
mov eax, dword [0x4e4efc]
cmp word [eax + 2], 0
jne 0x47ea1f
mov eax, dword [0x4e4efc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048002c
mov eax, dword [0x4e4f00]
cmp word [eax + 2], 0
jne 0x47ea39
mov eax, dword [0x4e4f00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00480224
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x42ea98]
call fcn.0044dcb4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42ea98]
call fcn.0044dcb4
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], SafeArrayCopy
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 [0x46bc48]
call fcn.004730f8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x47ebc0
mov eax, dword [0x4e515c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004734c8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x480794
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4e515c]
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.00441300
test eax, eax
je 0x47eb2e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043d3b4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00441328
test eax, eax
je 0x47eb42
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, 0x100
call fcn.0044ea98
mov eax, dword [0x4e5164]
cmp byte [eax], 0
jne 0x47eb76
mov eax, ebx
call fcn.0047ece8
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.00480970
mov eax, ebx
call fcn.00481320
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47ebb6
call fcn.0044e0a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ef5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x517374]
cmp dword [eax + 0x30], 0
je 0x47f006
cmp dword [ebx + 0x94], 0
jne 0x47f000
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47eeec
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47f000
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 0x47efc6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47f000
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.00431204
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47efd5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47fae4
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 0x47fb19
push 0x100
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.0044e920
jmp 0x47fb26
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0044e884
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x480b4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x480b8d
mov eax, esi
call fcn.0049321c
test al, al
je 0x480b8d
mov eax, dword [ebx + 0x84]
call fcn.00492f18
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x480b8d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00492f18
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x486458
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0044ecd0
xor eax, eax
push ebp
push 0x486586
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x486559
xor eax, eax
push ebp
push 0x486552
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044eae8
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x486527
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x486516
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044eae8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0044ece0
mov edx, ebx
pop ecx
call fcn.0044d064
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48651d
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4e52c8]
mov dl, 1
mov eax, dword [0x43bd2c]
call fcn.0044068c
call fcn.0044e490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48658d
lea eax, [ebp - 4]
call fcn.0044e830
ret
Function at 0x486594
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486745
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0044eed0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x48675c
call fcn.0044eb34
mov eax, ebx
call fcn.004395e8
mov edi, eax
dec edi
test edi, edi
jl 0x48664c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004395bc
mov edx, dword [0x458780]
call fcn.0044de70
test al, al
je 0x486648
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004395bc
lea edx, [ebp - 0x14]
call fcn.0048c75c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0044eed0
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0044eba8
inc esi
dec edi
jne 0x4865fa
mov al, byte [0x486760]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x48676c
mov eax, dword [ebp - 0xc]
call fcn.00441940
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0044e8c8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0048c75c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x48675c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0048c75c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x48675c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x48675c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x486778
call fcn.0043daec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48674c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0044e854
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0044e854
lea eax, [ebp - 0x14]
call fcn.0044e830
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0044e854
ret
Function at 0x48a29c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x517418], 0
je 0x48a3eb
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4e518c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x48a3eb
mov eax, dword [0x51741c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x517418]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x48a3ba
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x517418]
call fcn.00431204
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x48a3b2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x48a3b2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x48a3b2
mov eax, dword [ebp - 0x14]
call fcn.00492f18
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x48a3b2
push ebp
call fcn.0048a258
pop ecx
test al, al
jne 0x48a3b2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x48a36e
mov eax, dword [ebp - 0x14]
call fcn.00491aac
dec eax
jle 0x48a3b2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0044dee0
cmp byte [ebp - 1], 0
je 0x48a3b2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x48a3b2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x51741c]
call fcn.00489a20
inc edi
dec ebx
jne 0x48a301
mov eax, dword [0x51741c]
cmp dword [eax + 8], 0
jle 0x48a3d2
mov eax, dword [0x51741c]
call fcn.00489ab0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48a3eb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0048a0c0
pop ecx
test al, al
jne 0x48a3eb
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret