Function at 0x435230
Capabilities:
Capture screenshot
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x43524c
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 0x14], 0
mov esi, dword [edi]
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], eax
je 0x435293
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jg 0x4352b0
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push dword [ebp - 0x10]
call esi
push 0xa
push dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
call esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
test esi, esi
jns 0x4352c4
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
cmp eax, 1
cmovle esi, ecx
mov eax, dword [ebp - 8]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [ebp - 8], eax
cmp ebx, dword [ebp - 0x18]
jle 0x4352e8
push 0x50
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
mov eax, dword [ebp - 8]
cmovle ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x20]
cmovg ecx, dword [ebp - 0x20]
sub ebx, esi
sub ecx, eax
push ecx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 8]
push 0xcc0020
push ecx
push esi
mov esi, dword [ebp - 0x10]
push esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0xc], 0
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x435431
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetCursor]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x4353ab
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x4353ab
call dword [sym.imp.USER32.dll_GetCursor]
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_AttachThreadInput]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push eax
push dword [ebp - 0x14]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
call dword [sym.imp.USER32.dll_GetIconInfo]
cmp dword [ebp + 0x10], 0
je 0x4353ed
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
call ebx
push 0x21
mov dword [ebp - 0x10], eax
call ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4353ef
xor eax, eax
mov ecx, dword [ebp - 8]
sub ecx, dword [edi + 4]
sub ecx, dword [ebp - 0x2c]
push 3
push 0
push 0
push 0
sub ecx, eax
mov eax, dword [ebp - 0xc]
sub eax, dword [edi]
sub eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x10]
push 0
push dword [ebp - 0x14]
push ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x435427
push eax
call ebx
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x435431
push eax
call ebx
push dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1c]
mov edi, eax
call ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 4]
call esi
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret