joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4575dc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4576b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45768a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x457679
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
call fcn.00403250
mov eax, dword [ebp - 4]
call fcn.004574b8
mov eax, dword [ebp - 0x10]
push eax
movzx eax, word [ebp - 6]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457680
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret

Function at 0x4576c8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], 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 - 0xc], eax
xor eax, eax
push ebp
push 0x45773c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x45770f
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00405640
jmp 0x457717
mov eax, dword [ebp - 8]
call fcn.00405448
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457743
cmp dword [ebp - 0xc], 0
je 0x457733
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x45778c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
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 0x457845
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov word [ebp - 0xe], ax
cmp word [ebp - 0xe], 0
je 0x457818
mov dx, word [ebp - 0xe]
mov eax, dword [0x432550]
call fcn.00437adc
test al, al
je 0x457803
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0xe]
mov eax, dword [ebp - 8]
call fcn.004379bc
call fcn.00404e4c
jmp 0x45784c
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_EnumClipboardFormats
mov word [ebp - 0xe], ax
cmp word [ebp - 0xe], 0
jne 0x4577c0
mov ecx, dword [0x57b220]
mov dl, 1
mov eax, dword [0x40b834]
call fcn.00411cd4
call fcn.00404da0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45784c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
mov esp, ebp
pop ebp
ret

Function at 0x457850
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
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 0x4578b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4578b7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4578bc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
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 0x45791c
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, 3
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457923
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4579a0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
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 0x457a16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004574b8
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 8]
call fcn.00437aa4
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x14], 0
je 0x457a00
mov eax, dword [ebp - 0x14]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457a1d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x457a24
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
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 0x457a9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004574b8
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x14], 0
je 0x457a85
mov eax, dword [ebp - 0x14]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457aa2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x457b04
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x457b4a
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp - 6]
push eax
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457b51
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x45a3a4
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.00405448
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 0x45a3fd
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.004056b8
mov esp, ebp
pop ebp
ret
Function at 0x45f3a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f4e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x430c58]
call fcn.00430db0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45f4b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00430e8c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004056b8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x45f4f8
call fcn.00405758
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00431178
lea ecx, [ebp - 4]
mov edx, 0x45f534
mov eax, dword [ebp - 0xc]
call fcn.0043174c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00414284
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45f49b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45f540
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [ebp - 0x20], eax
call dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x574ef4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f4a2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary_1
ret

