Function at 0x5420fa
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edi
mov edi, ecx
mov dword [ebp - 0x28], esi
push eax
mov dword [ebp - 0x44], edi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
lea ecx, [edi + 0x3c]
sub eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
sub ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], ebx
call fcn.0040d3bb
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov eax, dword [edi + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call edi
mov edi, eax
push 0xcc0020
cmp ebx, dword [ebp - 0x3c]
jg 0x542188
xor ebx, ebx
push ebx
push ebx
push esi
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push ebx
push ebx
mov ebx, dword [ebp - 0x28]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
jmp 0x5421f6
mov eax, ebx
xor ebx, ebx
sub eax, dword [ebp - 0x3c]
push ebx
push ebx
push esi
push dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x3c]
push ebx
push eax
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
mov dword [ebp - 0x40], ebx
cmp dword [ebp - 0x34], ebx
jle 0x5421f3
mov eax, dword [ebp - 0x44]
push dword [eax + 0x40]
push esi
call edi
push 0xcc0020
push ebx
push ebx
push esi
push dword [ebp - 0x38]
mov edi, eax
push 1
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x34]
jl 0x5421b8
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
jle 0x54228c
sub ecx, eax
push ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x34], eax
call edi
push 0xffffff
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, eax
push ebx
push esi
call edi
and dword [ebp - 0x20], 0
mov edi, eax
mov eax, dword [ebp - 0x2c]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call edi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push 0xcc0020
xor eax, eax
push eax
push eax
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x44]
push esi
call edi
push dword [ebp - 0x34]
call ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x54229e
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004da623
leave
ret 0x10