joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43adb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x43ae03
mov eax, dword [ebp - 0x14]
call fcn.00455440
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43ae03
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x43ae03
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x43af92
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x43ae4c
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x43ae4c
mov eax, dword [ebp - 0x14]
call fcn.00455440
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43af87
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x43af92
jmp 0x43af87
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x43af62
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x43af62
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x43ae8f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x43ae89
sub eax, 3
je 0x43ae89
sub eax, 3
jne 0x43ae8f
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x43aea6
dec eax
je 0x43aebd
dec eax
je 0x43aee4
dec eax
je 0x43aebd
jmp 0x43aef1
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x4cc438]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00460f7c
jmp 0x43af87
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x43aed7
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403404
jmp 0x43af92
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x43af87
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x43af87
mov eax, dword [0x4cdb10]
cmp byte [eax + 0x20], 0
je 0x43af87
mov eax, dword [0x4cdb10]
cmp dword [eax + 0x1c], 0
je 0x43af87
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4cdb10]
cmp eax, dword [edx + 0x1c]
jne 0x43af87
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0045535c
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403404
jmp 0x43af92
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x43af87
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00438e74
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f2bc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x43f2dd
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x43f312
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x43f302
mov eax, dword [ebp - 4]
call fcn.0043d940
test eax, eax
jne 0x43f302
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43f43c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043ec90
jmp 0x43f43c
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x43f435
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00441b48
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0043ac64
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f2bc
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00441b48
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f43c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x44782c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4cc820]
cmp byte [eax + 0xc], 0
je 0x44799e
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x447997
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cdb64], 0
jne 0x447885
push 0x4479a4
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x4479ac
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb64], eax
cmp dword [0x4cab8c], 0
jne 0x447980
push 0x4479bc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4cab8c], eax
cmp dword [0x4cab8c], 0
je 0x447980
push 0x4479c8
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb68], eax
push 0x4479d8
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb6c], eax
push 0x4479ec
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb70], eax
push 0x447a04
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb74], eax
push 0x447a1c
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb78], eax
push 0x447a30
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb7c], eax
push 0x447a48
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb80], eax
push 0x447a60
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb84], eax
push 0x447a7c
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb88], eax
push 0x447a88
mov eax, dword [0x4cab8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cdb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44799e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x44c668
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00403f74
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44c6c1
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.004041e4
mov esp, ebp
pop ebp
ret
Function at 0x4552b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x455310]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x4552d2
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x4552dc
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x4552e6
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x4552f0
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x4552fa
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45530a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x455314
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x455358]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455335
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x455345
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x45534f
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x45d2b8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x45d2ca
add esp, 0xfffffff0
call fcn.0040352c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041e318
mov eax, dword [0x4cc038]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45d828
mov eax, dword [0x4cc044]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x45d848
mov eax, dword [ebp - 4]
call fcn.0045d868
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413a98]
call fcn.004031d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413a98]
call fcn.004031d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x413a98]
call fcn.004031d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x413a98]
call fcn.004031d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x413a98]
call fcn.004031d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x458c78
push eax
push 0
push 0
mov eax, dword [0x4cc310]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420518]
call fcn.00421d68
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x420518]
call fcn.00421d68
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x420518]
call fcn.00421d68
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0045ddb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dc00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dc00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x45dc00
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x45d452
call fcn.00403584
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45d9b8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45db83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45db61
mov dl, 1
mov eax, dword [0x414040]
call fcn.004031d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f74
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x45db4a
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.00447bcc
test al, al
je 0x45db3e
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x45db94
lea eax, [ebp - 0x25c]
call fcn.00409a74
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45db3e
xor eax, eax
push ebp
push 0x45db37
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x45dbcc
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45db20
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004041e4
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45db20
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004041e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45db3e
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x45da2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00419958
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45db8a
lea eax, [ebp - 0x268]
call fcn.00403f74
ret
Function at 0x45e6bc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4cdbb0]
cmp byte [eax + 0xa5], 0
jne 0x45e733
cmp dword [0x4cdbc8], 0
jne 0x45e6f1
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45e678
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4cdbc8], eax
cmp dword [0x4cdbc4], 0
jne 0x45e70c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4cdbc4], eax
cmp dword [0x4cdbcc], 0
jne 0x45e733
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x45e618
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4cdbcc], eax
pop ecx
pop ebp
ret

Function at 0x45e7fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0045e794
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x45e81d
xor eax, eax
call fcn.0045e7cc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x45e837
mov al, 1
call fcn.0045e7cc
mov esp, ebp
pop ebp
ret

Function at 0x45eefc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4cdbb0]
cmp dword [eax + 0x30], 0
je 0x45efc6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x45efbd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x45ee7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x45efbd
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45ef77
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x45efbd
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.00416594
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x45ef8c
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x45fce0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x45fd25
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404064
jmp 0x45fd36
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00403fc8
mov esp, ebp
pop ebp
ret
Function at 0x4610f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x46114b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00441fc8
test al, al
je 0x46114b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00441b48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46114b
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00441b48
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x49c558
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x49c5a6
cmp dword [esp + 4], 5
jb 0x49c5a6
push 0x49c5b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4cb57c], eax
cmp dword [0x4cb57c], 0
je 0x49c5a6
push 0x49c5bc
mov eax, dword [0x4cb57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4cf134], eax
add esp, 0x94
ret

Function at 0x4ab950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4abaca
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x123], 0x12
mov eax, ebx
call fcn.004aef84
test byte [eax + 0x2f4], 8
jne 0x4abaac
cmp word [ebx + 0x1ba], 0
je 0x4ab9b5
mov byte [ebp - 1], 1
lea ecx, [ebp - 1]
mov edx, ebx
mov eax, dword [ebx + 0x1bc]
call dword [ebx + 0x1b8]
cmp byte [ebp - 1], 0
je 0x4abaac
mov eax, ebx
call fcn.004aef84
test eax, eax
je 0x4abaac
mov al, byte [ebx + 0x50]
cmp al, 4
je 0x4abaa1
mov byte [ebx + 0x99], al
mov byte [ebx + 0x50], 4
cmp byte [ebx + 0x51], 0
jne 0x4aba0d
mov al, byte [ebx + 0x99]
cmp al, 2
je 0x4aba0d
cmp al, 1
je 0x4aba0d
cmp al, 3
je 0x4aba0d
mov eax, ebx
call fcn.004aef84
lea edx, [ebp - 0x14]
call fcn.00438ba0
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x89]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [ebx + 0x64], 0
je 0x4aba55
lea edx, [ebp - 0x18]
mov eax, dword [0x4cc438]
mov eax, dword [eax]
call fcn.0045fce0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0xb4]
mov ecx, 0x3f
call fcn.0040942c
mov eax, dword [0x4cc438]
mov eax, dword [eax]
call fcn.0045fa54
push 0
mov eax, dword [0x4cc438]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4aba91
mov eax, ebx
call fcn.004aef84
test eax, eax
je 0x4aba82
mov eax, ebx
call fcn.004aef84
lea edx, [ebp - 0x1c]
call fcn.00439490
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0xb4]
mov ecx, 0x3f
call fcn.0040942c
push 0
mov eax, ebx
call fcn.004aefa8
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebx + 0x9c]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
jmp 0x4abaa8
mov eax, ebx
call fcn.004ab2c8
mov byte [ebx + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abad1
lea eax, [ebp - 0x1c]
call fcn.00403f74
lea eax, [ebp - 0x18]
call fcn.00403f74
ret
Function at 0x4b32fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b3323
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b3335
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x4b3341
add word [ebp - 6], 0x8000
mov byte [ebp - 0xd], 0
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.004b318c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b338e
xor eax, eax
push ebp
push 0x4b3387
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004b31bc
pop ecx
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b338e
ret
cmp byte [ebp - 0xd], 2
je 0x4b3341
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdcf8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
lea eax, [ebx + 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter_1
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
pop ebx
ret

Function at 0x4c5da8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c5e1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.004045c0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404434
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404234
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004045c0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004c5ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5e24
lea eax, [ebp - 0xc]
call fcn.00403f74
ret