Function at 0x45f554
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push 0xa5
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45f599
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x574ef0]
je 0x45f591
push ebp
call fcn.0045f3a8
pop ecx
mov eax, dword [ebp - 8]
mov dword [0x574ef0], eax
mov al, byte [0x574ef4]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x45f5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x12]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov al, byte [ebp - 0xe]
mov word [ebp - 2], ax
cmp word [ebp - 2], 0
je 0x45f5f1
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45f5d3
add word [ebp - 2], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45f5e5
add word [ebp - 2], 0x4000
test byte [ebp - 7], 0x20
je 0x45f5f1
add word [ebp - 2], 0x8000
mov ax, word [ebp - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4655c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 [0x581788], 0
je 0x465715
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x57b5b0]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x465715
mov eax, dword [0x58178c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x581788]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4656e4
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x581788]
call fcn.00420298
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4656d8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x4656d8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4656d8
mov eax, dword [ebp - 0x14]
call fcn.004728f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4656d8
push ebp
call fcn.00465574
pop ecx
test al, al
jne 0x4656d8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004046e8
test al, al
je 0x4656d8
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004046e8
cmp byte [ebp - 1], 0
je 0x4656d8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4656d8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x58178c]
call fcn.004649b0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x46562c
mov eax, dword [0x58178c]
cmp dword [eax + 8], 0
jle 0x4656fc
mov eax, dword [0x58178c]
call fcn.00464a8c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x465715
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004653b0
pop ecx
test al, al
jne 0x465715
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46edd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.user32.dll_GetMessagePos
call fcn.004079bc
mov dword [ebp - 0x19], eax
movsx eax, word [ebp - 0x19]
mov dword [ebp - 0x21], eax
movsx eax, word [ebp - 0x17]
mov dword [ebp - 0x1d], eax
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x21]
mov eax, dword [ebp - 4]
call fcn.0046830c
cmp dword [ebp - 0xc], 0
jne 0x46ee25
push 0
push 0
lea edx, [ebp - 0x15]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.0046ece4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46ef21
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
je 0x46ee57
mov eax, dword [ebp - 0x15]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x40]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x11]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x44]
mov dword [ebp - 0x134], eax
jmp 0x46ee69
mov eax, dword [ebp - 0x15]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x11]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
cmp eax, 0x201
jge 0x46eea8
add eax, 0xffffff5f
sub eax, 2
jb 0x46eec0
dec eax
sub eax, 2
jb 0x46eed2
dec eax
sub eax, 2
jb 0x46eec9
jmp 0x46eedb
add eax, 0xfffffdff
sub eax, 2
jb 0x46eec0
dec eax
sub eax, 2
jb 0x46eed2
dec eax
sub eax, 2
jb 0x46eec9
jmp 0x46eedb
mov byte [ebp - 0x12c], 0
jmp 0x46eee2
mov byte [ebp - 0x12c], 2
jmp 0x46eee2
mov byte [ebp - 0x12c], 1
jmp 0x46eee2
mov byte [ebp - 0x12c], 0
lea eax, [ebp - 0x121]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x121]
call fcn.00480398
mov byte [ebp - 0x12b], al
lea eax, [ebp - 0x138]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, dword [ebp - 0xc]
call fcn.0046a310
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov byte [ebp - 0xd], 1
jmp 0x46ef25
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x46fd80
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 + 0x240], 0
je 0x46fda1
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x46fdd6
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x46fdc6
mov eax, dword [ebp - 4]
call fcn.0046dbc8
test eax, eax
jne 0x46fdc6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x46ff00
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0046f6ac
jmp 0x46ff00
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 0x46fef9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004728f8
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.0046a310
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.0046fd80
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.004728f8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ff00
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 0x47933c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x57b8ac]
cmp byte [eax + 0xc], 0
je 0x4794ae
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4794a7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x581798], 0
jne 0x479395
push 0x4794b4
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x4794bc
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x581798], eax
cmp dword [0x575038], 0
jne 0x479490
push 0x4794cc
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x575038], eax
cmp dword [0x575038], 0
je 0x479490
push 0x4794d8
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x58179c], eax
push 0x4794e8
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817a0], eax
push 0x4794fc
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817a4], eax
push 0x479514
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817a8], eax
push 0x47952c
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817ac], eax
push 0x479540
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817b0], eax
push 0x479558
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817b4], eax
push 0x479570
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817b8], eax
push 0x47958c
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817bc], eax
push 0x479598
mov eax, dword [0x575038]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x5817c0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4794ae
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x4802f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x48034c]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x48030e
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x480318
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x480322
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x48032c
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x480336
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x480346
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x480350
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x480394]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x480371
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x480381
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x48038b
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x480404
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x101]
call fcn.00480398
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x48990c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x48991e
add esp, 0xfffffff0
call fcn.00404850
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.0042bba4
mov eax, dword [0x57b250]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x489e7c
mov eax, dword [0x57b268]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x489e9c
mov eax, dword [ebp - 4]
call fcn.00489ebc
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41d1ac]
call fcn.004044bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41d1ac]
call fcn.004044bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41d1ac]
call fcn.004044bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41d1ac]
call fcn.004044bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41d1ac]
call fcn.004044bc
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, 0x4845b8
push eax
push 0
push 0
mov eax, dword [0x57b4d0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x431e38]
call fcn.00433884
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x431e38]
call fcn.00433884
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x431e38]
call fcn.00433884
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0048a46c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x48a2b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x48a2b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x48a2b0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x489aa6
call fcn.004048a8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret