joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425680
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 0x4258b0
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x425703
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4258b0
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x425703
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4258cc
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x42578c
xor eax, eax
push ebp
push 0x425785
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004254bc
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 0x42576a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4258ec
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x42576a
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 0x42578c
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 0x4258a6
cmp byte [ebp - 0xd], 0
jne 0x4257d3
cmp byte [ebp - 0x12], 0
je 0x4258a6
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4257ec
dec ebx
cmp byte [ebx], 0x2e
je 0x4257fb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4257eb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4258a6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x425838
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 0x4258a6
cmp byte [ebp - 0xd], 0
je 0x4258a6
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 0x4258a6
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 0x425ff8
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x484240], 1
jae 0x42608c
call fcn.00422304
mov byte [0x479f64], 2
mov dword [0x483c8c], 0x4777f4
mov dword [0x483c90], 0x47780c
mov byte [0x483cca], 2
mov dword [0x483c78], 0x424f7c
call fcn.00422f1c
test al, al
je 0x426044
call fcn.00422f4c
call fcn.00423010
mov word [0x483cd0], 0xd7b0
mov word [0x483e9c], 0xd7b0
mov word [0x484068], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x483cbc], eax
call fcn.00420a04
mov dword [0x483cb8], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x484244], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x483cb0], eax
ret

Function at 0x42cea0
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.00423f54
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42ceee
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.004241c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430f74
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4310a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.USER32.DLL_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x411f0c]
call fcn.00411fdc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43107d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, reloc.OLEAUT32.DLL_SysReAllocString
mov eax, dword [ebp - 0xc]
call fcn.0041207c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004241c4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4310bc
call fcn.0042426c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004120e0
lea ecx, [ebp - 4]
mov edx, 0x4310f8
mov eax, dword [ebp - 0xc]
call fcn.00412328
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00419c7c
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x431060
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x431104
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x47acf0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431067
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
Function at 0x431154
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x43119b
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43117e
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43118f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43119b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4337fc
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 0x433802
ret
Function at 0x43cd10
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
mov edi, eax
test bl, bl
je 0x43cd31
test edi, 0x40000
je 0x43cd4b
test bl, bl
jne 0x43cdcc
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x43cdcc
push esi
call sub.USER32.DLL_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.USER32.DLL_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x43cd7e
push 0
push esi
call sub.USER32.DLL_ShowWindow
test bl, bl
je 0x43cd93
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongA
jmp 0x43cda2
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x43cdb3
cmp byte [esp + 2], 0
je 0x43cdcc
cmp byte [esp + 2], 0
je 0x43cdc4
push 6
push esi
call sub.USER32.DLL_ShowWindow
jmp 0x43cdcc
push 5
push esi
call sub.USER32.DLL_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x43d070
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.USER32.DLL_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x43d096
mov eax, esp
push eax
push 0x43d038
call sub.USER32.DLL_EnumWindows
jmp 0x43d0a9
mov eax, esp
push eax
push 0x43d018
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.USER32.DLL_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x43d134
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x43d188]
test si, 4
je 0x43d149
or bl, 1
test si, 8
je 0x43d153
or bl, 4
test si, 1
je 0x43d15d
or bl, 8
test si, 2
je 0x43d167
or bl, 0x10
test si, 0x10
je 0x43d171
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43d180
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43d18c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x43d1c8]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43d1a6
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43d1b5
or bl, 4
test esi, 0x20000000
je 0x43d1c0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44532c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44533e
add esp, 0xfffffff0
call fcn.00423460
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00410248
mov eax, dword [0x481570]
mov dword [eax + 4], ebx
mov dword [eax], 0x4456d0
mov eax, dword [0x481574]
mov dword [eax + 4], ebx
mov dword [eax], 0x4456dc
mov eax, ebx
call fcn.004456e8
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
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, 0x440ba0
push eax
push 0
push 0
mov eax, dword [0x4815b0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x432e5c]
call fcn.0043437c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x432e5c]
call fcn.0043437c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x432e5c]
call fcn.0043437c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00445b18
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4459e8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4459e8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4459e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44547b
call fcn.004234b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4457cc
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 0x445977
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x445958
mov dl, 1
mov eax, dword [0x407d6c]
call fcn.00423124
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00423f54
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x445947
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.0045e060
test al, al
je 0x44593a
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, 0x445988
lea eax, [ebp - 0x254]
call fcn.004157d8
push eax
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44593a
xor eax, eax
push ebp
push 0x445933
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 0x4459c0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x44591c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004241c4
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 0x44591c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004241c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44593a
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44583d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0040bac4
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 0x44597e
lea eax, [ebp - 0x260]
call fcn.00423f54
ret

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

