Function at 0x45e130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x524], ecx
lea eax, [ebp - 0x18]
push eax
call dword [0x55e13c]
mov ecx, dword [ebp - 0x524]
mov dword [ecx + 0x24], 0xa
movzx edx, word [ebp - 0x18]
mov eax, dword [ebp - 0x524]
mov dword [eax + 0x64], edx
movzx ecx, word [ebp - 0x16]
mov edx, dword [ebp - 0x524]
mov dword [edx + 0x68], ecx
movzx eax, word [ebp - 0x12]
mov ecx, dword [ebp - 0x524]
mov dword [ecx + 0x6c], eax
movzx edx, word [ebp - 0x14]
mov eax, dword [ebp - 0x524]
mov dword [eax + 0x70], edx
movzx ecx, word [ebp - 0x10]
mov edx, dword [ebp - 0x524]
mov dword [edx + 0x74], ecx
movzx eax, word [ebp - 0xe]
mov ecx, dword [ebp - 0x524]
mov dword [ecx + 0x78], eax
movzx edx, word [ebp - 0xc]
mov eax, dword [ebp - 0x524]
mov dword [eax + 0x7c], edx
movzx ecx, word [ebp - 0xa]
mov edx, dword [ebp - 0x524]
mov dword [edx + 0x80], ecx
mov eax, dword [ebp - 0x524]
mov ecx, dword [eax + 0xa0]
add ecx, 1
mov edx, dword [ebp - 0x524]
mov dword [edx + 0xa0], ecx
call fcn.0045c8b0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x524]
mov ecx, dword [eax + 0xe4cc]
push ecx
mov edx, dword [ebp - 4]
push edx
push str._s_s.sav
lea eax, [ebp - 0x120]
push eax
call dword [0x55e2d0]
add esp, 0x10
push 0x5642a4
lea ecx, [ebp - 0x120]
push ecx
call fcn.004e1e40
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45e291
cmp dword [ebp + 8], 0
je 0x45e28a
call fcn.0041d1b0
test eax, eax
jne 0x45e25b
mov edx, dword [ebp - 4]
push edx
push 0x5642a8
lea eax, [ebp - 0x520]
push eax
call dword [0x55e2d0]
add esp, 0xc
jmp 0x45e274
mov ecx, dword [ebp - 4]
push ecx
push 0x5642e0
lea edx, [ebp - 0x520]
push edx
call dword [0x55e2d0]
add esp, 0xc
push 0
push 0x564318
lea eax, [ebp - 0x520]
push eax
push 0
call dword [0x55e28c]
xor eax, eax
jmp 0x45e3d6
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x40
mov edx, dword [ebp - 0x524]
add edx, 4
push edx
call fcn.0041d88c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
push 1
push 0x800
mov ecx, dword [ebp - 0x524]
add ecx, 0x44
push ecx
call fcn.0041d88c
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
push 1
push 0x8020
mov eax, dword [ebp - 0x524]
add eax, 0x844
push eax
call fcn.0041d88c
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x220
mov edx, dword [ebp - 0x524]
add edx, 0x8864
push edx
call fcn.0041d88c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
push 1
push 0x520
mov ecx, dword [ebp - 0x524]
add ecx, 0x8a84
push ecx
call fcn.0041d88c
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
push 1
push 0x820
mov eax, dword [ebp - 0x524]
add eax, 0x8fa4
push eax
call fcn.0041d88c
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x4020
mov edx, dword [ebp - 0x524]
add edx, 0x97c4
push edx
call fcn.0041d88c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
push 1
push 0x420
mov ecx, dword [ebp - 0x524]
add ecx, 0xd7e4
push ecx
call fcn.0041d88c
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
push 1
push 0x420
mov eax, dword [ebp - 0x524]
add eax, 0xdc04
push eax
call fcn.0041d88c
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x420
mov edx, dword [ebp - 0x524]
add edx, 0xe024
push edx
call fcn.0041d88c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004133fa
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 4