Function at 0x41fdd0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xfc
mov eax, dword [0x45d1ac]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
mov ebp, dword [0x460038]
push esi
push edi
push 0x7f
lea eax, [esp + 0x8d]
push 0
push eax
mov dword [esp + 0x24], ebp
mov byte [esp + 0x94], 0
call fcn.0043c620
push 0x42c
call fcn.0043aeee
add esp, 0x10
test eax, eax
je 0x41fe27
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x41fe29
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.AddNewPOpop_01_in_board_bottom.pak
mov dword [ebp + 0x324], esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call edi
push 0x42c
mov dword [esi + 0x424], 0
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41fe93
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x41fe95
xor esi, esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.AddNewPOpop_01_in_board_left.pak
mov dword [ebp + 0x328], esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call edi
push 0x42c
mov dword [esi + 0x424], 0
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41fef3
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x41fef5
xor esi, esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.AddNewPOpop_01_in_board_right.pak
mov dword [ebp + 0x32c], esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call edi
push 0x42c
mov dword [esi + 0x424], 0
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41ff53
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x41ff55
xor esi, esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.AddNewPOpop_01_in_effect.pak
mov dword [ebp + 0x330], esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call edi
push 0x42c
mov dword [esi + 0x424], 0
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41ffb3
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x41ffb5
xor esi, esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.AddNewPOpop_02_ready_effect.pak
mov dword [ebp + 0x334], esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call edi
push 0x42c
mov dword [esi + 0x424], 0
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x420011
mov esi, eax
call fcn.00404930
jmp 0x420013
xor eax, eax
mov dword [ebp + 0x338], eax
push eax
mov eax, str.AddNewPO_number.pak
call fcn.00404e10
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x42003e
mov esi, eax
call fcn.00404930
jmp 0x420040
xor eax, eax
mov dword [ebp + 0x33c], eax
push eax
mov eax, str.AddNewPO01_ui_small_x.pak
call fcn.00404e10
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x42006d
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x42006f
xor esi, esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.AddNewPOpop_Granpa.pak
mov dword [ebp + 0x368], esi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call edi
xor edi, edi
mov dword [esi + 0x424], edi
add ebp, 0x340
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x4200cf
mov esi, eax
call fcn.00404930
jmp 0x4200d1
xor eax, eax
push edi
mov dword [ebp], eax
lea eax, [esp + 0x8c]
push str.AddNewPOpop_02_vs_bg_0_d.pak
push eax
call fcn.0043b6e4
mov esi, dword [ebp]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0xa0]
push ecx
call ebx
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
inc edi
add ebp, 4
cmp edi, 9
mov dword [esi + 0x424], 0
jl 0x4200b5
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x420157
mov esi, eax
call fcn.00404930
jmp 0x420159
xor eax, eax
mov ebp, dword [esp + 0x18]
mov dword [ebp + 0x364], eax
push eax
mov eax, str.AddNewPOpop_02_vs_board_gauge.pak
call fcn.00404e10
mov eax, str.03_RE_in
mov dword [esp + 0x24], str.ninja_black
mov dword [esp + 0x28], str.ninja_red
mov dword [esp + 0x2c], str.ninja_yellow
mov dword [esp + 0x30], str.boss
mov dword [esp + 0x60], 0x458dd8
mov dword [esp + 0x64], 0x458ddc
mov dword [esp + 0x68], 0x458de0
mov dword [esp + 0x6c], 0x458de4
mov dword [esp + 0x70], 0x458de8
mov dword [esp + 0x74], 0x458dec
mov dword [esp + 0x78], 0x458df0
mov dword [esp + 0x7c], 0x458df4
mov dword [esp + 0x80], 0x458df8
mov dword [esp + 0x34], str.01_in
mov dword [esp + 0x38], str.02_ready
mov dword [esp + 0x3c], str.03_stand
mov dword [esp + 0x40], str.03_attack_01
mov dword [esp + 0x44], str.03_attack_02
mov dword [esp + 0x48], str.03_attack_03
mov dword [esp + 0x4c], str.03_attack_04
mov dword [esp + 0x50], str.03_avoide
mov dword [esp + 0x54], str.03_damage
mov dword [esp + 0x58], str.03_die
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], str.03_die_02
xor edi, edi
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x42025a
mov esi, eax
call fcn.00404930
jmp 0x42025c
xor eax, eax
cmp edi, 0xb
mov dword [ebp + edi*4 + 0x36c], eax
jge 0x420281
mov edx, dword [esp + edi*4 + 0x34]
push edx
push str.Musa
push str.AddNewPOpop__s__s.pak
lea eax, [esp + 0x94]
push eax
jmp 0x4202b8
jne 0x42029c
push str.03_win
push str.Musa
push str.AddNewPOpop__s__s.pak
lea ecx, [esp + 0x94]
push ecx
jmp 0x4202b8
cmp edi, 0xc
jne 0x4202c0
push str.03_win_loop
push str.Musa
push str.AddNewPOpop__s__s.pak
lea edx, [esp + 0x94]
push edx
call fcn.0043b6e4
add esp, 0x10
mov esi, dword [ebp + edi*4 + 0x36c]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [esp + 0xa0]
push eax
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
inc edi
cmp edi, 0xd
mov dword [esi + 0x424], 0
jl 0x420240
mov dword [esp + 0x14], 0
add ebp, 0x3a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x24]
xor edi, edi
mov dword [esp + 0x10], ecx
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x42034a
mov esi, eax
call fcn.00404930
jmp 0x42034c
xor eax, eax
cmp edi, 0xb
mov dword [ebp], eax
jge 0x42036d
mov edx, dword [esp + edi*4 + 0x34]
mov eax, dword [esp + 0x10]
push edx
push eax
push str.AddNewPOpop__s__s.pak
lea ecx, [esp + 0x94]
push ecx
jmp 0x420384
mov edx, dword [esp + 0x10]
push str.03_lose
push edx
push str.AddNewPOpop__s__s.pak
lea eax, [esp + 0x94]
push eax
call fcn.0043b6e4
mov esi, dword [ebp]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0xa0]
push ecx
call ebx
push 0
lea edx, [esp + 0x88]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
inc edi
add ebp, 4
cmp edi, 0xc
mov dword [esi + 0x424], 0
jl 0x420330
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x420322
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], 0
lea edi, [esi + 0x460]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + edx*4 + 0x60]
xor ebp, ebp
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x42042e
mov esi, eax
call fcn.00404930
mov esi, dword [esp + 0x18]
jmp 0x420430
xor eax, eax
mov dword [edi], eax
mov eax, dword [esp + ebp*4 + 0x1c]
push eax
push ebx
lea ecx, [esp + 0x90]
push str.AddNewPOpop_dividend__s__s.pak
push ecx
call fcn.0043b6e4
mov edx, dword [edi]
add esp, 0x10
push edx
lea eax, [esp + 0x8c]
call fcn.00404e10
inc ebp
add edi, 4
cmp ebp, 2
jl 0x420410
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 9
mov dword [esp + 0x14], eax
jl 0x420406
mov ecx, dword [esp + 0x108]
xor eax, eax
mov byte [esi + 0x4a8], 0
mov dword [esi + 0x4ac], eax
mov dword [esi + 0x4b0], eax
mov dword [esi + 0x4b4], eax
mov dword [esi + 0x4b8], eax
mov dword [esi + 0x4d4], eax
mov dword [esi + 0x4dc], eax
mov dword [esi + 0x4cc], eax
mov dword [esi + 0x4d0], eax
mov dword [esi + 0x4bc], eax
mov dword [esi + 0x4c0], eax
pop edi
mov dword [esi + 0x4c4], eax
mov dword [esi + 0x4c8], eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a652
add esp, 0xfc
ret