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

Disassembly:
sub esp, 0xfc
mov eax, dword [0x45e1ac]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
mov ebp, dword [0x461038]
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.0043c7b0
push 0x42c
call fcn.0043b07e
add esp, 0x10
test eax, eax
je 0x41ff67
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x41ff69
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.0043b07e
add esp, 4
test eax, eax
je 0x41ffd3
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x41ffd5
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.0043b07e
add esp, 4
test eax, eax
je 0x420033
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x420035
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.0043b07e
add esp, 4
test eax, eax
je 0x420093
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x420095
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.0043b07e
add esp, 4
test eax, eax
je 0x4200f3
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x4200f5
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.0043b07e
add esp, 4
test eax, eax
je 0x420151
mov esi, eax
call fcn.00404930
jmp 0x420153
xor eax, eax
mov dword [ebp + 0x338], eax
push eax
mov eax, str.AddNewPO_number.pak
call fcn.00404e10
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x42017e
mov esi, eax
call fcn.00404930
jmp 0x420180
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.0043b07e
add esp, 4
test eax, eax
je 0x4201ad
mov esi, eax
call fcn.00404930
mov esi, eax
jmp 0x4201af
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.0043b07e
add esp, 4
test eax, eax
je 0x42020f
mov esi, eax
call fcn.00404930
jmp 0x420211
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.0043b874
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 0x4201f5
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x420297
mov esi, eax
call fcn.00404930
jmp 0x420299
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], 0x459dd8
mov dword [esp + 0x64], 0x459ddc
mov dword [esp + 0x68], 0x459de0
mov dword [esp + 0x6c], 0x459de4
mov dword [esp + 0x70], 0x459de8
mov dword [esp + 0x74], 0x459dec
mov dword [esp + 0x78], 0x459df0
mov dword [esp + 0x7c], 0x459df4
mov dword [esp + 0x80], 0x459df8
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.0043b07e
add esp, 4
test eax, eax
je 0x42039a
mov esi, eax
call fcn.00404930
jmp 0x42039c
xor eax, eax
cmp edi, 0xb
mov dword [ebp + edi*4 + 0x36c], eax
jge 0x4203c1
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 0x4203f8
jne 0x4203dc
push str.03_win
push str.Musa
push str.AddNewPOpop__s__s.pak
lea ecx, [esp + 0x94]
push ecx
jmp 0x4203f8
cmp edi, 0xc
jne 0x420400
push str.03_win_loop
push str.Musa
push str.AddNewPOpop__s__s.pak
lea edx, [esp + 0x94]
push edx
call fcn.0043b874
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 0x420380
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.0043b07e
add esp, 4
test eax, eax
je 0x42048a
mov esi, eax
call fcn.00404930
jmp 0x42048c
xor eax, eax
cmp edi, 0xb
mov dword [ebp], eax
jge 0x4204ad
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 0x4204c4
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.0043b874
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 0x420470
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x420462
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.0043b07e
add esp, 4
test eax, eax
je 0x42056e
mov esi, eax
call fcn.00404930
mov esi, dword [esp + 0x18]
jmp 0x420570
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.0043b874
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 0x420550
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 9
mov dword [esp + 0x14], eax
jl 0x420546
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.0043a7e2
add esp, 0xfc
ret