joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55f122
Capabilities:
Encrypt data using aes

Disassembly:
call 0x55f145
mov si, word [esp]
mov bl, bh
mov esi, dword [esp]
jmp 0x55f14f
jmp 0x55f246
lea esp, [esp + 8]
xor edi, dword [ebx*4 + 0x53babc]
pushal
jmp 0x55f139
and ebx, ecx
push esp
pop word [esp]
mov byte [esp], bh
lea esp, [esp + 1]
lea esp, [esp + 1]
jmp 0x55f09f
push edx
mov edx, dword [edx*4 + 0x53b2bc]
clc
clc
jmp 0x55f0b8
lea esp, [esp + 0x20]
dec dword [ebp - 4]
pushal
push edx
pop dword [esp + 0x12]
push dword [esp + 0x12]
jmp 0x55f113
lea esp, [esp + 0x3c]
xor edi, dword [edx*4 + 0x53c2bc]
pushal
push word [esp + 0x1b]
lea esp, [esp + 2]
jmp 0x55f0e0
mov dword [esi + 0xc], edi
pushal
pop word [esp + 5]
call 0x55f122
cmp byte [ebp - 0x14fddb9c], cl
dec eax
adc eax, 0x996a0f9f
pop ss
jge 0x55f120
add byte [eax], bh
lea esp, [esp + 2]
jmp 0x55f170
add ax, si
inc edx
insd dword es:[edi], dx
jl 0x55f186
salc
inc ecx
and edx, ecx
pushal
add esp, 3
lea esp, [esp + 1]
jmp 0x55f0fc
lea esp, [esp + 4]
pop ebx
call fcn.0055f15a
ret
lea esp, [esp + 0x44]
jne 0x531067
je 0x531000
add byte [eax], al
pop word [esp]
mov byte [esp], dh
lea esp, [esp + 2]
and edx, ecx
push edx
jmp 0x55f0d4

Function at 0x69c3d9
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
neg bp
push dword [esp + 0xa]
push esp
add esp, 0xf
mov word [esp], dx
sub esp, 4
jmp 0x69c398
jmp 0x69c3bf

Function at 0x69c639
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 0xe], dx
stc
pop ebx
xchg bp, di
push dword [esp + 0xa]
push dword [esp + 6]
jmp 0x69c6de
xchg esi, ebp
mov ah, byte [esp + 9]
bswap esi
btr eax, esp
jmp 0x69c61b
clc
inc dl
pop word [esp + 0x17]
mov esi, ebp
bswap ecx
bswap ebx
jmp 0x69c6ab
mov dh, byte [esp + 0xf]
mov cl, 0x72
and di, 0xab7a
sub esp, 0x1e
mov byte [esp + 0x1b], ah
mov cl, ch
jmp 0x69c646
clc
btc eax, ebx
push dword [esp + 0x1a]
mov edi, 0xbbd6b6b4
xchg dx, di
jmp 0x69c6c0
btr esi, edx
inc cx
rol bp, cl
inc dx
rdtsc
neg dh
jmp 0x69c673
mov si, sp
sub esp, 0xc
lea esp, [esp + 0xf]
xchg dword [esp + 0x12], esi
btr ebx, edx
not dh
jmp 0x69c689
stc
ror esi, 3
lea eax, [ebp + 0x13d7701f]
bsr di, cx
cld
bsf di, ax
jmp 0x69c72f
mov byte [esp + 0xd], bh
pop word [esp + 0xb]
not ch
mov bp, bx
xchg dword [esp + 0xb], ebp
rdtsc
jmp 0x69c65d
sub esp, 0xa
xchg bp, cx
mov word [esp + 0xb], dx
mov byte [esp + 7], ch
mov si, 0xa569
pushal
jmp 0x69c6f7
pop edi
mov edi, 0xcf85b61a
pop edx
lea esp, [esp + 0x25]
xchg dword [esp], ebp
xchg di, si
jmp 0x69c70e

Function at 0x69cd28
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 0x18], al
push word [esp]
mov ecx, esi
jmp 0x69cd38
bswap ebp
sub esp, 0x1c
rdtsc
xchg dword [esp + 0x1d], esi
xchg edi, ebx
bsf di, si
jmp 0x69cd89
add esp, 0x32
cld
setnp bh
mov ebp, dword [esp + 4]
mov di, dx
pop word [esp + 1]
jmp 0x69d6dd
mov word [esp + 0xe], bx
mov bp, 0x3d19
setno ah
lea edx, [ebp*4]
lea eax, [eax - 0x42afb17]
jmp 0x69cd6f
xchg ebp, ebx
pop esi
mov edx, 0x251e844
call fcn.0069cee1
pop word [esp + 3]
mov byte [esp], bh
jmp 0x69d41b
mov word [esp + 3], sp
mov cl, 0xe2
mov bx, dx
xchg cx, bx
rdtsc
mov al, ah
jmp 0x69d400
Function at 0x69ce2e
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x69cea5
not dh
lea esp, [esp + 3]
xchg word [esp], si
mov byte [esp + 1], ch
inc bx
rol dx, cl
jmp 0x69ce8d
mov di, 0xa8eb
cmc
push edx
mov cl, ch
xchg dh, al
pop word [esp]
jmp 0x69cec1
rcr esi, 0x13
mov ebx, 0x30d652f2
xchg di, dx
xchg esi, ebp
xchg ebp, ecx
jmp 0x69ce77
bsf bp, ax
and ebx, ecx
rdtsc
lea ebp, [edx*4]
xchg word [esp + 3], bx
xchg dword [esp], ebx
jmp 0x69ce30
neg bp
clc
xchg bp, di
inc ebp
pop ax
push esp
jmp 0x69d2ee
pop dx
mov word [esp], bx
xchg ch, dl
lea eax, [esp + edx]
bswap ecx
lea esi, [esi + 0xe5]
pop eax
jmp 0x69d24f

Function at 0x69cfcf
Capabilities:
Execute anti-debugging instructions

Disassembly:
cpuid
mov esi, 0xe5270890
jmp 0x69d15e
mov dword [esp + 0xb], ecx
cpuid
pop ecx
lea esi, [edx*4]
stc
mov cx, bx
jmp 0x69d04c
sub esp, 0x18
sub bp, 0xe3a0
add esp, 7
popal
rcr esi, 0x1d
not di
jmp 0x69d001
add al, dh
lea ebx, [eax + edx]
xchg word [esp], bx
lea ecx, [esp + edx]
btr ebp, edx
pushal
jmp 0x69d01e
xchg byte [esp + 2], bl
shr bh, 3
add esp, 2
mov esi, dword [esp + 7]
lea ebx, [eax + 0xa1]
jmp 0x69d0a2
mov edx, esi
add esp, 5
mov word [esp], di
pop cx
xchg ah, bl
mov word [esp], di
jmp 0x69d03a
mov al, 0xd6
inc bp
mov dword [esp + 5], ecx
push word [esp + 0xb]
add esp, 5
not bx
jmp 0x69d0ec
mov ebp, esi
xchg cx, ax
stc
rdtsc
lea esi, [edi*4]
inc cl
jmp 0x69d079
xchg dword [esp + 3], ebp
xchg byte [esp + 2], bl
cpuid
shl bx, cl
inc esi
setl ah
jmp 0x69d066
lea esp, [esp + 5]
mov word [esp + 1], bx
sub esp, 4
sub esp, 0x1e
setnp ah
jmp 0x69d0fd
btr ebx, esp
xchg dh, al
cpuid
bswap esi
xchg bh, cl
mov dword [esp + 1], ebp
jmp 0x69d0d2
xchg dword [esp + 0x10], eax
ror edx, 5
add esp, 0x24
lea esp, [esp]
neg cx
mov cl, 0xda
jmp 0x69d13d
push dword [esp + 0x18]
mov bh, byte [esp + 3]
lea esp, [esp + 0x14]
mov word [esp + 8], dx
setns ch
pop word [esp + 5]
jmp 0x69d0bf
inc si
mov bl, 0xf0
mov word [esp], dx
add esp, 1
mov si, 0xb2cf
rdtsc
call fcn.0069d1df
pushal
hlt
xchg cx, bx
bsr bp, cx
xchg dword [esp + 1], ebx
xchg word [esp + 4], di
xchg byte [esp + 0x14], al
jmp 0x69d122

