joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40860d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40863b
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x408642
cmp ebx, dword [eax + 4]
jae 0x408642
xor eax, eax
jmp 0x408832
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x408653
xor eax, eax
inc eax
jmp 0x408831
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x408669
cmp ecx, edx
jae 0x4087ae
cmp dword [eax + 4], 0
je 0x408672
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40865a
cmp dword [ebp + 8], 0
je 0x408694
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4087ae
cmp eax, esi
jae 0x4087ae
mov eax, dword [0x40ed00]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4086b9
cmp dword [esi*4 + 0x40ed08], edi
je 0x4087b2
inc esi
cmp esi, eax
jl 0x4086a7
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40882e
cmp dword [ebp - 8], 0x1000000
jne 0x40882e
test byte [ebp - 0xc], 0xcc
je 0x408737
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40882e
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40882e
cmp word [eax + 0x18], 0x10b
jne 0x40882e
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40882e
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x408737
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x408737
test byte [ecx + 0x27], 0x80
jne 0x4087ae
push 1
push 0x40ed48
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x40864b
mov ecx, dword [0x40ed00]
test ecx, ecx
mov edx, ecx
jle 0x40876b
lea eax, [ecx*4 + 0x40ed04]
cmp dword [eax], edi
je 0x40876b
dec edx
sub eax, 4
test edx, edx
jg 0x40875f
test edx, edx
jne 0x40879c
push 0xf
pop ebx
cmp ecx, ebx
jg 0x408778
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x408790
lea eax, [edx*4 + 0x40ed08]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40877e
cmp ecx, 0x10
jge 0x40879c
inc ecx
mov dword [0x40ed00], ecx
push 0
push 0x40ed48
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x40864b
xor eax, eax
jmp 0x408831
test esi, esi
jle 0x40864b
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40ed48
call ebx
test eax, eax
jne 0x40864b
cmp dword [esi*4 + 0x40ed08], edi
je 0x408808
mov eax, dword [0x40ed00]
lea esi, [eax - 1]
test esi, esi
jl 0x4087f6
cmp dword [esi*4 + 0x40ed08], edi
je 0x4087f2
dec esi
jns 0x4087e6
test esi, esi
jge 0x408806
cmp eax, 0x10
jge 0x408801
inc eax
mov dword [0x40ed00], eax
lea esi, [eax - 1]
jmp 0x408808
je 0x408820
xor ecx, ecx
test esi, esi
jl 0x408820
lea eax, [ecx*4 + 0x40ed08]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40880e
push 0
push 0x40ed48
call ebx
jmp 0x40864b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408998
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00403e00
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x408a33
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x40eb7c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x408a33
cmp eax, 1
je 0x408a54
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x408a33
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x408a00
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x408a2f
xor eax, eax
inc eax
jmp 0x408a73
cmp edi, eax
jae 0x408a37
xor eax, eax
jmp 0x408a73
cmp eax, esi
jae 0x408a3e
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x40eb7c]
jmp 0x408a57
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a34
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004044f8
test esi, esi
jne 0x402a6a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004045e8
jmp 0x402a88
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402948
mov edi, eax
test esi, esi
je 0x402a88
cmp dword [ebx], 0
je 0x402a88
dec esi
jmp 0x402a71
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40359c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403634
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403614
xor eax, eax
push ebp
push 0x40360d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403650
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403614
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48a048], 0
je 0x404359
cmp word [0x48a21c], 0xd7b2
jne 0x404321
cmp dword [0x48a224], 0
jbe 0x404321
mov eax, 0x48a218
call dword [0x48a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45d070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404380
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45d030], 0
jne 0x404375
push 0
push 0x45d068
push 0x45d070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4044ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040270c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48a049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404474
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40612c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406192
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404768
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403004
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40617c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406199
lea eax, [ebp - 0x10]
call fcn.004044f8
ret

Function at 0x40b56c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b5a5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045e8
jmp 0x40b5ae
mov eax, ebx
mov edx, esi
call fcn.0040454c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b5b8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b5d9
mov al, byte [esp]
jmp 0x40b5db
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c59c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c672
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404590
lea eax, [ebp - 8]
call fcn.00404a08
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049b8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c65c
mov eax, ebx
call fcn.0040270c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c655
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049b8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c63f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c684
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c63f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c65c
mov eax, dword [ebp - 0x10]
call fcn.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c679
lea eax, [ebp - 8]
call fcn.004044f8
ret
Function at 0x40cb84
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cbe8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404768
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408828
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbef
lea eax, [ebp - 0xc]
call fcn.004044f8
ret

Function at 0x41a290
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041a0e8
dec esi
jne 0x41a2b2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41b3f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48a888
cmp dword [edi], 0
jne 0x41b470
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45d3f0
mov ecx, 2
call fcn.00402908
mov edx, 0x41b3cc
lea eax, [esi + 5]
call fcn.0041b3ec
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b3ec
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 0x41b445
mov dword [0x48a884], 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 0x41c9ec
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 0x41c9f2
ret

Function at 0x41ee88
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 0x41eed9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41eec0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41eeb0
jmp 0x41eed9
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 0x41eec1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4279f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049a8
xor eax, eax
push ebp
push 0x427b1e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x427af1
xor eax, eax
push ebp
push 0x427aea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047b8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x427abf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x427aae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047b8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049b8
mov edx, ebx
pop ecx
call fcn.00402908
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427ab5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x488c78]
mov dl, 1
mov eax, dword [0x407544]
call fcn.0040be08
call fcn.00403eb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427b25
lea eax, [ebp - 4]
call fcn.004044f8
ret
Function at 0x427b2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x427cdd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404ba8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x427cf4
call fcn.00404804
mov eax, ebx
call fcn.0041a988
mov edi, eax
dec edi
test edi, edi
jl 0x427be4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a95c
mov edx, dword [0x42bf5c]
call fcn.004038b0
test al, al
je 0x427be0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a95c
lea edx, [ebp - 0x14]
call fcn.00434558
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404ba8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404878
inc esi
dec edi
jne 0x427b92
mov al, byte [0x427cf8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x427d04
mov eax, dword [ebp - 0xc]
call fcn.0040d15c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404590
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00434558
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x427cf4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00434558
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x427cf4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x427cf4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x427d10
call fcn.0040946c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427ce4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040451c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040451c
lea eax, [ebp - 0x14]
call fcn.004044f8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040451c
ret

Function at 0x42ef40
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 0x42ee8c
call sub.user32.dll_EnumWindows
ret
Function at 0x42f060
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 0x42f0dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042eac0
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 0x42f085
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042e6c0
cmp dword [ebp - 4], 0
je 0x42f0c7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004049b8
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 0x42f0e4
lea eax, [ebp - 4]
call fcn.004044f8
ret

Function at 0x4320a8
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 [0x48ab84], 0
je 0x4321f7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x488efc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4321f7
mov eax, dword [0x48ab88]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48ab84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4321c6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48ab84]
call fcn.004144bc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4321be
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4321be
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4321be
mov eax, dword [ebp - 0x14]
call fcn.0043ad40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4321be
push ebp
call fcn.00432064
pop ecx
test al, al
jne 0x4321be
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43217a
mov eax, dword [ebp - 0x14]
call fcn.00439870
dec eax
jle 0x4321be
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.00403920
cmp byte [ebp - 1], 0
je 0x4321be
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4321be
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48ab88]
call fcn.00431830
inc edi
dec ebx
jne 0x43210d
mov eax, dword [0x48ab88]
cmp dword [eax + 8], 0
jle 0x4321de
mov eax, dword [0x48ab88]
call fcn.004318c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4321f7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00431ecc
pop ecx
test al, al
jne 0x4321f7
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 0x4357d8
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 0x435824
mov eax, esi
call fcn.0044af88
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435824
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x435824
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 0x435963
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x435864
cmp eax, 0x108
ja 0x435864
mov eax, esi
call fcn.0044af88
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43595a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x435963
jmp 0x43595a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x435943
cmp eax, 0x20a
ja 0x435943
test byte [esi + 0x50], 0x80
jne 0x435896
sub eax, 0x203
je 0x435893
sub eax, 3
je 0x435893
sub eax, 3
jne 0x435896
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4358aa
dec eax
je 0x4358bf
dec eax
je 0x4358dc
dec eax
je 0x4358bf
jmp 0x4358e3
mov ecx, ebx
mov eax, dword [0x488efc]
mov eax, dword [eax]
mov edx, esi
call fcn.004547d4
jmp 0x43595a
cmp byte [esi + 0x5d], 1
jne 0x4358d5
mov eax, esi
mov si, 0xffed
call fcn.00403920
jmp 0x435963
or word [esi + 0x54], 1
jmp 0x43595a
and word [esi + 0x54], 0xfffe
jmp 0x43595a
mov eax, dword [0x48ab40]
cmp byte [eax + 0x20], 0
je 0x43595a
mov eax, dword [0x48ab40]
cmp dword [eax + 0x1c], 0
je 0x43595a
mov eax, dword [ebx]
mov edx, dword [0x48ab40]
cmp eax, dword [edx + 0x1c]
jne 0x43595a
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.0044aecc
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.00403920
jmp 0x435963
cmp eax, 0xb00b
jne 0x43595a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004340f8
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