joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cc74
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x42cc92
add esp, 0xfffffff0
call fcn.0040418c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405140
xor eax, eax
push ebp
push 0x42ce65
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405150
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov dword [esi + 0x20], edi
cmp edi, 0xffffffff
jne 0x42ccfa
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x42ce94
call fcn.00404f9c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x428588]
call fcn.0040ee0c
call fcn.004045f4
push 0
push 0
push 0
push 2
push 0
mov eax, dword [esi + 0x20]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov edi, eax
mov dword [esi + 0x24], edi
test edi, edi
jne 0x42cd3a
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x42ceb0
call fcn.00404f9c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x428588]
call fcn.0040ee0c
call fcn.004045f4
push 0
push 0
push 0
push 4
mov eax, dword [esi + 0x24]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edi, eax
mov dword [esi + 0x28], edi
test edi, edi
jne 0x42cd8d
push 0x42cedc
push dword [ebp - 4]
push 0x42cef8
lea eax, [ebp - 0x14]
call fcn.0042969c
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405010
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x428588]
call fcn.0040ee0c
call fcn.004045f4
mov eax, dword [ebp + 0x10]
add eax, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov byte [esi + 4], 0
mov edx, dword [esi + 0x2c]
xor ecx, ecx
mov eax, esi
call fcn.0042cc54
cmp eax, 0x950412de
je 0x42cdd8
cmp eax, 0xde120495
je 0x42cdd8
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, 0x42cf18
call fcn.00404f9c
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x428588]
call fcn.0040ee0c
call fcn.004045f4
cmp eax, 0xde120495
sete al
mov byte [esi + 4], al
mov edx, dword [esi + 0x2c]
mov ecx, 4
mov eax, esi
call fcn.0042cc54
mov edx, dword [esi + 0x2c]
mov ecx, 8
mov eax, esi
call fcn.0042cc54
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0xc
mov eax, esi
call fcn.0042cc54
mov dword [esi + 0x10], eax
mov edx, dword [esi + 0x2c]
mov ecx, 0x10
mov eax, esi
call fcn.0042cc54
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x18], 1
test eax, eax
je 0x42ce3f
shr eax, 1
shl dword [esi + 0x18], 1
test eax, eax
jne 0x42ce36
shr dword [esi + 0x18], 1
mov eax, dword [esi + 0x18]
shr eax, 1
mov dword [esi + 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ce6c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404ca4
ret

Function at 0x42e830
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 0x42e836
ret
Function at 0x431048
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 0x431099
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x431080
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x431070
jmp 0x431099
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 0x431081
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43dc7c
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.00405140
xor eax, eax
push ebp
push 0x43ddaa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43dd7d
xor eax, eax
push ebp
push 0x43dd76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f50
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43dd4b
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 0x43dd3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f50
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405150
mov edx, ebx
pop ecx
call fcn.00402ddc
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 0x43dd41
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5c634c]
mov dl, 1
mov eax, dword [0x408c9c]
call fcn.0040eec8
call fcn.004045f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ddb1
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x43ddb8
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 0x43df69
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405340
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43df80
call fcn.00404f9c
mov eax, ebx
call fcn.00427108
mov edi, eax
dec edi
test edi, edi
jl 0x43de70
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004270dc
mov edx, dword [0x463eb0]
call fcn.00403fac
test al, al
je 0x43de6c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004270dc
lea edx, [ebp - 0x14]
call fcn.004724b4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405340
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405010
inc esi
dec edi
jne 0x43de1e
mov al, byte [0x43df84]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43df90
mov eax, dword [ebp - 0xc]
call fcn.00410720
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404d18
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.004724b4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43df80
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.004724b4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43df80
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, 0x43df80
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, 0x43df9c
call fcn.0040b5e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43df70
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x14]
call fcn.00404c80
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ca4
ret
Function at 0x443170
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x443242
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x443214
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x443203
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402ddc
mov eax, dword [ebp - 4]
call fcn.004430ac
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44320a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x443254
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4432c6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x44329a
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00404e88
jmp 0x4432a1
mov eax, ebx
call fcn.00404c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4432cd
cmp dword [ebp - 8], 0
je 0x4432bd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4432fc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x44339e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x443371
mov edx, ebx
mov eax, dword [0x42e254]
call fcn.00432900
test al, al
je 0x443361
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00432810
call fcn.004046a0
jmp 0x4433a5
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x44332c
mov ecx, dword [0x5c63dc]
mov dl, 1
mov eax, dword [0x408c9c]
call fcn.0040eec8
call fcn.004045f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4433a5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4433ac
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x443404
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44340b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x443414
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x443469
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443470
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4434e0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x443555
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004430ac
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004328d4
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x44353f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44355c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x443564
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4435d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004430ac
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4435c3
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4435e0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x443634
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x443678
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44367f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x447994
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.00447338
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.00405150
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4479f2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5c65f4]
mov dl, 1
mov eax, dword [0x447230]
call fcn.0040ef04
call fcn.004045f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4479fc
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.00405150
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x447a54
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5c68dc]
mov dl, 1
mov eax, dword [0x447230]
call fcn.0040ef04
call fcn.004045f4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00447368
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 0x46b8f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x46bab0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00477e60
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x46ba95
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x46b953
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00404c80
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x46ba24
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x5c68b4]
and eax, 0xff
bt dword [edx], eax
jae 0x46b9e6
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.00478eb4
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x46ba64
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404e68
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00404e68
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00405010
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x46ba64
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404e68
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00404f58
jmp 0x46ba64
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404f50
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.004051f0
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404f50
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040f818
cmp al, 2
je 0x46ba04
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404f50
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.004051f0
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404f50
test eax, eax
jle 0x46ba7e
push ebp
call fcn.0046b80c
pop ecx
jmp 0x46ba95
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.0040401c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bab7
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ca4
ret

Function at 0x46c824
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 0x46c770
call sub.user32.dll_EnumWindows
ret
Function at 0x46c944
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 0x46c9c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046c3a4
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 0x46c969
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046bfa4
cmp dword [ebp - 4], 0
je 0x46c9ab
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405150
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 0x46c9c8
lea eax, [ebp - 4]
call fcn.00404c80
ret

Function at 0x470004
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 [0x5c7bc4], 0
je 0x470153
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5c66a8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x470153
mov eax, dword [0x5c7bc8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5c7bc4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x470122
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5c7bc4]
call fcn.0041d3c8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47011a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x47011a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x47011a
mov eax, dword [ebp - 0x14]
call fcn.00478eb4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47011a
push ebp
call fcn.0046ffc0
pop ecx
test al, al
jne 0x47011a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4700d6
mov eax, dword [ebp - 0x14]
call fcn.004779ac
dec eax
jle 0x47011a
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.0040401c
cmp byte [ebp - 1], 0
je 0x47011a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x47011a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5c7bc8]
call fcn.0046f78c
inc edi
dec ebx
jne 0x470069
mov eax, dword [0x5c7bc8]
cmp dword [eax + 8], 0
jle 0x47013a
mov eax, dword [0x5c7bc8]
call fcn.0046f81c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x470153
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046fe28
pop ecx
test al, al
jne 0x470153
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 0x47377c
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 0x4737c8
mov eax, esi
call fcn.0048b118
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4737c8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4737c8
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 0x473907
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x473808
cmp eax, 0x108
ja 0x473808
mov eax, esi
call fcn.0048b118
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4738fe
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x473907
jmp 0x4738fe
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4738e7
cmp eax, 0x20a
ja 0x4738e7
test byte [esi + 0x50], 0x80
jne 0x47383a
sub eax, 0x203
je 0x473837
sub eax, 3
je 0x473837
sub eax, 3
jne 0x47383a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x47384e
dec eax
je 0x473863
dec eax
je 0x473880
dec eax
je 0x473863
jmp 0x473887
mov ecx, ebx
mov eax, dword [0x5c66a8]
mov eax, dword [eax]
mov edx, esi
call fcn.004950c4
jmp 0x4738fe
cmp byte [esi + 0x5d], 1
jne 0x473879
mov eax, esi
mov si, 0xffed
call fcn.0040401c
jmp 0x473907
or word [esi + 0x54], 1
jmp 0x4738fe
and word [esi + 0x54], 0xfffe
jmp 0x4738fe
mov eax, dword [0x5c7b80]
cmp byte [eax + 0x20], 0
je 0x4738fe
mov eax, dword [0x5c7b80]
cmp dword [eax + 0x1c], 0
je 0x4738fe
mov eax, dword [ebx]
mov edx, dword [0x5c7b80]
cmp eax, dword [edx + 0x1c]
jne 0x4738fe
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.0048b03c
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.0040401c
jmp 0x473907
cmp eax, 0xb00b
jne 0x4738fe
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00472054
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