joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60f9b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, edx
test ebx, ebx
js 0x60f9d6
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x60f9cf
mov eax, esp
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x60fa6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0xc]
inc ebx
mov edx, ebx
lea eax, [ebp - 4]
xor ecx, ecx
call fcn.0040a724
mov edi, ebx
dec edi
test edi, edi
jl 0x60fa49
inc edi
xor esi, esi
mov ebx, dword [ebp - 8]
lea eax, [esi + 1]
push eax
mov eax, 0xff
pop edx
mov ecx, edx
cdq
idiv ecx
movzx edx, byte [ebx]
xor al, dl
mov edx, esi
inc edx
lea edx, [edx + edx*2]
movzx ecx, byte [ebp - 0xc]
inc ecx
lea ecx, [ecx + ecx*4]
add dl, cl
xor al, dl
mov byte [ebp - 0x11], al
lea eax, [ebp - 4]
call fcn.0040a4a0
movzx edx, byte [ebp - 0x11]
mov byte [eax + esi], dl
inc esi
inc ebx
dec edi
jne 0x60fa0c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040aa1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60fa73
lea eax, [ebp - 4]
call fcn.00409f3c
pop eax
jmp eax

Function at 0x60ffc0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x60ffd5
or edx, 0x200
test eax, 0x20000000
je 0x610008
test eax, 0x40000000
je 0x60fff4
test eax, 0x80000000
je 0x60ffef
or edx, 0x40
jmp 0x61002f
or edx, 0x20
jmp 0x61002f
test eax, 0x80000000
je 0x610003
or edx, 0x80
jmp 0x61002f
or edx, 0x10
jmp 0x61002f
test eax, 0x40000000
je 0x610020
test eax, 0x80000000
je 0x61001b
or edx, 4
jmp 0x61002f
or edx, 2
jmp 0x61002f
test eax, 0x80000000
je 0x61002c
or edx, 8
jmp 0x61002f
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x6105e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov word [ebp - 2], cx
mov esi, edx
mov ecx, eax
mov ebx, dword [ebp + 8]
cmp esi, 8
jbe 0x610616
mov eax, ecx
add eax, esi
sub eax, 8
cmp dword [eax + 4], 0xff0011ff
jne 0x610614
cmp dword [eax], 0x55112200
je 0x61061a
xor eax, eax
jmp 0x61061c
mov al, 1
mov byte [ebp - 3], al
cmp byte [ebp - 3], 0
je 0x610680
mov edx, ecx
mov eax, ecx
sub esi, 8
xor bx, 0xd39
mov ecx, dword [0x61efb0]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x188]
lea ecx, [ecx + ecx*2]
xor word [ebp + 0xc], cx
add word [ebp + 0xc], 0x4e6
xor bx, 0xd39
add bx, 0x2157
sub word [ebp - 2], 0x7a6
test esi, esi
jbe 0x610680
movzx ecx, bx
shr ecx, 8
xor cl, byte [edx]
mov byte [eax], cl
add bl, byte [eax]
movzx ecx, bl
imul cx, word [ebp - 2]
add cx, word [ebp + 0xc]
mov ebx, ecx
inc edx
inc eax
dec esi
jne 0x610661
movzx eax, byte [ebp - 3]
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x610714
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x6107c5
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [eax], 0xe9
jne 0x610747
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6107da
mov ebx, eax
mov eax, dword [ebp - 4]
mov edi, ebx
sub eax, edi
sub eax, 5
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x40
mov edx, 5
mov eax, ebx
call fcn.0060fae0
push 0x40
push 0x3000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov dword [esi], edi
mov edx, esi
add edx, 5
mov cl, 5
mov eax, ebx
call fcn.006106e0
mov edx, esi
add edx, 4
mov byte [edx], al
mov byte [ebx], 0xe9
inc edi
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, 5
mov eax, ebx
call fcn.0060fae0
add esi, 5
mov eax, dword [ebp - 8]
mov dword [eax], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6107d6
mov byte [ebp - 9], 1
movzx eax, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402a70
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.004041ac
test esi, esi
jne 0x402aa6
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.0040429c
jmp 0x402ac4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402984
mov edi, eax
test esi, esi
je 0x402ac4
cmp dword [ebx], 0
je 0x402ac4
dec esi
jmp 0x402aad
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4031cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b3020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403264
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403244
xor eax, eax
push ebp
push 0x40323d
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 0x403280
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 0x403244
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b3020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b3020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f8c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b504c], 0
je 0x403fed
cmp word [0x4b5220], 0xd7b2
jne 0x403fb5
cmp dword [0x4b5228], 0
jbe 0x403fb5
mov eax, 0x4b521c
call dword [0x4b5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b306c
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 0x404014
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b3030], 0
jne 0x404009
push 0
push 0x4b3064
push 0x4b306c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404160
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.00402748
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4b504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404128
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4064c0
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 0x406526
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.0040442c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d2c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406510
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40652d
lea eax, [ebp - 0x10]
call fcn.004041ac
ret

Function at 0x40ce1c
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 0x40ce55
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040429c
jmp 0x40ce5e
mov eax, ebx
mov edx, esi
call fcn.00404200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ce68
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 0x40ce89
mov al, byte [esp]
jmp 0x40ce8b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40de70
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 0x40df46
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404244
lea eax, [ebp - 8]
call fcn.004046e8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404698
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40df30
mov eax, ebx
call fcn.00402748
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40df29
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.00404698
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40df13
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40df58
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40df13
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 0x40df30
mov eax, dword [ebp - 0x10]
call fcn.00402768
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40df4d
lea eax, [ebp - 8]
call fcn.004041ac
ret
Function at 0x40e51c
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 0x40e580
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.0040442c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409548
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e587
lea eax, [ebp - 0xc]
call fcn.004041ac
ret

Function at 0x423584
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.004233dc
dec esi
jne 0x4235a6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4246e8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b588c
cmp dword [edi], 0
jne 0x424764
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b5888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b3524
mov ecx, 2
call fcn.00402944
mov edx, 0x4246c0
lea eax, [esi + 5]
call fcn.004246e0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004246e0
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 0x424739
mov dword [0x4b5888], 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 0x425d28
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 0x425d2e
ret

Function at 0x42838c
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 0x4283dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4283c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4283b4
jmp 0x4283dd
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 0x4283c5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438ab0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438c19
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404244
mov eax, dword [ebp - 0x10]
call fcn.00438818
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x438b02
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404738
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00438f68
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x438bd7
xor eax, eax
push ebp
push 0x438bd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00438988
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00438c48
test al, al
je 0x438bae
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040429c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x438bae
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404698
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x438ba8
mov eax, dword [ebp - 0x14]
call fcn.00404698
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004043b4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00438ab0
dec ebx
cmp ebx, 0xffffffff
jne 0x438b61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438bd7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00438988
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404698
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00438974
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438c20
lea eax, [ebp - 0x3c]
call fcn.004041ac
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004041d0
ret

Function at 0x438c48
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402d0c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4b4b10]
cmp byte [edx + 0xc], 0
je 0x438cac
mov edx, dword [0x4b4b00]
cmp dword [edx], 2
jne 0x438cac
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x438e7c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0043882c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404698
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x438eda
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4834]
mov dl, 1
mov eax, dword [0x438724]
call fcn.0040d6d0
call fcn.00403b28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438ee4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404698
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x438f3c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4b1c]
mov dl, 1
mov eax, dword [0x438724]
call fcn.0040d6d0
call fcn.00403b28
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043885c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4534a0
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 0x4533ec
call sub.user32.dll_EnumWindows
ret

Function at 0x4535c0
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 0x45363d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00453020
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 0x4535e5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00452c20
cmp dword [ebp - 4], 0
je 0x453627
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404698
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 0x453644
lea eax, [ebp - 4]
call fcn.004041ac
ret

Function at 0x456c80
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 [0x4b5b6c], 0
je 0x456dcf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4b48f8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x456dcf
mov eax, dword [0x4b5b70]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4b5b6c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x456d9e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4b5b6c]
call fcn.0041a958
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x456d96
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x456d96
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x456d96
mov eax, dword [ebp - 0x14]
call fcn.0045f918
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456d96
push ebp
call fcn.00456c3c
pop ecx
test al, al
jne 0x456d96
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x456d52
mov eax, dword [ebp - 0x14]
call fcn.0045e448
dec eax
jle 0x456d96
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.00403558
cmp byte [ebp - 1], 0
je 0x456d96
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x456d96
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4b5b70]
call fcn.00456408
inc edi
dec ebx
jne 0x456ce5
mov eax, dword [0x4b5b70]
cmp dword [eax + 8], 0
jle 0x456db6
mov eax, dword [0x4b5b70]
call fcn.00456498
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x456dcf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00456aa4
pop ecx
test al, al
jne 0x456dcf
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 0x45a3b0
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 0x45a3fc
mov eax, esi
call fcn.004706c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45a3fc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x45a3fc
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 0x45a53b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x45a43c
cmp eax, 0x108
ja 0x45a43c
mov eax, esi
call fcn.004706c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45a532
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x45a53b
jmp 0x45a532
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45a51b
cmp eax, 0x20a
ja 0x45a51b
test byte [esi + 0x50], 0x80
jne 0x45a46e
sub eax, 0x203
je 0x45a46b
sub eax, 3
je 0x45a46b
sub eax, 3
jne 0x45a46e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45a482
dec eax
je 0x45a497
dec eax
je 0x45a4b4
dec eax
je 0x45a497
jmp 0x45a4bb
mov ecx, ebx
mov eax, dword [0x4b48f8]
mov eax, dword [eax]
mov edx, esi
call fcn.00479f2c
jmp 0x45a532
cmp byte [esi + 0x5d], 1
jne 0x45a4ad
mov eax, esi
mov si, 0xffed
call fcn.00403558
jmp 0x45a53b
or word [esi + 0x54], 1
jmp 0x45a532
and word [esi + 0x54], 0xfffe
jmp 0x45a532
mov eax, dword [0x4b5b28]
cmp byte [eax + 0x20], 0
je 0x45a532
mov eax, dword [0x4b5b28]
cmp dword [eax + 0x1c], 0
je 0x45a532
mov eax, dword [ebx]
mov edx, dword [0x4b5b28]
cmp eax, dword [edx + 0x1c]
jne 0x45a532
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.0047060c
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.00403558
jmp 0x45a53b
cmp eax, 0xb00b
jne 0x45a532
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00458cd0
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