Function at 0x5448f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x98
mov eax, dword [0x5f8240]
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov ebp, edx
mov esi, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
jne 0x544c8d
mov dword [0x5f8240], 1
call fcn.005442e0
cmp eax, 0xffffffff
jne 0x544938
mov dword [0x5f8240], edi
pop edi
pop esi
pop ebp
add esp, 0x98
ret
cmp eax, 1
jne 0x544942
call fcn.004e8020
push ebx
mov ebx, dword [ebp + 0x1c]
lea eax, [esp + 0x68]
push eax
push esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
mov dword [0x5f7ff8], edi
mov dword [esp + 0x40], edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
test esi, esi
mov dword [esp + 0x3c], esi
je 0x544c1d
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
test eax, eax
mov dword [0x5f7ff8], eax
je 0x544c72
push 0
mov edx, ebp
mov ecx, eax
mov dword [0x5bfe10], 0xffffffff
call fcn.00543870
test eax, eax
mov dword [esp + 0x38], eax
je 0x544c1d
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x544c1d
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x544c1d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x28], eax
je 0x544c1d
mov edx, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [0x5c9dac]
push eax
push ecx
push edx
push 0
xor edx, edx
mov ecx, edi
call fcn.005436d0
mov eax, dword [0x5f8004]
test eax, eax
je 0x544ac6
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
test ebp, ebp
je 0x544ac2
mov ecx, dword [0x5f8004]
lea eax, [esp + 0x10]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x544abb
mov edx, dword [0x5f8004]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
nop
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 + 0x48]
add esi, eax
cmp esi, ecx
jl 0x544a72
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
add ebx, edx
cmp ebx, ecx
jl 0x544a70
mov edx, dword [esp + 0x54]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ebp, dword [esp + 0x30]
test ebx, ebx
jle 0x544bec
lea esi, [ebp + 0x28]
mov ebp, dword [sym.imp.USER32.dll_IntersectRect]
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 + 0x74]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x60]
push edx
call ebp
test eax, eax
je 0x544bdb
test byte [esi], 8
jne 0x544bdb
test byte [esi + 1], 1
je 0x544bb4
mov eax, dword [0x5c9db0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.005436d0
xor ecx, ecx
call fcn.0055be00
test eax, eax
jne 0x544bdb
mov eax, dword [0x5bfe00]
test eax, eax
je 0x544b8a
cmp eax, 1
je 0x544b8a
mov edx, dword [0x5c9db4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
push edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, edx
push ecx
inc eax
push eax
mov ecx, edi
call fcn.005436d0
jmp 0x544bdb
mov edx, dword [0x5c9db4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
lea edx, [ecx + 1]
push eax
mov ecx, edi
call fcn.005436d0
jmp 0x544bdb
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
lea eax, [esi - 8]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x20]
sub edx, eax
push edx
mov edx, dword [esp + 0x1c]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.00543b60
add esi, 0x4a8
dec ebx
jne 0x544ad7
mov esi, dword [esp + 0x3c]
mov edx, dword [0x5bfe00]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, edi
call fcn.00476a20
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 0xcc0020
push 0
push 0
push edi
push eax
push ecx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x5f7ff8]
test eax, eax
je 0x544c4c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x544c3b
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x5f7ff8]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [0x5f7ff8], 0
test edi, edi
je 0x544c72
mov esi, dword [esp + 0x28]
test esi, esi
je 0x544c6b
mov edx, dword [esp + 0x34]
push edx
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]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [0x5f8240], 0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x98
ret