Function at 0x5562e0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [0x643a90]
sub esp, 0x54
test eax, eax
jne 0x556852
mov dword [0x643a90], 1
call fcn.00555700
cmp eax, 0xffffffff
je 0x55683c
cmp eax, 1
jne 0x556312
call fcn.004f9370
mov eax, dword [0x64354c]
test eax, eax
je 0x55683c
mov ecx, dword [0x60a0fc]
test ecx, ecx
je 0x55683c
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x55683b
mov ecx, dword [0x64354c]
push edi
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x55682d
push ebx
push esi
mov esi, dword [esp + 0x68]
test esi, esi
je 0x5563af
mov edx, dword [esi + 0xa4c]
mov eax, dword [esi + 0xa54]
cmp edx, eax
je 0x556824
mov ecx, dword [esi + 0xa50]
mov ebx, dword [esi + 0xa48]
mov esi, dword [0x60a118]
sub ecx, ebx
inc ecx
cmp esi, 2
mov dword [esp + 0x34], ecx
jl 0x5563b3
sub eax, edx
add eax, 2
mov dword [esp + 0x38], eax
jmp 0x5563b3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push edx
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x556824
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
mov eax, dword [0x613704]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
test esi, esi
je 0x556811
push esi
lea ecx, [esp + 0x30]
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x5e86fc
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x48
push 0x5a
push ebp
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov esi, eax
test esi, esi
mov dword [esp + 0x1c], esi
je 0x556811
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
call fcn.005561b0
test eax, eax
jne 0x5567fe
mov eax, dword [0x64355c]
test eax, eax
jne 0x556481
push 0
call fcn.0057c740
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x556489
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x556524
mov ecx, dword [eax + 0xa58]
test ecx, ecx
je 0x5567fe
push eax
call fcn.00555030
add esp, 4
test eax, eax
je 0x5567fe
mov esi, dword [esp + 0x68]
add esi, 0xa48
mov edx, esi
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x48], edx
mov edx, dword [esi]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x68]
sub dword [ecx + 0xa50], edx
mov dword [esi], 0
cmp dword [0x60a118], 2
jl 0x556504
mov edx, dword [ecx + 0xa4c]
sub dword [ecx + 0xa54], edx
mov dword [ecx + 0xa4c], 0
push eax
push edi
push ecx
call fcn.00554310
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
jmp 0x556747
mov esi, dword [0x64531c]
test esi, esi
je 0x556579
mov ebp, dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esi + 0xa58]
test eax, eax
je 0x55656f
push esi
call fcn.00555030
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x55656f
lea edx, [esi + 0xa48]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
call ebp
test eax, eax
je 0x55656f
push ebx
push edi
push esi
call fcn.00554310
add esp, 0xc
mov esi, dword [esi + 0xe54]
test esi, esi
jne 0x556534
mov eax, dword [0x64531c]
test eax, eax
je 0x556734
mov eax, dword [0x64355c]
test eax, eax
je 0x556734
mov eax, dword [0x64354c]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ebp, dword [sym.imp.GDI32.dll_CreateRectRgn]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call ebp
test eax, eax
mov dword [esp + 0x10], eax
je 0x556734
mov ebx, dword [0x64531c]
test ebx, ebx
je 0x556676
lea ebx, [ebx]
mov eax, dword [ebx + 0xa58]
test eax, eax
je 0x556668
mov edx, dword [ebx + 0xa4c]
cmp edx, dword [ebx + 0xa54]
je 0x556668
push ebx
call fcn.00555030
add esp, 4
test eax, eax
je 0x556668
lea eax, [ebx + 0xa48]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x48]
je 0x556629
inc dword [esp + 0x3c]
jmp 0x55662d
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add eax, 2
mov edx, eax
push edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
push eax
push ecx
push edx
call ebp
mov esi, eax
test esi, esi
je 0x556729
mov eax, dword [esp + 0x10]
push 4
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebx + 0xe54]
test ebx, ebx
jne 0x5565e0
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x556729
mov eax, dword [0x64355c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ebp, eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [0x64355c]
lea edx, [esp + 0x4c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x3c], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x54]
push 0xcc0020
push 0
push 0
push esi
push edx
push ecx
mov ecx, dword [esp + 0x58]
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
add eax, ecx
cmp eax, edx
mov dword [esp + 0x3c], eax
jl 0x5566d0
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
jl 0x5566c4
push 0
push edi
call dword [sym.imp.GDI32.dll_SelectClipRgn]
push ebp
push esi
call ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x60a118]
mov ecx, dword [0x64354c]
push eax
push edi
push ecx
call fcn.0047f7f0
mov eax, dword [0x64354c]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x68]
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x10], edx
je 0x5567c3
mov ebx, dword [ecx + 0xa48]
mov eax, dword [ecx + 0xa50]
mov ebp, dword [0x60a118]
mov esi, dword [ecx + 0xa4c]
sub eax, ebx
inc eax
cmp ebp, 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
jg 0x55679d
mov dword [esp + 0x40], esi
mov ecx, dword [ecx + 0xa54]
mov ebp, dword [esp + 0x14]
sub ecx, esi
add ecx, 2
test ebp, ebp
mov dword [esp + 0x38], ecx
je 0x5567d3
mov edx, 1
mov dword [esp + 0x10], 2
jmp 0x5567d3
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
push 0xcc0020
push ebp
mov ebp, dword [esp + 0x18]
push edx
push edi
push ecx
sub eax, ebp
mov ebp, dword [esp + 0x2c]
push eax
push esi
add edx, ebx
push edx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x28]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebx
mov eax, dword [0x64354c]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
push 0
push 0
call fcn.00571140
add esp, 8
mov dword [0x643a90], 0
add esp, 0x54
ret