joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bcb5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042bc31
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x42be2d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x42be2d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x42bddc
jg 0x42bd0e
test eax, eax
je 0x42bdd2
push 1
push 0x1000
call fcn.0041daff
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x42bd34
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x42bdc9
push 0x8000
push ebx
call fcn.0041accf
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x42bd60
jg 0x42bd5b
cmp ecx, 0x1000
jb 0x42bd60
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041f53c
add esp, 0x10
cmp eax, 0xffffffff
je 0x42bda5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x42bd5b
jl 0x42bd8c
test ecx, ecx
jne 0x42bd4d
push dword [ebp - 0xc]
push ebx
call fcn.0041accf
push esi
call fcn.0041db5c
add esp, 0xc
xor edi, edi
jmp 0x42be3e
cmp byte [edi + 0x24], 0
je 0x42bdbc
cmp dword [edi + 0x20], 5
jne 0x42bdbc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x42bdc7
mov edi, dword [edi + 0x18]
jmp 0x42bdc9
xor edi, edi
push esi
call fcn.0041db5c
pop ecx
jmp 0x42be3e
test ecx, ecx
jg 0x42bd9e
jl 0x42bddc
test eax, eax
jae 0x42bd9e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042108d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42bdff
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42bd9e
jmp 0x42be36
push ebx
call fcn.00424d6a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x42bd9e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x42be3e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x42be3b
mov edi, dword [edi + 0x18]
jmp 0x42be3e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0042108d
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42c940
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c96d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c96d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov eax, dword [0x4943c8]
shl eax, 2
mov dword [0x4943cc], eax
push edi
push ecx
xor eax, eax
mov edi, 0x49d6d4
mov ecx, 0x4a1928
cmp ecx, edi
jbe 0x401024
sub ecx, edi
cld
rep stosb byte es:[edi], al
pop ecx
pop edi
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0046e4e0
pop edx
call fcn.0046e444
call fcn.0046e520
push 0
call fcn.0046f798
pop ecx
push 0x494390
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4943d0], eax
push 0
jmp fcn.004742c0

Function at 0x402c3c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
mov eax, 0x495244
call fcn.0046eba4
mov dword [ebp - 8], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.004783ec
inc dword [ebp - 8]
lea edx, [ebp - 0x184]
mov word [ebp - 0x14], 8
push 0x100
push 0x160
push edx
push 0x20
cmp dword [ebp + 8], 0
je 0x402c88
mov ecx, dword [ebp + 8]
jmp 0x402c8d
mov ecx, 0x494e1f
push ecx
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x402cbb
mov eax, dword [ebp - 0x184]
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebp - 8]
call fcn.00478428
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x402cd9
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebp - 8]
call fcn.00478428
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x402ce0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
mov eax, 0x495268
call fcn.0046eba4
mov dword [ebp - 8], 1
lea edx, [ebp + 8]
lea eax, [ebp + 8]
call fcn.004783ec
inc dword [ebp - 8]
lea edx, [ebp - 0x184]
mov word [ebp - 0x14], 8
push 0x101
push 0x160
push edx
push 0x20
cmp dword [ebp + 8], 0
je 0x402d2c
mov ecx, dword [ebp + 8]
jmp 0x402d31
mov ecx, 0x494e1f
push ecx
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x402d5f
mov eax, dword [ebp - 0x184]
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebp - 8]
call fcn.00478428
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x402d7d
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 8]
dec dword [ebp - 8]
call fcn.00478428
pop eax
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret

