Function at 0x5bab54
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
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 0x5bab84
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx]
jle 0x5bab84
xor eax, eax
jmp 0x5bab86
mov al, 1
test al, al
je 0x5bab90
mov byte [ebp - 0x31], 1
jmp 0x5babb4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 4]
jle 0x5babaf
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
cmp eax, dword [edx]
jle 0x5babaf
xor eax, eax
jmp 0x5babb1
mov al, 1
mov byte [ebp - 0x31], al
cmp byte [ebp - 0x31], 0
jne 0x5bad30
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5bad29
push dword fs:[eax]
mov dword fs:[eax], 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 - 0x58]
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 - 0x4c], eax
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x48]
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.005b6d40
mov dword [ebp - 0x24], 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.005b6d40
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x5bad0e
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jle 0x5bacf3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 0xcc0020
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.user32.dll_OffsetRect
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x5baca1
mov eax, dword [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
call sub.user32.dll_OffsetRect
inc dword [ebp - 0x20]
dec dword [ebp - 0x2c]
jne 0x5bac7d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bad30
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RestoreDC
ret
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4