Function at 0x424e40
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
xor eax, eax
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x30]
sub ecx, edx
sub eax, edi
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebx
mov dword [esp + 0x20], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
lea eax, [esp + 0x24]
push ebp
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x424f1f
mov ecx, dword [eax]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push 0
push 0
sub edx, ecx
push ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
push edx
sub eax, dword [esp + 0x38]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x424f2f
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], eax
jmp 0x424f38
mov edx, dword [esi + 0x24]
mov dword [esp + 0x10], edx
mov eax, edx
test eax, eax
je 0x424fcf
mov eax, dword [eax]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x34]
test eax, eax
jl 0x424fc3
mov eax, dword [esi + 0x30]
test eax, eax
jle 0x424fc3
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x3c], ecx
push edx
mov dword [esp + 0x44], ecx
push 0x18
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x424f9c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
jmp 0x424fa4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esi + 0x30]
mov edx, dword [esi + 0x34]
push 0xcc0020
push 0
imul edx, eax
push edx
push ebp
push ecx
push eax
push 0
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x14]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 0xcc0020
push 0
push 0
sub eax, edx
push edi
push eax
mov eax, dword [esp + 0x38]
sub ecx, eax
push ecx
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x18]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
call edi
push ebp
call edi
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x425030
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x3c
ret