joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403330
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffccc
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov esi, 0x481244
lea edi, [ebp - 0x134]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x403509
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4034eb
cmp dword [ebp - 0x12c], 0
je 0x4033a0
cmp dword [ebp - 0x12c], 8
jne 0x4033d5
cmp dword [ebp - 0x12c], 0
jne 0x4033bf
push 0x481568
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.00460078
add esp, 8
jmp 0x4033eb
push 0x48157c
lea eax, [ebp - 0x1b4]
push eax
call fcn.00460078
add esp, 8
jmp 0x4033eb
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.00460078
add esp, 8
push 0xa
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 0x12c]
call fcn.00464818
add esp, 0xc
lea edx, [ebp - 0x334]
push edx
imul ecx, dword [ebp - 8], 0x1d2
add ecx, dword [0x488258]
push ecx
call fcn.00460078
add esp, 8
push 0x80
push 0
imul eax, dword [ebp - 8], 0x1d2
add eax, dword [0x488258]
add eax, 0x152
push eax
call fcn.0045ff44
add esp, 0xc
cmp dword [0x488478], 2
jne 0x40346c
lea edx, [ebp - 0x1b4]
push edx
imul ecx, dword [ebp - 8], 0x1d2
add ecx, dword [0x488258]
add ecx, 0xa
push ecx
call fcn.00460078
add esp, 8
jmp 0x4034d1
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x1b4]
push edx
call fcn.00402ff4
add esp, 8
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.00402fac
pop ecx
lea eax, [ebp - 0x2b4]
push eax
imul edx, dword [ebp - 8], 0x1d2
add edx, dword [0x488258]
add edx, 0xa
push edx
call fcn.00460078
add esp, 8
lea ecx, [ebp - 0x1b4]
push ecx
imul eax, dword [ebp - 8], 0x1d2
add eax, dword [0x488258]
add eax, 0x8a
push eax
call fcn.00460078
add esp, 8
inc dword [ebp - 8]
lea edx, [ebp - 0x134]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x40338e
mov ecx, dword [ebp - 8]
mov dword [0x48825c], ecx
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0xc]
push 0x403af0
call sub.USER32.DLL_EnumWindows
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403510
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
call sub.KERNEL32.DLL_TerminateProcess
pop ecx
pop ebp
ret
Function at 0x408acc
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], 0x1f4
push sub.KERNEL32.DLL_GetCurrentProcess
call sub.KERNEL32.DLL_GetPriorityClass
mov dword [ebp - 0x10], eax
push 0x47ec64
call sub.KERNEL32.DLL_GetThreadPriority
mov dword [ebp - 0x14], eax
push 0x100
push sub.KERNEL32.DLL_GetCurrentProcess
call sub.KERNEL32.DLL_SetPriorityClass
push 0xf
push 0x47ec64
call sub.KERNEL32.DLL_SetThreadPriority
mov eax, 0xa
call fcn.0040a52c
rdtsc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov eax, 0x1f4
call fcn.0040a52c
rdtsc
sub eax, dword [ebp - 0xc]
sbb edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push dword [ebp - 0x14]
push 0x47ec64
call sub.KERNEL32.DLL_SetThreadPriority
push dword [ebp - 0x10]
push sub.KERNEL32.DLL_GetCurrentProcess
call sub.KERNEL32.DLL_SetPriorityClass
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
fild qword [ebp - 0x1c]
fld xword [0x408b6c]
fmulp st(1)
mov esp, ebp
pop ebp
ret

