joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d60
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 0x407dc6
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_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00405a90
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004041d4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x407db0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407dcd
lea eax, [ebp - 0x10]
call fcn.00405820
ret

Function at 0x40bf3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40bf8e
test eax, edx
je 0x40bf91
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40bf51
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40bf77
add ecx, 4
js 0x40bf67
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40bf74
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40bf9d
test edx, edx
jne 0x40bf44
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40ce18
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405cfc
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40ce31
test al, 0x10
je 0x40ce35
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ce3c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405cfc
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40ce55
test al, 0x10
jne 0x40ce59
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40cf98
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405cfc
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x40cfba
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4103ec
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
test eax, eax
jle 0x410425
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405910
jmp 0x41042e
mov eax, ebx
mov edx, esi
call fcn.00405874
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x410438
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
test eax, eax
jle 0x410459
mov al, byte [esp]
jmp 0x41045b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410af0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x410958
mov eax, dword [0x63f218]
cmp byte [eax], 0
je 0x410b6c
mov eax, dword [0x63ed7c]
call fcn.00403d30
call fcn.0040354c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040d35c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x410bb4
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x410ba2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x63ecd4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6427fc]
call fcn.00407128
push eax
call sub.user32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA
add esp, 0x444
ret

Function at 0x411494
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 0x41156a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004058b8
lea eax, [ebp - 8]
call fcn.00405d4c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405cfc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x411554
mov eax, ebx
call fcn.00403320
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41154d
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.00405cfc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x411537
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41157c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x411537
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 0x411554
mov eax, dword [ebp - 0x10]
call fcn.0040333c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411571
lea eax, [ebp - 8]
call fcn.00405820
ret

Function at 0x42cea0
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.0042cb98
dec esi
jne 0x42cec2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42e0f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x644dd8
cmp dword [esi], 0
jne 0x42e19a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x644dd4]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x62b928
mov ecx, 2
call fcn.00403618
mov edx, 0x42e0cc
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0042e0ec
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.0042e0ec
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x42e161
mov eax, dword [ebp - 8]
mov dword [0x644dd4], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4303f0
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.00405cfc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x430448
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x63f4dc]
mov dl, 1
mov eax, dword [0x42fefc]
call fcn.00410cd4
call fcn.0040516c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00430004
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 0x4319d0
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 0x4319d6
ret
Function at 0x44f4d8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405cec
xor eax, eax
push ebp
push 0x44f608
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x44f5db
xor eax, eax
push ebp
push 0x44f5d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405afc
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44f5a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44f598
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405afc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405cfc
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00403618
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 0x44f59f
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x63eb9c]
mov dl, 1
mov eax, dword [0x40b084]
call fcn.00410c98
call fcn.0040516c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f60f
lea eax, [ebp - 4]
call fcn.00405820
ret
Function at 0x44f618
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 0x44f7c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405eec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x44f7e0
call fcn.00405b48
mov eax, ebx
call fcn.0042d668
mov edi, eax
dec edi
test edi, edi
jl 0x44f6d0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042d63c
mov edx, dword [0x44284c]
call fcn.00404a3c
test al, al
je 0x44f6cc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042d63c
lea edx, [ebp - 0x14]
call fcn.004575d4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405eec
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405bbc
inc esi
dec edi
jne 0x44f67e
mov al, byte [0x44f7e4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x44f7f0
mov eax, dword [ebp - 0xc]
call fcn.00411fd8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004058b8
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.004575d4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x44f7e0
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 + 0x360]
call fcn.004575d4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x44f7e0
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, 0x44f7e0
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, 0x44f7fc
call fcn.0040db50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f7d0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405844
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405844
lea eax, [ebp - 0x14]
call fcn.00405820
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405844
ret
Function at 0x450abc
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 0x450b2e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x450b02
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00405a18
jmp 0x450b09
mov eax, ebx
call fcn.00405820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450b35
cmp dword [ebp - 8], 0
je 0x450b25
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 0x450b3c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], 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 0x450be4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x450bb7
mov edx, ebx
mov eax, dword [0x4313a4]
call fcn.00435d20
test al, al
je 0x450ba7
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00435c30
call fcn.00405218
jmp 0x450beb
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x450b6f
mov ecx, dword [0x63ecbc]
mov dl, 1
mov eax, dword [0x40b084]
call fcn.00410c98
call fcn.0040516c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450beb
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x450bf4
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 0x450c4c
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 0x450c53
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x450c5c
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 0x450cb1
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 0x450cb8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x450d28
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 0x450d9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004509f8
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.00435cf4
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 0x450d87
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 0x450da4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x450dac
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 0x450e21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004509f8
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 0x450e0b
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 0x450e28
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x454dac
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 [0x6450ac], 0
je 0x454ef5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x63f124]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x454ef5
mov eax, dword [0x6450b0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6450ac]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x454ec4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6450ac]
call fcn.00423690
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x454ebc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x454ebc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x454ebc
mov eax, dword [ebp - 0x14]
call fcn.0045f528
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454ebc
push ebp
call fcn.00454d68
pop ecx
test al, al
jne 0x454ebc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404aac
test al, al
je 0x454ebc
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, 0xffbc
call fcn.00404aac
cmp byte [ebp - 1], 0
je 0x454ebc
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x454ebc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6450b0]
call fcn.004544f4
inc edi
dec ebx
jne 0x454e11
mov eax, dword [0x6450b0]
cmp dword [eax + 8], 0
jle 0x454edc
mov eax, dword [0x6450b0]
call fcn.004545b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x454ef5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00454bd0
pop ecx
test al, al
jne 0x454ef5
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 0x45c4c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffedc
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004080ac
lea edx, [esp + 0x11c]
call fcn.004091a0
lea edx, [esp + 0x11c]
mov ecx, esp
mov eax, esi
call fcn.00457114
test ebx, ebx
jne 0x45c510
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0045c400
mov ebx, eax
test ebx, ebx
je 0x45c5fb
cmp esi, ebx
je 0x45c539
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x10c], eax
jmp 0x45c54e
mov eax, dword [esp]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10c], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x110], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x45c586
add eax, 0xffffff5f
sub eax, 2
jb 0x45c59e
dec eax
sub eax, 2
jb 0x45c5b2
dec eax
sub eax, 2
jb 0x45c5a8
jmp 0x45c5bc
add eax, 0xfffffdff
sub eax, 2
jb 0x45c59e
dec eax
sub eax, 2
jb 0x45c5b2
dec eax
sub eax, 2
jb 0x45c5a8
jmp 0x45c5bc
mov byte [esp + 0x114], 0
jmp 0x45c5c4
mov byte [esp + 0x114], 2
jmp 0x45c5c4
mov byte [esp + 0x114], 1
jmp 0x45c5c4
mov byte [esp + 0x114], 0
lea eax, [esp + 8]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 8]
call fcn.00473644
mov byte [esp + 0x115], al
lea eax, [esp + 0x108]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004588bc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x45c5fd
xor eax, eax
add esp, 0x124
pop edi
pop esi
pop ebx
ret
Function at 0x464948
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x63f4c4]
cmp byte [eax + 0xc], 0
je 0x464ab5
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464aae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6450bc], 0
jne 0x46499c
push 0x464abc
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x464ac4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450bc], eax
cmp dword [0x62c594], 0
jne 0x464a97
push 0x464ad4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x62c594], eax
cmp dword [0x62c594], 0
je 0x464a97
push 0x464ae0
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450c0], eax
push 0x464af0
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450c4], eax
push 0x464b04
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450c8], eax
push 0x464b1c
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450cc], eax
push 0x464b34
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450d0], eax
push 0x464b48
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450d4], eax
push 0x464b60
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450d8], eax
push 0x464b78
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450dc], eax
push 0x464b94
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450e0], eax
push 0x464ba0
mov eax, dword [0x62c594]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6450e4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464ab5
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x469884
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.00405820
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4698d3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405a90
pop ebx
mov esp, ebp
pop ebp
ret