Function at 0x55f1c0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [0x696160]
sub esp, 0x54
test eax, eax
jne 0x55f732
mov dword [0x696160], 1
call fcn.0055e3f0
cmp eax, 0xffffffff
je 0x55f71c
cmp eax, 1
jne 0x55f1f2
call fcn.004fee80
mov eax, dword [0x694c7c]
test eax, eax
je 0x55f71c
mov ecx, dword [0x61a9ec]
test ecx, ecx
je 0x55f71c
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x55f71b
mov ecx, dword [0x694c7c]
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 0x55f70d
push ebx
push esi
mov esi, dword [esp + 0x68]
test esi, esi
je 0x55f28f
mov edx, dword [esi + 0x18e8]
mov eax, dword [esi + 0x18f0]
cmp edx, eax
je 0x55f704
mov ecx, dword [esi + 0x18ec]
mov ebx, dword [esi + 0x18e4]
mov esi, dword [0x61aa08]
sub ecx, ebx
inc ecx
cmp esi, 2
mov dword [esp + 0x34], ecx
jl 0x55f293
sub eax, edx
add eax, 2
mov dword [esp + 0x38], eax
jmp 0x55f293
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 0x55f704
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
mov eax, dword [0x63cb04]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
test esi, esi
je 0x55f6f1
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 0x5f679c
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 0x55f6f1
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x24], eax
call fcn.0055f090
test eax, eax
jne 0x55f6de
mov eax, dword [0x694c84]
test eax, eax
jne 0x55f361
push 0
call fcn.00588760
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x55f369
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x55f404
mov ecx, dword [eax + 0x18f4]
test ecx, ecx
je 0x55f6de
push eax
call fcn.0055dd00
add esp, 4
test eax, eax
je 0x55f6de
mov esi, dword [esp + 0x68]
add esi, 0x18e4
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 + 0x18ec], edx
mov dword [esi], 0
cmp dword [0x61aa08], 2
jl 0x55f3e4
mov edx, dword [ecx + 0x18e8]
sub dword [ecx + 0x18f0], edx
mov dword [ecx + 0x18e8], 0
push eax
push edi
push ecx
call fcn.0055cfa0
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 0x55f627
mov esi, dword [0x6a0f38]
test esi, esi
je 0x55f459
mov ebp, dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [esi + 0x18f4]
test eax, eax
je 0x55f44f
push esi
call fcn.0055dd00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x55f44f
lea edx, [esi + 0x18e4]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
call ebp
test eax, eax
je 0x55f44f
push ebx
push edi
push esi
call fcn.0055cfa0
add esp, 0xc
mov esi, dword [esi + 0x21c0]
test esi, esi
jne 0x55f414
mov eax, dword [0x6a0f38]
test eax, eax
je 0x55f614
mov eax, dword [0x694c84]
test eax, eax
je 0x55f614
mov eax, dword [0x694c7c]
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 0x55f614
mov ebx, dword [0x6a0f38]
test ebx, ebx
je 0x55f556
lea ebx, [ebx]
mov eax, dword [ebx + 0x18f4]
test eax, eax
je 0x55f548
mov edx, dword [ebx + 0x18e8]
cmp edx, dword [ebx + 0x18f0]
je 0x55f548
push ebx
call fcn.0055dd00
add esp, 4
test eax, eax
je 0x55f548
lea eax, [ebx + 0x18e4]
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 0x55f509
inc dword [esp + 0x3c]
jmp 0x55f50d
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 0x55f609
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 + 0x21c0]
test ebx, ebx
jne 0x55f4c0
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x55f609
mov eax, dword [0x694c84]
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 [0x694c84]
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 0x55f5b0
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
jl 0x55f5a4
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 [0x61aa08]
mov ecx, dword [0x694c7c]
push eax
push edi
push ecx
call fcn.00480ba0
mov eax, dword [0x694c7c]
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 0x55f6a3
mov ebx, dword [ecx + 0x18e4]
mov eax, dword [ecx + 0x18ec]
mov ebp, dword [0x61aa08]
mov esi, dword [ecx + 0x18e8]
sub eax, ebx
inc eax
cmp ebp, 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
jg 0x55f67d
mov dword [esp + 0x40], esi
mov ecx, dword [ecx + 0x18f0]
mov ebp, dword [esp + 0x14]
sub ecx, esi
add ecx, 2
test ebp, ebp
mov dword [esp + 0x38], ecx
je 0x55f6b3
mov edx, 1
mov dword [esp + 0x10], 2
jmp 0x55f6b3
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 [0x694c7c]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
push 0
push 0
call fcn.0057b5c0
add esp, 8
mov dword [0x696160], 0
add esp, 0x54
ret