Function at 0x427720
Capabilities:
Capture screenshot
Log keystrokes

Disassembly:
sub esp, 0x34
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4279a5
push eax
push eax
push eax
push 0x598100
call dword [sym.imp.GDI32.dll_CreateDCW]
mov edi, eax
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test edi, edi
mov ebp, eax
je 0x42799a
test ebp, ebp
je 0x42798a
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edi, dword [esi]
push ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
sub ecx, ebx
sub eax, edi
push ecx
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
push 0xcc0020
push ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push edi
push ecx
push edx
xor edi, edi
push eax
push edi
push edi
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x4c], edi
jne 0x4277d0
cmp dword [esp + 0x50], edi
je 0x42795b
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.USER32.dll_GetCursor]
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], eax
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
cmp edi, ebx
je 0x427835
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x427835
call dword [sym.imp.USER32.dll_GetCursor]
push 0
push edi
push ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x30]
mov dword [esp + 0x34], ecx
push edx
mov dword [esp + 0x3c], ecx
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x42787d
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
call edi
push 0x21
mov ebx, eax
call edi
mov dword [esp + 0x10], eax
jmp 0x427881
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4278c6
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov edi, dword [esi + 4]
push 3
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [esp + 0x50]
sub edx, edi
mov edi, dword [esp + 0x4c]
sub edx, ecx
mov ecx, dword [esi]
sub edx, eax
mov eax, dword [esp + 0x40]
push edx
sub eax, ecx
sub eax, edi
sub eax, ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42793d
mov edi, dword [esp + 0x28]
mov eax, dword [esi]
mov edx, dword [esp + 0x34]
sub edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
sub edi, edx
mov edx, dword [esp + 0x38]
sub edi, ebx
mov ebx, dword [esp + 0x2c]
sub ebx, eax
lea eax, [esp + 0x30]
sub ebx, edx
lea edx, [esp + 0x18]
sub ebx, ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00427690
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add ecx, ecx
lea eax, [edx + edx]
push eax
push ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
sub edx, eax
mov eax, ecx
add edx, ebx
mov ecx, dword [esp + 0x48]
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, edi
push ecx
push ebp
call fcn.004275f0
add esp, 0x20
mov eax, dword [esp + 0x40]
test eax, eax
je 0x42794c
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42795b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0x24]
push edi
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push edx
call edi
push ebp
call edi
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x34
ret
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x34
ret
test ebp, ebp
je 0x4279a5
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x34
ret