Function at 0x55f600
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [0x644120]
sub esp, 0x90
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x55f9b9
mov dword [0x644120], 1
call fcn.0055eff0
cmp eax, 0xffffffff
je 0x55f9b3
cmp eax, 1
jne 0x55f638
call fcn.004f9370
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push ebx
mov ebx, dword [eax + 0x1c]
push esi
push edi
lea ecx, [esp + 0x60]
push ecx
push edx
mov dword [esp + 0x54], ebx
xor edi, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
mov dword [0x643edc], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x30], esi
je 0x55f948
push ebp
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call ebp
test eax, eax
mov dword [0x643edc], eax
je 0x55f99b
mov ecx, dword [esp + 0xa8]
push edi
push ecx
push eax
mov dword [0x60a208], 0xffffffff
call fcn.0055e620
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
je 0x55f946
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x55f946
push edi
call ebp
mov edi, eax
test edi, edi
je 0x55f946
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x28], eax
je 0x55f946
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [0x613704]
mov edx, dword [esp + 0x44]
push ecx
push edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
push eax
push 0
push 0
push edi
call fcn.0055e470
mov eax, dword [0x643ee4]
add esp, 0x18
test eax, eax
je 0x55f7d2
push 0
call ebp
mov ebp, eax
test ebp, ebp
je 0x55f7d2
mov edx, dword [0x643ee4]
lea ecx, [esp + 0x10]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x55f7cb
mov eax, dword [0x643ee4]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
lea esp, [esp]
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 0x55f782
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add ebx, edx
cmp ebx, ecx
jl 0x55f780
mov edx, dword [esp + 0x48]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
test ebx, ebx
jle 0x55f910
mov esi, dword [esp + 0xa8]
mov ebp, dword [sym.imp.USER32.dll_IntersectRect]
add esi, 0x28
lea ebx, [ebx]
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 ebp
test eax, eax
je 0x55f8ff
test byte [esi], 8
jne 0x55f8ff
test byte [esi + 1], 1
je 0x55f8d2
mov eax, dword [0x613708]
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
push ecx
push edi
call fcn.0055e470
push 0
call fcn.0057c740
add esp, 0x1c
test eax, eax
jne 0x55f8ff
mov eax, dword [0x60a1f4]
test eax, eax
je 0x55f8a8
cmp eax, 1
je 0x55f8a8
mov eax, dword [0x61370c]
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.0055e470
add esp, 0x18
jmp 0x55f8ff
mov eax, dword [0x61370c]
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.0055e470
add esp, 0x18
jmp 0x55f8ff
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x1c]
lea eax, [esi - 8]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
push edi
call fcn.0055e960
add esp, 0x1c
add esi, 0x7bc
dec ebx
jne 0x55f7f0
mov esi, dword [esp + 0x30]
mov eax, dword [0x60a1f4]
mov ecx, dword [esp + 0xa4]
push eax
push edi
push ecx
call fcn.0047f7f0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
add esp, 0xc
push 0xcc0020
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
xor ebp, ebp
mov eax, dword [0x643edc]
cmp eax, ebp
je 0x55f973
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x55f966
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x643edc]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [0x643edc], ebp
cmp edi, ebp
je 0x55f99d
mov esi, dword [esp + 0x28]
cmp esi, ebp
je 0x55f992
mov ecx, dword [esp + 0x34]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x55f99d
xor ebp, ebp
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebx
mov dword [0x644120], ebp
pop ebp
add esp, 0x90
ret