Function at 0x40aa50
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp word [ebx + 0x62], 0
je 0x40aa60
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
cmp byte [ebx + 0x48], 0
je 0x40aa73
cmp byte [ebx + 0x49], 0
je 0x40aa73
mov eax, ebx
call sym.D3DWindower.exe__Taskbar_TTrayIcon_SetTrayIcon_qqrv
cmp byte [ebx + 0x48], 0
je 0x40aa91
cmp byte [ebx + 0x4a], 0
je 0x40aa91
push 0
mov eax, dword [0x49d2e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.USER32.DLL_ShowWindow
pop ebx
ret
Function at 0x40bae4
Capabilities:
Find taskbar

Disassembly:
push ebx
add esp, 0xfffffff8
push 0
push 0x40bb50
push 0
push 0
call sub.USER32.DLL_FindWindowExA
push esp
push eax
call sub.USER32.DLL_GetWindowThreadProcessId
push 0
push 0x40bb60
push 0
push 0
call sub.USER32.DLL_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x40bb4a
lea eax, [esp + 4]
push eax
push ebx
call sub.USER32.DLL_GetWindowThreadProcessId
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jne 0x40bb35
push 0xfffffffffffffff0
push ebx
call sub.USER32.DLL_GetWindowLongA
test al, 2
je 0x40bb4a
push 0
push 0x40bb60
push ebx
push 0
call sub.USER32.DLL_FindWindowExA
mov ebx, eax
test ebx, ebx
jne 0x40bb15
mov eax, ebx
pop ecx
pop edx
pop ebx
ret
Function at 0x40cd44
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x40cf88
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov eax, 0x104
call fcn.0046a9b4
mov dword [ebp - 0x1c], eax
push 0x104
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x1c]
call fcn.0046adf0
mov edx, 0x40cf9c
lea eax, [ebp - 0x124]
call fcn.0046abb8
mov edx, 0x40cfa0
lea eax, [ebp - 0x124]
call fcn.0046abb8
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x20]
call fcn.0046bea0
mov eax, dword [ebp - 0x1c]
call fcn.0046a9cc
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0046c0c0
mov ebx, eax
push ebx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x40cf5d
mov eax, dword [ebp - 8]
call fcn.0046a9b4
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x40cf56
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push ebx
call sub.VERSION.DLL_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x40cfac
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.DLL_VerQueryValueA
push 0x40cfd0
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00463d58
push dword [ebp - 0x128]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.004618c8
movzx eax, ax
lea ecx, [ebp - 0x12c]
mov edx, 4
call fcn.00463d58
push dword [ebp - 0x12c]
push 0x40cfec
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.0046bfbc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x128]
mov ecx, 0x40cff8
mov edx, dword [ebp - 0x24]
call fcn.0046bf48
mov eax, dword [ebp - 0x128]
call fcn.0046c0c0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x40cf3d
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
call fcn.0046be34
xor edx, edx
push ebp
push 0x40cf33
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx]
call fcn.0046be24
mov eax, dword [ebp - 0x128]
call fcn.00463d94
mov ebx, eax
lea eax, [ebp - 0x128]
push eax
mov ecx, 2
mov edx, 3
mov eax, dword [ebp - 0x24]
call fcn.0046c100
mov eax, dword [ebp - 0x128]
call fcn.00463d94
mov edx, ebx
call fcn.004618bc
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40cf3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf5d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0046a9cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf8f
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.0046bca4
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0046bca4
ret
Function at 0x416a0c
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.0046bc80
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x416a6d
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x416a6d
cmp byte [ebp - 0x102], 0
je 0x416a6d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0046beac
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c824
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 0x41c82a
ret

Function at 0x41edcc
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 0x41ee1d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ee04
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41edf4
jmp 0x41ee1d
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 0x41ee05
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426c1c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49d7e4
cmp dword [edi], 0
jne 0x426c98
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x49d7e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49881c
mov ecx, 2
call fcn.0046ab40
mov edx, 0x426bf4
lea eax, [esi + 5]
call fcn.00426c14
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426c14
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x426c6d
mov dword [0x49d7e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x426db4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x426e04]
test si, 4
je 0x426dc8
or bl, 1
test si, 8
je 0x426dd2
or bl, 4
test si, 1
je 0x426ddc
or bl, 8
test si, 2
je 0x426de6
or bl, 0x10
test si, 0x10
je 0x426df0
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x426dff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x426e08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x426e40]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x426e21
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x426e30
or bl, 4
test esi, 0x20000000
je 0x426e3b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42d4e0
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 0x42d685
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x457914]
call fcn.0046b01c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0046bc80
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x42d65b
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.00441830
test al, al
je 0x42d64e
lea eax, [ebp - 0xc]
push eax
push 0xf003f
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, 0x42d694
lea eax, [ebp - 0x254]
call fcn.0046489c
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x42d64e
xor eax, eax
push ebp
push 0x42d647
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 0x42d6cc
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x42d630
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0046beac
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x42d630
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0046beac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d64e
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42d551
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0045b418
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d68c
lea eax, [ebp - 0x260]
call fcn.0046bc80
ret

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

Disassembly:
push ecx
mov eax, dword [0x49d7ac]
cmp byte [eax + 0x8d], 0
jne 0x42de99
cmp dword [0x49d7f0], 0
jne 0x42de5a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x42dde4
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x49d7f0], eax
cmp dword [0x49d7ec], 0
jne 0x42de75
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x49d7ec], eax
cmp dword [0x49d7f4], 0
jne 0x42de99
push esp
push 0
push 0
push 0x42dd88
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x49d7f4], eax
pop edx
ret
Function at 0x42df90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42dfa7
add esp, 0xfffffff0
call fcn.0046b378
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045fcac
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x4574f0]
call fcn.0046b01c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x4574f0]
call fcn.0046b01c
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x41c6dc]
call fcn.004236e0
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x42e118
mov eax, dword [0x49d668]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423ac0
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42fa60
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49d668]
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.00467720
test eax, eax
je 0x42e097
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00464210
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00467748
test eax, eax
je 0x42e0ab
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.0046beac
mov eax, dword [0x49d670]
cmp byte [eax], 0
jne 0x42e0dc
mov eax, ebx
call fcn.0042e204
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42e10e
call fcn.0046b3d0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e47c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49d7ac]
cmp dword [eax + 0x24], 0
je 0x42e50c
cmp dword [ebx + 0x7c], 0
jne 0x42e509
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42e410
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x42e509
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 0x42e4d8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x42e509
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00458e68
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42e4e4
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42ee5c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x42ee91
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0046bd64
jmp 0x42ee9b
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.0046bd18
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42fda4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x42fddc
mov eax, esi
call fcn.0043d564
test al, al
je 0x42fddc
mov eax, dword [ebx + 0x6c]
call fcn.0043d13c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42fddc
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0043d13c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x43528c
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x49d874], 0
sete dl
or al, dl
jne 0x4353d0
mov eax, dword [0x49d878]
mov bx, 0xffff
call fcn.0046b228
mov eax, dword [0x49d874]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x43539f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x49d874]
call fcn.00458e68
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x435397
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x435397
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x435397
mov eax, dword [ebp - 0x10]
call fcn.0043d13c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x435397
push ebp
call fcn.00435248
pop ecx
test al, al
jne 0x435397
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x435353
mov eax, dword [ebp - 0x10]
call fcn.0043ba80
dec eax
jle 0x435397
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.0046b228
cmp byte [ebp - 0x15], 0
je 0x435397
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x435397
mov edx, dword [ebp - 0x10]
mov eax, dword [0x49d878]
call fcn.00434af8
inc edi
dec esi
jne 0x4352e6
mov eax, dword [0x49d878]
cmp dword [eax + 8], 0
jle 0x4353b7
mov eax, dword [0x49d878]
call fcn.00434b88
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4353d0
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00435100
pop ecx
test al, al
jne 0x4353d0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ac0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x43ac3d
je 0x43ac97
sub eax, 7
je 0x43ac5e
dec eax
je 0x43ac88
sub eax, 0x17
je 0x43ad18
jmp 0x43ad56
add eax, 0xffffff00
sub eax, 9
jb 0x43ad04
add eax, 0xffffff09
sub eax, 0xb
jb 0x43acee
jmp 0x43ad56
mov eax, ebx
call fcn.00426f30
mov edi, eax
test edi, edi
je 0x43adb6
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x43adbf
jmp 0x43adb6
test byte [ebx + 0x44], 0x20
jne 0x43adbf
jmp 0x43adb6
mov edx, esi
mov eax, ebx
call fcn.00438500
cmp dword [esi + 0xc], 0xffffffff
jne 0x43adbf
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00461944
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00436fb0
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0043aabc
test eax, eax
je 0x43adbf
mov dword [esi + 0xc], 1
jmp 0x43adbf
mov edx, esi
mov eax, ebx
call fcn.0043ab80
test al, al
jne 0x43adbf
jmp 0x43adb6
mov eax, ebx
call fcn.00437b78
test al, al
jne 0x43adbf
jmp 0x43adb6
mov eax, ebx
call fcn.0043d13c
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x43adb6
cmp dword [0x498abc], 0
je 0x43adb6
mov eax, dword [0x498abc]
cmp ebx, dword [eax + 0x24]
jne 0x43adb6
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x498abc]
call fcn.0043841c
jmp 0x43adb6
mov eax, dword [0x49d83c]
cmp byte [eax + 0x20], 0
je 0x43adb6
mov eax, dword [0x49d83c]
cmp dword [eax + 0x1c], 0
je 0x43adb6
mov eax, dword [esi]
mov edx, dword [0x49d83c]
cmp eax, dword [edx + 0x1c]
jne 0x43adb6
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00426e44
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.0046b228
jmp 0x43adbf
mov edx, esi
mov eax, ebx
call fcn.00438500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret