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

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x40b698
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x40b698
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40b64b
test edx, 3
jne 0x40b63a
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x40b645
jmp 0x40b64b
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40b64b
cmp dword [ecx - 8], 1
je 0x40b655
mov edx, ebx
or edx, 3
call fcn.00405dfc
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40b667
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00405684

Function at 0x40b6a4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x40b734
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x40b734
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40b6e7
test edx, 3
jne 0x40b6d6
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x40b6e1
jmp 0x40b6e7
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40b6e7
cmp dword [ecx - 8], 1
je 0x40b6f1
mov edx, ebx
or edx, 3
call fcn.00405dfc
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40b703
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.00405684

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405b74
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40c815
test al, 0x10
je 0x40c819
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405b74
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40c839
test al, 0x10
jne 0x40c83d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c93c
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.00405b74
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40c95e
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40fed4
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 0x40ff0d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405774
jmp 0x40ff16
mov eax, ebx
mov edx, esi
call fcn.004056d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ff20
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 0x40ff42
movzx eax, byte [esp]
jmp 0x40ff44
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410f5c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x411032
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040571c
lea eax, [ebp - 4]
call fcn.00405bc4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b74
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x41101c
mov eax, ebx
call fcn.00402fc8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x411015
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 - 4]
call fcn.00405b74
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x410fff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x411044
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x410fff
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41101c
mov eax, dword [ebp - 0x10]
call fcn.00402fe4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411039
lea eax, [ebp - 4]
call fcn.00405684
ret

Function at 0x428808
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.00428544
dec esi
jne 0x42882a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42999c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x69853c
cmp dword [edi], 0
jne 0x429a18
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x698538]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x67636c
mov ecx, 2
call fcn.00403234
mov edx, 0x429974
lea eax, [esi + 5]
call fcn.00429994
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00429994
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 0x4299ed
mov dword [0x698538], 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 0x42b41c
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.00405b74
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42b474
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x692374]
mov dl, 1
mov eax, dword [0x42ad50]
call fcn.004107c4
call fcn.00404ffc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042aec4
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 0x42cb70
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 0x42cb76
ret
Function at 0x44b1c8
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 0x44b29a
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 0x44b26c
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 0x44b25b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00403234
mov eax, dword [ebp - 4]
call fcn.0044b104
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 0x44b262
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x44b2d8
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 0x44b380
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x44b353
mov edx, ebx
mov eax, dword [0x42c514]
call fcn.00430d68
test al, al
je 0x44b343
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.00430c78
call fcn.004050a8
jmp 0x44b387
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x44b30b
mov ecx, dword [0x69055c]
mov dl, 1
mov eax, dword [0x40a7f8]
call fcn.00410788
call fcn.00404ffc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b387
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 0x44b390
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 0x44b3e8
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 0x44b3ef
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x44b3f8
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 0x44b44d
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 0x44b454
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44b4c4
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 0x44b539
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044b104
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.00430d3c
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 0x44b523
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 0x44b540
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44b548
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 0x44b5bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044b104
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 0x44b5a7
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 0x44b5c4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44e74c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44e7a0]
test si, 4
je 0x44e761
or bl, 1
test si, 8
je 0x44e76b
or bl, 4
test si, 1
je 0x44e775
or bl, 8
test si, 2
je 0x44e77f
or bl, 0x10
test si, 0x10
je 0x44e789
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e798
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e7a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44e7e0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e7be
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44e7cd
or bl, 4
test esi, 0x20000000
je 0x44e7d8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x455960
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455972
add esp, 0xfffffff0
call fcn.00404aac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004288dc
mov eax, dword [0x690618]
mov dword [eax + 4], ebx
mov dword [eax], 0x455d04
mov eax, dword [0x69065c]
mov dword [eax + 4], ebx
mov dword [eax], 0x455d10
mov eax, ebx
call fcn.00455d1c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x451b54
push eax
push 0
push 0
mov eax, dword [0x6910a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42bdfc]
call fcn.0042d6f0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42bdfc]
call fcn.0042d6f0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42bdfc]
call fcn.0042d6f0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004561dc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456064
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456064
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456064
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455aaf
call fcn.00404b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455e48
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x455ff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455fd4
mov dl, 1
mov eax, dword [0x41c794]
call fcn.00404718
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405684
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455fc3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0046d5b4
test al, al
je 0x455fb6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x456004
lea eax, [ebp - 0x254]
call fcn.0040d484
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455fb6
xor eax, eax
push ebp
push 0x455faf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45603c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455f98
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405904
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x455f98
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455fb6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455eb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00421ce0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455ffa
lea eax, [ebp - 0x260]
call fcn.00405684
ret

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

Disassembly:
push ecx
mov eax, dword [0x698720]
cmp byte [eax + 0xa9], 0
jne 0x456a25
cmp dword [0x698738], 0
jne 0x4569e6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456970
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x698738], eax
cmp dword [0x698734], 0
jne 0x456a01
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x698734], eax
cmp dword [0x69873c], 0
jne 0x456a25
push esp
push 0
push 0
push 0x456914
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x69873c], eax
pop edx
ret
Function at 0x456c24
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456c3b
add esp, 0xfffffff0
call fcn.00404aac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004288dc
mov eax, dword [0x69101c]
cmp word [eax + 2], 0
jne 0x456c63
mov eax, dword [0x69101c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004585b8
mov eax, dword [0x691674]
cmp word [eax + 2], 0
jne 0x456c7d
mov eax, dword [0x691674]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004587c4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x41bf94]
call fcn.00404718
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x42c9ac]
call fcn.00434e3c
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x456e34
mov eax, dword [0x69090c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043524c
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458e94
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x69090c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00411654
test eax, eax
je 0x456d84
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040cdd4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00411688
test eax, eax
je 0x456d98
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405904
mov byte [ebx + 0xd0], 0
push ebx
push 0x458100
call fcn.00429a58
mov dword [ebx + 0xc4], eax
mov eax, dword [0x68fe5c]
cmp byte [eax], 0
jne 0x456de9
mov eax, ebx
call fcn.00456f78
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa2], 1
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.00459070
mov eax, ebx
call fcn.00459bf4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456e29
call fcn.00404b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457df8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x457e2d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405774
jmp 0x457e3a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004056d8
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x459254
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4592c2
mov eax, esi
call fcn.00468230
test al, al
je 0x4592c2
mov eax, dword [ebx + 0x84]
call fcn.00467e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4592c2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4592b6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00467e90
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00460104
jmp 0x4592c2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00459090
pop esi
pop ebx
ret

Function at 0x45d98c
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 [0x698790], 0
je 0x45dad5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x691520]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x45dad5
mov eax, dword [0x698794]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x698790]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45daa4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x698790]
call fcn.0041ea90
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45da9c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x45da9c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45da9c
mov eax, dword [ebp - 0x14]
call fcn.00467e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45da9c
push ebp
call fcn.0045d948
pop ecx
test al, al
jne 0x45da9c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404944
test al, al
je 0x45da9c
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.00404944
cmp byte [ebp - 1], 0
je 0x45da9c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45da9c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x698794]
call fcn.0045d0b8
inc edi
dec ebx
jne 0x45d9f1
mov eax, dword [0x698794]
cmp dword [eax + 8], 0
jle 0x45dabc
mov eax, dword [0x698794]
call fcn.0045d170
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45dad5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045d7ac
pop ecx
test al, al
jne 0x45dad5
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