Function at 0x45d770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], ecx
call fcn.0045c8b0
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 0x56414c
lea eax, [ebp - 0x410]
push eax
call dword [0x55e2d0]
add esp, 0x10
push 0x564158
lea ecx, [ebp - 0x410]
push ecx
call fcn.004e1e40
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45d80d
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 [0x55e2d0]
add esp, 0xc
push 0x564168
lea edx, [ebp - 0x410]
push edx
call fcn.004e1e40
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 + 0x54]
call eax
cmp dword [ebp - 8], 0
jne 0x45d89b
cmp dword [ebp + 8], 0
je 0x45d87f
call fcn.0041d1b0
test eax, eax
jne 0x45d850
mov ecx, dword [ebp - 4]
push ecx
push 0x56416c
lea edx, [ebp - 0x810]
push edx
call dword [0x55e2d0]
add esp, 0xc
jmp 0x45d869
mov eax, dword [ebp - 4]
push eax
push 0x56419c
lea ecx, [ebp - 0x810]
push ecx
call dword [0x55e2d0]
add esp, 0xc
push 0
push 0x5641d0
lea edx, [ebp - 0x810]
push edx
push 0
call dword [0x55e28c]
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 0x45dbac
mov ecx, dword [ebp - 8]
push ecx
push 1
push 4
mov edx, dword [ebp - 0x814]
add edx, 4
push edx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
mov ecx, dword [ebp - 0x814]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 1
jle 0x45d92b
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x44
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 2
jle 0x45d979
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x844
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 3
jle 0x45d9c7
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x8864
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 4
jle 0x45da15
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x8a84
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 5
jle 0x45da63
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x8fa4
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 6
jle 0x45dab1
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0x97c4
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 7
jle 0x45daff
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0xd7e4
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 8
jle 0x45db4d
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0xdc04
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
cmp dword [ebp - 0xc], 9
jle 0x45db9b
mov eax, dword [ebp - 8]
push eax
push 1
push 4
mov ecx, dword [ebp - 0x814]
add ecx, 0xe024
push ecx
call fcn.0041dbff
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.0041dbff
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004133fa
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 4