Disassembly:
push ecx
mov eax, dword [0x486574]
cmp byte [eax + 0xad], 0
jne 0x446361
cmp dword [0x486590], 0
jne 0x446322
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4462ac
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x486590], eax
cmp dword [0x48658c], 0
jne 0x44633d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x48658c], eax
cmp dword [0x486594], 0
jne 0x446361
push esp
push 0
push 0
push 0x446250
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x486594], eax
pop edx
ret
Function at 0x446534
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44654b
add esp, 0xfffffff0
call fcn.00423460
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00410248
mov eax, dword [0x481578]
cmp word [eax + 2], 0
jne 0x446573
mov eax, dword [0x481578]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00448228
mov eax, dword [0x48157c]
cmp word [eax + 2], 0
jne 0x44658d
mov eax, dword [0x48157c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00448434
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x407948]
call fcn.00423124
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x433638]
call fcn.00439480
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x446744
mov eax, dword [0x481534]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00439854
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x448af8
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x481534]
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.00418f80
test eax, eax
je 0x446694
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00415190
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00418fb4
test eax, eax
je 0x4466a8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_CharNextA
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004241c4
mov byte [ebx + 0xd4], 0
push ebx
push 0x447c98
call fcn.004113c4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48153c]
cmp byte [eax], 0
jne 0x4466f9
mov eax, ebx
call fcn.00446888
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00448d0c
mov eax, ebx
call fcn.00449870
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x446739
call fcn.004234b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446b08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x446ba7
cmp dword [ebx + 0x94], 0
jne 0x446ba1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x446a90
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x446ba1
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 0x446b67
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x446ba1
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.00409d6c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x446b76
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x446dc0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x486574]
cmp dword [eax + 0x30], 0
je 0x446f1d
test bl, bl
jne 0x446e6e
cmp dword [esi + 0x9c], 0
jne 0x446e63
mov eax, esi
call fcn.004496ec
push eax
push 0x446cec
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x446e34
mov eax, dword [0x486574]
call fcn.00449dcc
test al, al
je 0x446e34
mov eax, dword [0x486598]
call fcn.004251c8
mov edi, eax
cmp edi, 0
jl 0x446e34
push 0
mov eax, dword [0x486598]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x446e1e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x446e63
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00409d6c
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x446e43
inc dword [esi + 0x9c]
jmp 0x446f1d
cmp dword [esi + 0x9c], 0
jle 0x446f1d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x446f1d
cmp dword [esi + 0x44], 0
je 0x446ec9
mov eax, dword [0x486574]
call fcn.00449dcc
test al, al
je 0x446ec9
mov eax, dword [0x486598]
call fcn.004251c8
mov edi, eax
cmp edi, 0
jl 0x446ec9
push 5
mov eax, dword [0x486598]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x446eb3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x446ef8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00409d6c
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x446ed8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x486598
mov ecx, 1
mov edx, dword [0x446ccc]
call fcn.0042537c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4479ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x447a56
mov eax, ebx
call fcn.00449dcc
test al, al
jne 0x447a56
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.00424044
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x447a43
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x447a63
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00423fa8
jmp 0x447a63
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00423fa8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x448ef0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x448f5e
mov eax, esi
call fcn.00458d24
test al, al
je 0x448f5e
mov eax, dword [ebx + 0x84]
call fcn.00458984
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x448f5e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x448f52
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458984
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045082c
jmp 0x448f5e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00448d2c
pop esi
pop ebx
ret
Function at 0x44e0c4
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 [0x48663c], 0
je 0x44e20d
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x481564]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44e20d
mov eax, dword [0x486640]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48663c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44e1dc
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48663c]
call fcn.00409d6c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44e1d4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44e1d4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44e1d4
mov eax, dword [ebp - 0x14]
call fcn.00458984
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44e1d4
push ebp
call fcn.0044e080
pop ecx
test al, al
jne 0x44e1d4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00423350
test al, al
je 0x44e1d4
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, 0xffbc
call fcn.00423350
cmp byte [ebp - 1], 0
je 0x44e1d4
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x44e1d4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x486640]
call fcn.0044d7ec
inc edi
dec ebx
jne 0x44e129
mov eax, dword [0x486640]
cmp dword [eax + 8], 0
jle 0x44e1f4
mov eax, dword [0x486640]
call fcn.0044d8a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e20d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044dee4
pop ecx
test al, al
jne 0x44e20d
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