Function at 0x69d40d
Capabilities:
Parse pe header

Disassembly:
xchg byte [esp + 0x18], al
push word [esp]
mov ecx, esi
jmp 0x69cd38
bswap ebp
sub esp, 0x1c
rdtsc
xchg dword [esp + 0x1d], esi
xchg edi, ebx
bsf di, si
jmp 0x69cd89
add esp, 0x32
cld
setnp bh
mov ebp, dword [esp + 4]
mov di, dx
pop word [esp + 1]
jmp 0x69d6dd
mov word [esp + 0xe], bx
mov bp, 0x3d19
setno ah
lea edx, [ebp*4]
lea eax, [eax - 0x42afb17]
jmp 0x69cd6f
xchg ebp, ebx
pop esi
mov edx, 0x251e844
call fcn.0069cee1
pop word [esp + 3]
mov byte [esp], bh
jmp 0x69d41b
mov word [esp + 3], sp
mov cl, 0xe2
mov bx, dx
xchg cx, bx
rdtsc
mov al, ah
jmp 0x69d400
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x44e327]
shl eax, 2
mov dword [0x44e32b], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00443a6c
pop edx
call fcn.004439d0
call fcn.004433b4
push 0
call fcn.00444ccc
pop ecx
push 0x44e2d0
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x44e32f], eax
push 0
jmp fcn.00448b14

Function at 0x4076a4
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.00441808
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4076f3
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.00441a38
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d654
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 0x40d65a
ret

Function at 0x40f9b8
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 0x40fa09
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x40f9f0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x40f9e0
jmp 0x40fa09
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 0x40f9f1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416a80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4528c0
cmp dword [edi], 0
jne 0x416afc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4528bc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44ebdc
mov ecx, 2
call fcn.00440874
mov edx, 0x416a58
lea eax, [esi + 5]
call fcn.00416a78
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00416a78
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 0x416ad1
mov dword [0x4528bc], 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 0x416c18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x416c68]
test si, 4
je 0x416c2c
or bl, 1
test si, 8
je 0x416c36
or bl, 4
test si, 1
je 0x416c40
or bl, 8
test si, 2
je 0x416c4a
or bl, 0x10
test si, 0x10
je 0x416c54
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x416c63
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x416c6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x416ca4]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x416c85
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x416c94
or bl, 4
test esi, 0x20000000
je 0x416c9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x41d1f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x41d206
add esp, 0xfffffff0
call fcn.00441098
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00437d14
mov eax, ebx
call fcn.0041d540
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x431a4c]
call fcn.00440d80
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x431a4c]
call fcn.00440d80
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x431a4c]
call fcn.00440d80
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x431a4c]
call fcn.00440d80
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x431a4c]
call fcn.00440d80
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x419ce4
push eax
push 0
push 0
mov eax, dword [0x452628]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x40cdd8]
call fcn.0040e0b4
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40cdd8]
call fcn.0040e0b4
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x40cdd8]
call fcn.0040e0b4
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0041d920
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41d83c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41d83c
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41d83c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41d315
call fcn.004410f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41d620
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 0x41d7cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x41d7ac
mov dl, 1
mov eax, dword [0x431d88]
call fcn.00440d80
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00441808
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x41d79b
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.00430cf4
test al, al
je 0x41d78e
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, 0x41d7dc
lea eax, [ebp - 0x254]
call fcn.0043c17c
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41d78e
xor eax, eax
push ebp
push 0x41d787
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 0x41d814
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41d770
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00441a38
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 0x41d770
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00441a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d78e
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x41d691
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00434da8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d7d2
lea eax, [ebp - 0x260]
call fcn.00441808
ret

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

Disassembly:
push ecx
mov eax, dword [0x4528b0]
cmp byte [eax + 0x95], 0
jne 0x41e089
cmp dword [0x4528cc], 0
jne 0x41e04a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x41dfd4
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4528cc], eax
cmp dword [0x4528c8], 0
jne 0x41e065
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4528c8], eax
cmp dword [0x4528d0], 0
jne 0x41e089
push esp
push 0
push 0
push 0x41df78
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4528d0], eax
pop edx
ret
Function at 0x41e180
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41e197
add esp, 0xfffffff0
call fcn.00441098
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00437d14
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x431a4c]
call fcn.00440d80
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x431a4c]
call fcn.00440d80
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x40d50c]
call fcn.00412f34
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x41e30c
mov eax, dword [0x4527b8]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00413304
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41fc80
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4527b8]
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.0043d520
test eax, eax
je 0x41e28a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043bb1c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043d548
test eax, eax
je 0x41e29e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00441a38
mov eax, dword [0x4527bc]
cmp byte [eax], 0
jne 0x41e2cf
mov eax, ebx
call fcn.0041e3f8
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41e301
call fcn.004410f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e668
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4528b0]
cmp dword [eax + 0x24], 0
je 0x41e70b
cmp dword [ebx + 0x84], 0
jne 0x41e705
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x41e5f8
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x41e705
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 0x41e6ce
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x41e705
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00433100
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x41e6dd
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x41f118
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x41f14d
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.004418f0
jmp 0x41f157
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.0044185c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x41fff4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x42002c
mov eax, esi
call fcn.0042caac
test al, al
je 0x42002c
mov eax, dword [ebx + 0x74]
call fcn.0042c7b0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x42002c
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042c7b0
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x4244b8
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 - 0xc]
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
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45294c], 0
sete dl
or al, dl
jne 0x4245f8
mov eax, dword [0x452950]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45294c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4245c7
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45294c]
call fcn.00433100
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4245bf
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4245bf
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4245bf
mov eax, dword [ebp - 0x14]
call fcn.0042c7b0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4245bf
push ebp
call fcn.00424474
pop ecx
test al, al
jne 0x4245bf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42457b
mov eax, dword [ebp - 0x14]
call fcn.0042b13c
dec eax
jle 0x4245bf
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00440f8c
cmp byte [ebp - 1], 0
je 0x4245bf
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x4245bf
mov edx, dword [ebp - 0x14]
mov eax, dword [0x452950]
call fcn.00423cc0
inc edi
dec esi
jne 0x42450e
mov eax, dword [0x452950]
cmp dword [eax + 8], 0
jle 0x4245df
mov eax, dword [0x452950]
call fcn.00423d50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4245f8
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004242dc
pop ecx
test al, al
jne 0x4245f8
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 0x42a148
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 0x42a179
je 0x42a1d3
sub eax, 7
je 0x42a19a
dec eax
je 0x42a1c4
sub eax, 0x17
je 0x42a278
jmp 0x42a2b6
add eax, 0xffffff00
sub eax, 9
jb 0x42a264
add eax, 0xffffff09
sub eax, 0xb
jb 0x42a22c
jmp 0x42a2b6
mov eax, ebx
call fcn.00416d64
mov edi, eax
test edi, edi
je 0x42a316
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42a31f
jmp 0x42a316
test byte [ebx + 0x44], 0x20
jne 0x42a31f
jmp 0x42a316
mov edx, esi
mov eax, ebx
call fcn.00427748
cmp dword [esi + 0xc], 0xffffffff
jne 0x42a31f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00439964
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00426294
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042a020
test eax, eax
je 0x42a31f
mov dword [esi + 0xc], 1
jmp 0x42a31f
mov edx, esi
mov eax, ebx
call fcn.0042a0b4
test al, al
je 0x42a316
cmp dword [esi + 0xc], 0
jne 0x42a31f
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0042c7b0
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x42a31f
mov eax, ebx
call fcn.00426de4
test al, al
jne 0x42a31f
jmp 0x42a316
mov eax, ebx
call fcn.0042c7b0
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x42a316
cmp dword [0x44ee84], 0
je 0x42a316
mov eax, dword [0x44ee84]
cmp ebx, dword [eax + 0x24]
jne 0x42a316
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x44ee84]
call fcn.0042767c
jmp 0x42a316
mov eax, dword [0x452914]
cmp byte [eax + 0x20], 0
je 0x42a316
mov eax, dword [0x452914]
cmp dword [eax + 0x1c], 0
je 0x42a316
mov eax, dword [esi]
mov edx, dword [0x452914]
cmp eax, dword [edx + 0x1c]
jne 0x42a316
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.00416ca8
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, 0xffb7
call fcn.00440f8c
jmp 0x42a31f
mov edx, esi
mov eax, ebx
call fcn.00427748
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret