joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fdac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.USER32.DLL_GetKeyboardState
mov eax, esp
call fcn.0046ecc8
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x414b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov edx, ebx
mov eax, dword [0x4db8f0]
call fcn.004a1edc
inc eax
je 0x414bef
mov al, 1
call sym.clclcl.exe__Cxcontainer_LockCMActivateMessages_qqro
xor eax, eax
push ebp
push 0x414be8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [0x4db8f0]
call fcn.004a2020
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x124]
mov byte [0x4d16f0], 1
mov dword [0x4db8e4], ebx
push 0
mov eax, ebx
call fcn.00485b18
call sym.clclcl.exe__Cxcontainer_NativeHandle_qqrui
push eax
call sub.USER32.DLL_ShowWindow
mov eax, ebx
call fcn.0047482c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x120]
mov eax, ebx
call fcn.00485e1c
test al, al
je 0x414bcc
call sub.USER32.DLL_GetCapture
mov edx, eax
mov cl, 1
mov eax, ebx
call sym.clclcl.exe__Cxcontainer_HasNativeHandle_qqrp20Controls_TWinControluio
test al, al
je 0x414bcc
xor eax, eax
call fcn.0047c590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414bef
mov byte [0x4d16f0], 0
xor eax, eax
call sym.clclcl.exe__Cxcontainer_LockCMActivateMessages_qqro
ret
pop ebx
pop ebp
ret
Function at 0x415bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x415dc5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x210], 0
je 0x415daa
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebx + 0x2a0]
cmp eax, dword [ebx + 0x280]
jb 0x415c41
lea eax, [ebx + 0x284]
call fcn.004bfcb8
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x2a0], eax
cmp byte [edi], 8
jne 0x415c94
mov eax, dword [ebx + 0x284]
call fcn.004bff70
mov esi, eax
jmp 0x415c61
dec esi
mov edx, esi
mov eax, dword [ebx + 0x284]
call fcn.004b25d8
cmp al, 2
je 0x415c60
mov eax, dword [ebx + 0x284]
call fcn.004bff70
mov ecx, eax
sub ecx, esi
inc ecx
lea eax, [ebx + 0x284]
mov edx, esi
call fcn.004c0208
jmp 0x415d15
mov al, byte [edi]
mov edx, dword [0x4db2f4]
and eax, 0xff
bt dword [edx], eax
jae 0x415cfd
push 1
push 0x102
push 0x102
mov eax, ebx
call fcn.00485b18
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.USER32.DLL_PeekMessageA
test eax, eax
je 0x415d15
push dword [ebx + 0x284]
lea eax, [ebp - 0x20]
mov dl, byte [edi]
call fcn.004bfe98
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.004bfe98
push dword [ebp - 0x24]
lea eax, [ebx + 0x284]
mov edx, 3
call fcn.004c0030
mov byte [edi], 0
jmp 0x415d15
lea eax, [ebp - 0x28]
mov dl, byte [edi]
call fcn.004bfe98
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x284]
call fcn.004bff78
mov eax, dword [ebx + 0x284]
call fcn.004bff70
test eax, eax
jle 0x415d93
mov edx, dword [ebx + 0x284]
mov eax, ebx
call sym.clclcl.exe__Cxcontainer_TcxCustomInnerListBox_FindAutoCompleteString_qqrx17System_AnsiString
mov esi, eax
cmp esi, 0xffffffff
je 0x415d80
cmp byte [ebx + 0x208], 0
je 0x415d69
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xd8]
mov edx, esi
mov eax, esi
call fcn.0049bc04
push eax
push 1
push 0x19b
mov eax, ebx
call fcn.00485b18
push eax
call sub.USER32.DLL_SendMessageA
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, ebx
mov si, 0xffeb
call fcn.004bf34c
mov al, byte [edi]
sub al, 8
je 0x415daa
sub al, 5
je 0x415daa
sub al, 0xe
je 0x415daa
mov byte [edi], 0
jmp 0x415daa
xor edx, edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, ebx
mov si, 0xffeb
call fcn.004bf34c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415dcc
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004bfcdc
ret

Function at 0x416564
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
cmp dword [ebx + 0x2b0], 0
je 0x416593
or dword [esi + 0xc], 0x80
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jl 0x416593
or dword [esi + 0xc], 2
pop esi
pop ebx
ret
Function at 0x417480
Capabilities:
Set global application hook

Disassembly:
sub dword [0x4db8e0], 1
jae 0x417527
call fcn.00410170
mov eax, dword [0x47ac94]
call fcn.004a1418
mov edx, dword [0x47ac94]
mov eax, dword [sym.clclcl.exe__Cxcontainer_TcxStyleController_]
call fcn.004a1464
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
mov dword [0x4db8f0], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x416aac
push eax
push 4
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4d16f4], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x416f84
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4d16f8], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x417348
push eax
push 7
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4d16fc], eax
mov dl, 1
mov eax, dword [0x41f988]
call sym.clclcl.exe__Cxgraphics_TcxScreenCanvas__bctr_qqrv
mov dword [0x4db8e8], eax
mov eax, dword [sym.clclcl.exe__Cxcontrols_cxGetParentWndForDocking]
mov dword [eax], sym.clclcl.exe__Cxcontainer_GetPopupOwnerControl_qqrui
ret

Function at 0x418f08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor ebx, ebx
push 1
call sub.USER32.DLL_GetAsyncKeyState
test ax, ax
jge 0x418f18
inc ebx
push 4
call sub.USER32.DLL_GetAsyncKeyState
test ax, ax
jge 0x418f27
add ebx, 0x10
push 2
call sub.USER32.DLL_GetAsyncKeyState
test ax, ax
jge 0x418f36
add ebx, 2
push 0x11
call sub.USER32.DLL_GetAsyncKeyState
test ax, ax
jge 0x418f45
add ebx, 8
push 0x10
call sub.USER32.DLL_GetAsyncKeyState
test ax, ax
jge 0x418f54
add ebx, 4
mov eax, ebx
pop ebx
ret

Function at 0x41b21c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov edi, eax
xor ebp, ebp
xor ebx, ebx
mov esi, 0x4d1770
mov eax, ebx
cmp al, 7
ja 0x41b23f
and eax, 0x7f
bt dword [edi + 0x23f], eax
jae 0x41b254
cmp bl, 3
jne 0x41b252
push 0x11
call sub.USER32.DLL_GetAsyncKeyState
test ax, ax
jl 0x41b254
add ebp, dword [esi]
inc ebx
add esi, 4
cmp bl, 4
jne 0x41b22f
mov eax, dword [esp]
mov dword [eax + 0xc], ebp
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41ebb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00485e1c
test al, al
je 0x41ebcd
push 0
mov eax, ebx
call fcn.00485b18
push eax
call sub.USER32.DLL_ShowWindow
pop ebx
ret

Function at 0x428fb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ecx]
mov edx, eax
add edx, 3
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 8]
sub edx, eax
sub edx, 6
mov dword [ebp - 8], edx
mov esi, dword [ecx + 4]
add esi, dword [ecx + 0xc]
sub esi, 9
sar esi, 1
jns 0x428fe4
adc esi, 0
mov eax, dword [ebp - 4]
call sym.clclcl.exe__Cxgraphics_TcxCanvas_GetPen_qqrv
mov edx, dword [ebp + 8]
call fcn.00463ffc
xor ebx, ebx
push ebp
mov ecx, ebx
and cl, 1
xor cl, 1
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00428f5c
pop ecx
add esi, 2
inc ebx
cmp ebx, 5
jne 0x428ff6
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437260
Capabilities:
Create process on windows

Disassembly:
push ebx
push 0
mov ebx, eax
push 3
push 0
push 0
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0xc]
call fcn.004c0168
push eax
push 0x437288
push 0
call sub.SHELL32.DLL_ShellExecuteA
pop edx
pop ebx
ret

Function at 0x43daa8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 4
call fcn.004be0cc
mov dword [ebp - 8], eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
call sub.KERNEL32.DLL_GetVolumeInformationA
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov edx, 4
mov eax, dword [ebp - 8]
call fcn.004be0ec
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x449060
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 0x448fac
call sub.USER32.DLL_EnumWindows
ret

Function at 0x449184
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 0x449201
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00448bd0
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 0x4491a9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00448828
cmp dword [ebp - 4], 0
je 0x4491eb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004c0168
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 0x449208
lea eax, [ebp - 4]
call fcn.004bfcb8
ret

