Function at 0x453680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
xor eax, eax
neg edx
sbb eax, ecx
jl 0x4536d6
jmp 0x4536c1
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
jmp 0x4538ab
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x38], 0
je 0x453712
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov edx, dword [ebp + 8]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], esi
mov dword [eax], edx
call fcn.00454460
sub esp, 0xc
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jmp 0x4538ab
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x28], xmm0
call fcn.004548d0
mov dword [esp + 0x24], eax
xor eax, eax
cmp eax, dword [esp + 0x24]
jae 0x4537ae
lea ecx, [esp + 0x30]
lea eax, [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00451ca0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
call fcn.00454920
mov ecx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00451b00
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00454940
sub esp, 4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x4c], 0
je 0x453892
mov ecx, dword [esp + 0x14]
call fcn.00452cb0
mov dword [esp + 0x1c], 0xfff
mov eax, 0xfff
cmp eax, dword [esp + 0x30]
jae 0x45384f
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x4c]
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
mov dword [esp + 8], 0xfff
mov dword [esp + 0xc], eax
call fcn.00472bdf
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x18], 0xfff
je 0x45384a
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub ecx, edx
sbb eax, 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jmp 0x4538ab
jmp 0x4537cd
xor eax, eax
cmp eax, dword [esp + 0x30]
jae 0x45388d
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x4c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00472bdf
mov ecx, eax
mov eax, dword [esp + 0x30]
sub eax, ecx
mov dword [esp + 0x30], eax
jmp 0x453892
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub ecx, edx
sbb eax, 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret 0xc