Function at 0x43ec80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4666c1
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x47e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x24], 0
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x43ecde
push 0x472258
push str.._res_SaveFile_G_Play.Dat
call fcn.0044f249
add esp, 8
mov dword [ebp - 0x2c], eax
jmp 0x43ecf3
push 0x472238
push str.._res_SaveFile_G_Play_B.Dat
call fcn.0044f249
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x43ef3d
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00419630
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
call fcn.00449dd6
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
mov eax, dword [ebp - 0x28]
push eax
call fcn.0044f999
add esp, 0x10
mov ecx, dword [0x4813fc]
add ecx, dword [0x481400]
mov dword [0x4813e4], ecx
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x24]
mov ecx, 0xb
mov edi, 0x4813e4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x24]
add edx, 0x2c
mov dword [ebp - 0x24], edx
mov ecx, 0x481414
call fcn.00403010
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
add edx, 4
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], 0
jmp 0x43ed97
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x14]
jge 0x43ef01
push 0x91
call fcn.00449b00
add esp, 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
call fcn.00422420
mov dword [ebp - 0x3c], eax
jmp 0x43edce
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
add ecx, 4
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
add edi, 4
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x24]
add edx, 0x80
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x84
call fcn.00403010
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x24]
add edx, 4
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], 0
jmp 0x43ee4d
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x18]
jge 0x43eebf
push 0x2a
call fcn.00449b00
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
call fcn.004223a0
mov dword [ebp - 0x40], eax
jmp 0x43ee7d
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x24]
mov ecx, 0xa
mov edi, dword [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, dword [ebp - 0x24]
add ecx, 0x2a
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x84
call fcn.00428df0
jmp 0x43ee44
cmp dword [0x481450], 0x11
jl 0x43eee4
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [eax]
mov byte [ecx + 0x90], dl
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x43eeee
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x90], 0
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x481414
call fcn.00428df0
jmp 0x43ed8e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044f4bd
add esp, 4
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.00449b69
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x43ef2e
mov dword [ebp - 0x5c], 0
jmp 0x43ef3b
mov dword [ebp - 0x28], 0x8123
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
jmp 0x43ef4e
push 0x30
push 0
push 0x4813e4
call fcn.0044c410
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00449aef
mov esp, ebp
pop ebp
ret