Function at 0x5fb1c0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65b948
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
fld qword [esi + 0x106]
fcomp qword [0x662cb0]
fnstsw ax
test ah, 1
jne 0x5fb4a6
push ebx
mov ebx, dword [esp + 0x44]
push ebp
xor ebp, ebp
cmp ebx, ebp
push edi
jne 0x5fb216
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
sub eax, ecx
push 0x12
sub eax, 0x30
push eax
push ebp
lea eax, [esp + 0x38]
push ebp
push eax
jmp 0x5fb241
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 8]
cmp ebx, 1
jne 0x5fb232
sub eax, edi
lea ecx, [esp + 0x2c]
sub eax, 0x12
push eax
push 0x34
push ebp
push ebp
push ecx
jmp 0x5fb241
sub eax, edi
lea edx, [esp + 0x2c]
sub eax, 0x12
push eax
push 0x30
push ebp
push ebp
push edx
call dword [fcn.0065f4dc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x20]
push eax
call dword [fcn.0065f510]
push eax
call fcn.00644092
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.0064414c
mov dword [esp + 0x44], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], 0x661a18
cmp edi, ebp
mov byte [esp + 0x44], 1
jne 0x5fb282
xor eax, eax
jmp 0x5fb285
mov eax, dword [edi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x20]
call fcn.00644146
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x34]
push eax
sub ecx, ebp
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [fcn.0065e0c8]
push eax
lea ecx, [esp + 0x18]
call fcn.006440f8
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, ebp
push eax
push edx
call fcn.00644140
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
push 6
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, 0x732bc0
call fcn.004962d0
push 1
lea ecx, [esp + 0x20]
call fcn.0064412e
lea edx, [esp + 0x1c]
push 1
push edx
mov ecx, 0x732bc0
call fcn.00495d00
mov ebp, eax
lea eax, [esp + 0x1c]
push 0
push eax
mov ecx, 0x732bc0
call fcn.00495c80
test ebx, ebx
mov dword [esp + 0x4c], eax
jne 0x5fb33c
mov edx, dword [esp + 0x54]
xor eax, eax
push edx
mov edx, dword [esp + 0x54]
push edx
or ecx, 0xffffffff
push eax
jmp 0x5fb362
cmp ebx, 1
jne 0x5fb352
mov edx, dword [esp + 0x54]
xor eax, eax
push edx
mov edx, dword [esp + 0x54]
push edx
xor ecx, ecx
push ebx
jmp 0x5fb362
mov edx, dword [esp + 0x54]
or eax, 0xffffffff
push edx
mov edx, dword [esp + 0x54]
push edx
xor ecx, ecx
push ebx
push ecx
push eax
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.005fb4c0
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x732bc0
call fcn.00495ca0
lea eax, [esp + 0x1c]
push ebp
push eax
mov ecx, 0x732bc0
call fcn.00495d20
test ebx, ebx
jne 0x5fb3cd
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xe6]
sub ecx, eax
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esi + 4]
push 0xcc0020
lea edx, [edx + eax + 1]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0
and eax, ebp
push 0
push eax
push 0x11
push ecx
jmp 0x5fb42f
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
cmp ebx, 1
jne 0x5fb402
mov ebp, dword [esp + 0x20]
sub ecx, eax
mov edx, eax
lea eax, [esp + 0x1c]
neg eax
mov ebx, dword [esi + 4]
push 0xcc0020
sbb eax, eax
push 0
and eax, ebp
push 0
push eax
push ecx
push 0x34
push edx
mov edx, dword [edi + 4]
push ebx
push edx
jmp 0x5fb435
mov ebx, dword [esi + 4]
sub ecx, eax
mov eax, dword [esi + 0xee]
mov ebp, dword [esp + 0x20]
mov edx, dword [esi + 8]
push 0xcc0020
lea ebx, [eax + ebx + 1]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0
and eax, ebp
push 0
push eax
push ecx
push 0x2f
mov ecx, dword [edi + 4]
push edx
push ebx
push ecx
call dword [fcn.0065e0cc]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5fb446
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.00644140
lea ecx, [esp + 0x14]
call fcn.0064406e
lea ecx, [esp + 0x1c]
call fcn.00644134
mov esi, dword [esi + 0x14]
mov eax, dword [edi + 4]
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [fcn.0065f4e8]
mov dword [esp + 0x14], 0x661578
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.0064406e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0x6602dc
mov dword [esp + 0x44], 0xffffffff
call fcn.0064411c
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc