Function at 0x57b74c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 4]
jle 0x57b779
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx]
jg 0x57b77d
mov al, 1
jmp 0x57b79e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 4]
jle 0x57b79c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jle 0x57b79c
xor eax, eax
jmp 0x57b79e
mov al, 1
test al, al
jne 0x57b8e4
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ebp
push 0x57b8dd
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
sub eax, dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
sub eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov esi, eax
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx]
mov edx, dword [ebp - 0x14]
call fcn.00578b54
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 4]
mov edx, dword [ebp - 0x18]
call fcn.00578b54
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0xc]
push edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
push edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
push edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
push edx
push eax
call sub.gdi32.dll_IntersectClipRect
test ebx, ebx
jle 0x57b8c2
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
jle 0x57b8ae
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 8]
push 0xcc0020
mov ecx, dword [eax + 4]
push ecx
mov eax, dword [eax]
push eax
push edi
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
sub eax, esi
push eax
mov eax, dword [ebp - 0x2c]
push eax
push esi
push edx
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
dec ebx
jne 0x57b86b
mov eax, dword [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_OffsetRect
dec dword [ebp - 0x20]
jne 0x57b856
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b8e4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4