Function at 0x45ac60
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.004bfcb8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45acaf
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.004bff20
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462df4
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 0x462dfa
ret
Function at 0x465794
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 0x4657e5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4657cc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4657bc
jmp 0x4657e5
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 0x4657cd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ec38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46ec88]
test si, 4
je 0x46ec4c
or bl, 1
test si, 8
je 0x46ec56
or bl, 4
test si, 1
je 0x46ec60
or bl, 8
test si, 2
je 0x46ec6a
or bl, 0x10
test si, 0x10
je 0x46ec74
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x46ec83
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46ec8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46ecc4]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x46eca5
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x46ecb4
or bl, 4
test esi, 0x20000000
je 0x46ecbf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x475600
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x475612
add esp, 0xfffffff0
call fcn.004bf4b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004aa26c
mov eax, dword [0x4db230]
mov dword [eax + 4], ebx
mov dword [eax], 0x4759a4
mov eax, dword [0x4db234]
mov dword [eax + 4], ebx
mov dword [eax], 0x4759b0
mov eax, ebx
call fcn.004759bc
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
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, 0x471e84
push eax
push 0
push 0
mov eax, dword [0x4db218]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x462200]
call fcn.0046393c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x462200]
call fcn.0046393c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x462200]
call fcn.0046393c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00475eb4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475d48
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475d48
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x475d48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47574f
call fcn.004bf50c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x475b2c
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 0x475cd7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x475cb8
mov dl, 1
mov eax, dword [0x49fb40]
call fcn.004bf120
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004bfcb8
lea eax, [ebp - 0x114]
push eax
push pe_nt_image_headers32
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x475ca7
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.0048a6e0
test al, al
je 0x475c9a
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, 0x475ce8
lea eax, [ebp - 0x254]
call fcn.004b0438
push eax
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x475c9a
xor eax, eax
push ebp
push 0x475c93
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 0x475d20
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x475c7c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004bff20
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 0x475c7c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004bff20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c9a
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x475b9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004a4854
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 0x475cde
lea eax, [ebp - 0x260]
call fcn.004bfcb8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4dbcf8]
cmp byte [eax + 0xa5], 0
jne 0x4766c5
cmp dword [0x4dbd10], 0
jne 0x476686
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x476610
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4dbd10], eax
cmp dword [0x4dbd0c], 0
jne 0x4766a1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4dbd0c], eax
cmp dword [0x4dbd14], 0
jne 0x4766c5
push esp
push 0
push 0
push 0x4765b4
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4dbd14], eax
pop edx
ret
Function at 0x4767ec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x476803
add esp, 0xfffffff0
call fcn.004bf4b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004aa26c
mov eax, dword [0x4db238]
cmp word [eax + 2], 0
jne 0x47682b
mov eax, dword [0x4db238]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00477e20
mov eax, dword [0x4db23c]
cmp word [eax + 2], 0
jne 0x476845
mov eax, dword [0x4db23c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00478018
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x49f384]
call fcn.004bf120
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], SafeArrayPutElement
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 [0x462ca8]
call fcn.0046ae74
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4769cc
mov eax, dword [0x4db4ac]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0046b244
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x478588
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4db4ac]
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.004b2818
test eax, eax
je 0x47693a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004afd80
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004b2840
test eax, eax
je 0x47694e
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.004bff20
mov eax, dword [0x4db4b4]
cmp byte [eax], 0
jne 0x476982
mov eax, ebx
call fcn.00476af4
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.00478764
mov eax, ebx
call fcn.00479114
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4769c2
call fcn.004bf50c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476d68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4dbcf8]
cmp dword [eax + 0x30], 0
je 0x476e12
cmp dword [ebx + 0x94], 0
jne 0x476e0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x476cf8
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x476e0c
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 0x476dd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x476e0c
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.004a1e80
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x476de1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4778f0
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 0x477925
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.004bfda8
jmp 0x477932
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004bfd0c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x478940
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x478981
mov eax, esi
call fcn.00485e1c
test al, al
je 0x478981
mov eax, dword [ebx + 0x84]
call fcn.00485b18
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x478981
push 0
mov eax, dword [ebx + 0x84]
call fcn.00485b18
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x47cf14
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 [0x4dbd9c], 0
je 0x47d063
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4db094]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x47d063
mov eax, dword [0x4dbda0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4dbd9c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x47d032
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4dbd9c]
call fcn.004a1e80
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47d02a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x47d02a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x47d02a
mov eax, dword [ebp - 0x14]
call fcn.00485b18
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x47d02a
push ebp
call fcn.0047ced0
pop ecx
test al, al
jne 0x47d02a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x47cfe6
mov eax, dword [ebp - 0x14]
call fcn.00484674
dec eax
jle 0x47d02a
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.004bf34c
cmp byte [ebp - 1], 0
je 0x47d02a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x47d02a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4dbda0]
call fcn.0047c698
inc edi
dec ebx
jne 0x47cf79
mov eax, dword [0x4dbda0]
cmp dword [eax + 8], 0
jle 0x47d04a
mov eax, dword [0x4dbda0]
call fcn.0047c728
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47d063
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0047cd38
pop ecx
test al, al
jne 0x47d063
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