Function at 0x424f20
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
mov edi, ecx
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.GDI32.dll_GetClipBox]
test eax, eax
je 0x425132
push dword [edi + 0x120]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0x54727d
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [edi + 0x24], 0
je 0x424f9e
mov eax, dword [edi + 0xa0]
jmp 0x424fa0
xor eax, eax
cmp dword [edi + 0x104], 0
mov dword [ebp - 0x10], eax
push ebx
je 0x425131
cmp dword [ebp - 0x18], eax
jle 0x425131
push esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
lea ecx, [edi + 0x104]
mov dword [ebp - 0x2c], 0
call fcn.004184e0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 0x104]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [edi + 0x78], 0
mov dword [ebp - 0x3c], eax
je 0x425091
mov ecx, dword [ebp - 8]
push dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x10]
push ecx
call fcn.0052746f
add esp, 8
mov edi, eax
test edx, edx
jle 0x425016
inc edi
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x30]
sub eax, dword [ebp - 0x14]
push eax
call fcn.0052746f
add esp, 8
mov dword [ebp - 0x38], eax
test edx, edx
jle 0x425033
inc eax
mov dword [ebp - 0x38], eax
test edi, edi
js 0x42511b
xor ecx, ecx
lea edx, [edi + 1]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], edx
test eax, eax
js 0x42507e
lea ebx, [eax + 1]
xor edi, edi
mov eax, dword [ebp - 0x30]
push 0xcc0020
push 0
push 0
push esi
push dword [ebp - 0x2c]
push eax
push ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x34]
sub ebx, 1
jne 0x425052
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x2c]
sub edx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], edx
jne 0x425046
jmp 0x42511b
movups xmm1, xmmword [ebp - 0x14]
movaps xmm0, xmm1
movd ecx, xmm1
psrldq xmm0, 8
movd eax, xmm0
movups xmmword [ebp - 0x4c], xmm1
sub eax, ecx
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jge 0x4250c7
cdq
sub eax, edx
mov edi, eax
mov eax, ecx
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
lea eax, [edi + ecx]
jmp 0x4250cd
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 8]
sub ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
add eax, 0x10
cmp eax, ebx
jge 0x4250f7
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
add ecx, eax
jmp 0x4250fd
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
push 0xcc0020
push 0
push 0
push esi
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x28]
sub ecx, edi
push ecx
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x425130
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00513512
mov esp, ebp
pop ebp
ret 4