Function at 0x5ad4c8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
call fcn.00411ce4
test al, al
jne 0x5ad755
mov eax, ebx
call fcn.00411ce4
test al, al
jne 0x5ad755
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
je 0x5ad755
mov esi, dword [ebx + 8]
sub esi, dword [ebx]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
push esi
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]
pop esi
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
call fcn.00411c74
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x30]
sub eax, dword [edx]
mov edx, esi
call fcn.0058ce68
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x30]
sub eax, dword [edx + 4]
mov edx, dword [ebp - 0x1c]
call fcn.0058ce68
mov edi, eax
mov eax, dword [ebp - 0x20]
imul edi
cmp eax, 0xa
jle 0x5ad650
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x5ab87c]
call fcn.005ae460
mov dword [ebp - 0xc], eax
xor ecx, ecx
push ebp
push 0x5ad649
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x14]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.005ae99c
push 0xcc0020
mov ecx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push ecx
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x50]
sub ecx, eax
push ecx
push edx
push eax
push esi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetWindowOrgEx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SetBrushOrgEx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.gdi32.dll_CreatePatternBrush
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_FillRect
push ebx
call sub.gdi32.dll_DeleteObject
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SetBrushOrgEx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ad755
mov eax, dword [ebp - 0xc]
call fcn.00407e08
pop eax
jmp eax
mov eax, dword [0x5abc90]
call fcn.005af824
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipRgn
test eax, eax
jne 0x5ad680
lea edx, [ebp - 0x28]
mov eax, dword [0x5abc90]
call fcn.005af854
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ebp
push 0x5ad74e
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_IntersectClipRect
dec eax
setne al
test edi, edi
jle 0x5ad71e
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
add eax, esi
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x20]
test edi, edi
jle 0x5ad70d
push 0xcc0020
mov ecx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push ecx
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
sub ecx, eax
push ecx
push edx
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
add dword [ebp - 0x40], esi
add dword [ebp - 0x38], esi
dec edi
jne 0x5ad6d7
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x34], eax
dec dword [ebp - 0x24]
jne 0x5ad6c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ad755
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
lea edx, [ebp - 0x2c]
mov eax, dword [0x5abc90]
call fcn.005af854
pop eax
jmp eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4