Function at 0x45a510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x58005c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], ecx
call fcn.00459650
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0xe4cc]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x55e00c
lea eax, [ebp - 0x410]
push eax
call dword [0x5582d0]
add esp, 0x10
push 0x55e018
lea ecx, [ebp - 0x410]
push ecx
call fcn.004de640
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45a5ad
mov edx, dword [ebp - 0x814]
mov eax, dword [edx + 0xe4cc]
push eax
push str.sav_s.org
lea ecx, [ebp - 0x410]
push ecx
call dword [0x5582d0]
add esp, 0xc
push 0x55e028
lea edx, [ebp - 0x410]
push edx
call fcn.004de640
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x814]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x814]
mov eax, dword [edx + 0x4c]
call eax
cmp dword [ebp - 8], 0
jne 0x45a63b
cmp dword [ebp + 8], 0
je 0x45a61f
call fcn.0041d050
test eax, eax
jne 0x45a5f0
mov ecx, dword [ebp - 4]
push ecx
push 0x55e02c
lea edx, [ebp - 0x810]
push edx
call dword [0x5582d0]
add esp, 0xc
jmp 0x45a609
mov eax, dword [ebp - 4]
push eax
push 0x55e05c
lea ecx, [ebp - 0x810]
push ecx
call dword [0x5582d0]
add esp, 0xc
push 0
push 0x55e090
lea edx, [ebp - 0x810]
push edx
push 0
call dword [0x55828c]
push 0
mov eax, dword [ebp - 0x814]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x814]
mov eax, dword [edx + 0xc]
call eax
xor eax, eax
jmp 0x45a94c
mov ecx, dword [ebp - 8]
push ecx
push 1
push 4
mov edx, dword [ebp - 0x814]
add edx, 4
push edx
call fcn.0041da81
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x814]
mov edx, dword [ecx + 4]
sub edx, 4
push edx
push 1
mov eax, dword [ebp - 0x814]
add eax, 8
push eax
call fcn.0041da81
add esp, 0x10
mov ecx, dword [ebp - 0x814]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 1
jle 0x45a6cb
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x44
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0x44]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0x48
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 2
jle 0x45a719
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x844
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0x844]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0x848
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 3
jle 0x45a767
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x8864
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0x8864]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0x8868
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 4
jle 0x45a7b5
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x8a84
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0x8a84]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0x8a88
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 5
jle 0x45a803
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x8fa4
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0x8fa4]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0x8fa8
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 6
jle 0x45a851
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x97c4
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0x97c4]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0x97c8
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 7
jle 0x45a89f
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0xd7e4
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0xd7e4]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0xd7e8
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 8
jle 0x45a8ed
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0xdc04
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0xdc04]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0xdc08
push edx
call fcn.0041da81
add esp, 0x10
cmp dword [ebp - 0xc], 9
jle 0x45a93b
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0xe024
push ecx
call fcn.0041da81
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x814]
mov ecx, dword [eax + 0xe024]
sub ecx, 4
push ecx
push 1
mov edx, dword [ebp - 0x814]
add edx, 0xe028
push edx
call fcn.0041da81
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.0041329a
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004130a1
mov esp, ebp
pop ebp
ret 4