Function at 0x568c10
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [0x697330]
sub esp, 0x90
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x568f69
mov dword [0x697330], 1
call fcn.00568600
cmp eax, 0xffffffff
jne 0x568c48
mov dword [0x697330], ebx
pop ebx
add esp, 0x90
ret
cmp eax, 1
jne 0x568c52
call fcn.004fee80
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x98]
push esi
push edi
lea edx, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x34], ecx
xor edi, edi
xor esi, esi
call dword [sym.imp.USER32.dll_BeginPaint]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x568f4a
push ebp
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
call ebp
test eax, eax
mov dword [esp + 0x34], eax
je 0x568f49
mov edx, dword [esp + 0xa4]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x568f22
push esi
call ebp
mov edi, eax
test edi, edi
je 0x568f22
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x28], eax
je 0x568f1e
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call esi
mov ecx, dword [0x63cb04]
mov edx, dword [esp + 0x44]
push ecx
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x48]
push eax
push 0
push 0
push edi
call fcn.00567c00
mov eax, dword [0x696a94]
add esp, 0x18
test eax, eax
je 0x568daa
push 0
call ebp
mov ebp, eax
test ebp, ebp
je 0x568daa
mov edx, dword [0x696a94]
lea ecx, [esp + 0x10]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x568da3
mov eax, dword [0x696a94]
push eax
push ebp
call esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
jmp 0x568d60
xor esi, esi
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push ebp
push ecx
push eax
push ebx
push esi
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
add esi, eax
cmp esi, ecx
jl 0x568d62
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add ebx, edx
cmp ebx, ecx
jl 0x568d60
mov edx, dword [esp + 0x48]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x30]
xor ebp, ebp
test eax, eax
jle 0x568edf
mov ebx, dword [esp + 0xa8]
lea esi, [ebx + 0x28]
lea eax, [esi + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x568ecc
test byte [esi], 8
jne 0x568ecc
test byte [esi + 1], 1
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
je 0x568ea8
mov eax, dword [0x63cb08]
push eax
mov eax, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
push ecx
push edi
call fcn.00567c00
push 0
call fcn.00588760
add esp, 0x1c
test eax, eax
jne 0x568ecc
mov eax, dword [0x61ab54]
test eax, eax
je 0x568e7e
cmp eax, 1
je 0x568e7e
mov eax, dword [0x63cb0c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
inc eax
push eax
push ecx
push edi
call fcn.00567c00
add esp, 0x18
jmp 0x568ecc
mov eax, dword [0x63cb0c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
inc ecx
push ecx
push edi
call fcn.00567c00
add esp, 0x18
jmp 0x568ecc
push ebp
lea eax, [esi - 8]
push eax
mov eax, dword [esp + 0x1c]
push ebx
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x4c]
push ecx
push eax
push edi
call fcn.00567ed0
add esp, 0x24
mov eax, dword [esp + 0x30]
inc ebp
add esi, 0x1684
cmp ebp, eax
jl 0x568dc2
mov ecx, dword [0x61ab54]
mov edx, dword [esp + 0xa4]
push ecx
push edi
push edx
call fcn.00480ba0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add esp, 0xc
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
push eax
call ebp
test edi, edi
je 0x568f49
test esi, esi
je 0x568f46
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call ebp
pop ebp
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
mov dword [0x697330], 0
pop esi
pop ebx
add esp, 0x90
ret