Function at 0x408b78
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov eax, 0x4827d4
call fcn.00460328
mov word [ebp - 0x1c], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x10]
mov word [ebp - 0x1c], 0x14
lea ecx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x34]
push edx
push dword [ebp + 8]
call sub.KERNEL32.DLL_GetDiskFreeSpaceExA
test eax, eax
setne cl
and ecx, 1
mov byte [ebp - 0x45], cl
cmp byte [ebp - 0x45], 1
jne 0x408c7a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
push 0
push 0x400
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
call fcn.004640cb
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fild qword [ebp - 0x5c]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x54]
fmul dword [0x408cb8]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x54]
fmul dword [0x408cb8]
fstp dword [ebp - 0x54]
mov word [ebp - 0x1c], 0x20
fld dword [ebp - 0x54]
add esp, 0xfffffff4
fstp xword [esp]
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [ebp - 8]
push eax
inc dword [ebp - 0x10]
mov ecx, 1
mov edx, 8
mov al, 2
call fcn.0044d6b4
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0046b6a8
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0046b678
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00460078
add esp, 8
cmp dword [ebp - 4], 0
je 0x408c67
mov ecx, dword [ebp - 4]
jmp 0x408c6c
mov ecx, 0x48227e
push ecx
push dword [ebp + 0xc]
call fcn.0045ffe8
add esp, 8
jmp 0x408c98
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00460078
add esp, 8
push 0x48227f
push dword [ebp + 0xc]
call fcn.0045ffe8
add esp, 8
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0046b678
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
mov esp, ebp
pop ebp
ret
Function at 0x40b094
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 0x40afe0
call sub.USER32.DLL_EnumWindows
ret

Function at 0x40b1b8
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 0x40b235
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040ac04
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 0x40b1dd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0040a85c
cmp dword [ebp - 4], 0
je 0x40b21f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0045d208
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 0x40b23c
lea eax, [ebp - 4]
call fcn.0045cd58
ret

Function at 0x40ed60
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.0045cd58
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x40edaf
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.0045cfc0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4152b4
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 0x4152ba
ret

Function at 0x417708
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 0x417759
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x417740
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x417730
jmp 0x417759
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 0x417741
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42030c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42035c]
test si, 4
je 0x420320
or bl, 1
test si, 8
je 0x42032a
or bl, 4
test si, 1
je 0x420334
or bl, 8
test si, 2
je 0x42033e
or bl, 0x10
test si, 0x10
je 0x420348
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x420357
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x420360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x420398]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x420379
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x420388
or bl, 4
test esi, 0x20000000
je 0x420393
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x426cd4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x426ce6
add esp, 0xfffffff0
call fcn.0045c38c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004489ac
mov eax, dword [0x487d04]
mov dword [eax + 4], ebx
mov dword [eax], 0x427078
mov eax, dword [0x487d08]
mov dword [eax + 4], ebx
mov dword [eax], 0x427084
mov eax, ebx
call fcn.00427090
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x43e028]
call fcn.0045bff8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x43e028]
call fcn.0045bff8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x43e028]
call fcn.0045bff8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x43e028]
call fcn.0045bff8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x43e028]
call fcn.0045bff8
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, 0x423558
push eax
push 0
push 0
mov eax, dword [0x487cf0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x414760]
call fcn.00415dfc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x414760]
call fcn.00415dfc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x414760]
call fcn.00415dfc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004274b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42738c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42738c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x42738c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x426e23
call fcn.0045c3e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x427170
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 0x42731b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4272fc
mov dl, 1
mov eax, dword [0x43e558]
call fcn.0045bff8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0045cd58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4272eb
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.0043b278
test al, al
je 0x4272de
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, 0x42732c
lea eax, [ebp - 0x254]
call fcn.0044ce00
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4272de
xor eax, eax
push ebp
push 0x4272d7
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 0x427364
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4272c0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0045cfc0
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 0x4272c0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0045cfc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4272de
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4271e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004429f8
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 0x427322
lea eax, [ebp - 0x260]
call fcn.0045cd58
ret

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

Disassembly:
push ecx
mov eax, dword [0x4886ec]
cmp byte [eax + 0xa5], 0
jne 0x427cc1
cmp dword [0x488704], 0
jne 0x427c82
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x427c0c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x488704], eax
cmp dword [0x488700], 0
jne 0x427c9d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x488700], eax
cmp dword [0x488708], 0
jne 0x427cc1
push esp
push 0
push 0
push 0x427bb0
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x488708], eax
pop edx
ret
Function at 0x427db8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x427dcf
add esp, 0xfffffff0
call fcn.0045c38c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004489ac
mov eax, dword [0x487d0c]
cmp word [eax + 2], 0
jne 0x427df7
mov eax, dword [0x487d0c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0042947c
mov eax, dword [0x487d10]
cmp word [eax + 2], 0
jne 0x427e11
mov eax, dword [0x487d10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00429674
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x43e028]
call fcn.0045bff8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x43e028]
call fcn.0045bff8
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 [0x415168]
call fcn.0041c588
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x427f98
mov eax, dword [0x487f6c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041c958
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x429bf4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x487f6c]
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.0044f828
test eax, eax
je 0x427f06
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0044c75c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0044f850
test eax, eax
je 0x427f1a
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.0045cfc0
mov eax, dword [0x487f74]
cmp byte [eax], 0
jne 0x427f4e
mov eax, ebx
call fcn.004280c0
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.00429dd0
mov eax, ebx
call fcn.0042a780
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x427f8e
call fcn.0045c3e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428334
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4886ec]
cmp dword [eax + 0x30], 0
je 0x4283de
cmp dword [ebx + 0x94], 0
jne 0x4283d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4282c4
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4283d8
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 0x42839e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4283d8
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.0044073c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4283ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x428ebc
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 0x428ef1
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.0045ce48
jmp 0x428efe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0045cdac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x429fac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x429fed
mov eax, esi
call fcn.00436b40
test al, al
je 0x429fed
mov eax, dword [ebx + 0x84]
call fcn.0043683c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x429fed
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043683c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x42ddfc
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 [0x488790], 0
je 0x42df4b
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x487c20]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42df4b
mov eax, dword [0x488794]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x488790]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42df1a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x488790]
call fcn.0044073c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42df12
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42df12
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42df12
mov eax, dword [ebp - 0x14]
call fcn.0043683c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42df12
push ebp
call fcn.0042ddb8
pop ecx
test al, al
jne 0x42df12
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42dece
mov eax, dword [ebp - 0x14]
call fcn.004353d0
dec eax
jle 0x42df12
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.0045c224
cmp byte [ebp - 1], 0
je 0x42df12
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x42df12
mov edx, dword [ebp - 0x14]
mov eax, dword [0x488794]
call fcn.0042d580
inc edi
dec ebx
jne 0x42de61
mov eax, dword [0x488794]
cmp dword [eax + 8], 0
jle 0x42df32
mov eax, dword [0x488794]
call fcn.0042d610
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42df4b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042dc20
pop ecx
test al, al
jne 0x42df4b
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
Function at 0x4314f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x431544
mov eax, esi
call fcn.00420458
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x431544
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x431544
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x431683
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x431584
cmp eax, 0x108
ja 0x431584
mov eax, esi
call fcn.00420458
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43167a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x431683
jmp 0x43167a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x431663
cmp eax, 0x20a
ja 0x431663
test byte [esi + 0x50], 0x80
jne 0x4315b6
sub eax, 0x203
je 0x4315b3
sub eax, 3
je 0x4315b3
sub eax, 3
jne 0x4315b6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4315ca
dec eax
je 0x4315df
dec eax
je 0x4315fc
dec eax
je 0x4315df
jmp 0x431603
mov ecx, ebx
mov eax, dword [0x487c20]
mov eax, dword [eax]
mov edx, esi
call fcn.00429e64
jmp 0x43167a
cmp byte [esi + 0x5d], 1
jne 0x4315f5
mov eax, esi
mov si, 0xffed
call fcn.0045c224
jmp 0x431683
or word [esi + 0x54], 1
jmp 0x43167a
and word [esi + 0x54], 0xfffe
jmp 0x43167a
mov eax, dword [0x48874c]
cmp byte [eax + 0x20], 0
je 0x43167a
mov eax, dword [0x48874c]
cmp dword [eax + 0x1c], 0
je 0x43167a
mov eax, dword [ebx]
mov edx, dword [0x48874c]
cmp eax, dword [edx + 0x1c]
jne 0x43167a
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042039c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0045c224
jmp 0x431683
cmp eax, 0xb00b
jne 0x43167a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042fe34
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret