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

Disassembly:
sub esp, 0x118
mov eax, dword [0x45d1ac]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
mov ebx, dword [0x460008]
push ebp
push esi
push edi
push 0x7f
lea eax, [esp + 0xa9]
push 0
push eax
mov byte [esp + 0xb0], 0
call fcn.0043c620
lea edi, [ebx + 0x48c]
add esp, 0xc
mov ebp, edi
mov dword [esp + 0x1c], 8
lea ebx, [ebx]
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41ce0a
mov esi, eax
call fcn.00404930
jmp 0x41ce0c
xor eax, eax
mov dword [ebp], eax
add ebp, 4
sub dword [esp + 0x1c], 1
jne 0x41cdf0
mov esi, dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.Evt_Run_sword_01_run.pak
call edi
mov ebp, 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 ebp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x424], 0
mov esi, dword [ebx + 0x490]
push str.Evt_Run_sword_02_success.pak
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x424], 0
mov esi, dword [ebx + 0x494]
push str.Evt_Run_sword_03_01.pak
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x424], 0
mov esi, dword [ebx + 0x498]
push str.Evt_Run_sword_03_02_shake.pak
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebp
push 0
mov dword [esi + 0x424], 0
mov esi, dword [ebx + 0x49c]
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.Evt_Run_sword_03_04_fail.pak
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x424], 0
mov esi, dword [ebx + 0x4a0]
push str.Evt_Run_sword_03_03_blue.pak
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x424], 0
mov esi, dword [ebx + 0x4a4]
push str.Evt_Run_sword_03_03_green.pak
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x424], 0
mov esi, dword [ebx + 0x4a8]
push str.Evt_Run_sword_03_03_red.pak
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebp
mov dword [esi + 0x424], 0
mov dword [esp + 0x24], 0x457eec
mov dword [esp + 0x28], 0x457ebc
mov dword [esp + 0x2c], 0x457ec0
mov dword [esp + 0x30], 0x457ec8
mov dword [esp + 0x34], 0x457ed0
mov dword [esp + 0x38], 0x457edc
mov dword [esp + 0x3c], 0x458a28
mov dword [esp + 0x40], 0x458a2c
mov eax, str.02_success
mov dword [esp + 0x94], eax
mov dword [esp + 0x60], eax
lea eax, [ebx + 0x4ac]
mov esi, str.03_03
mov edx, str.03_01
mov ecx, str.03_04_fail
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], 0x458a30
mov dword [esp + 0x70], str.01_run
mov dword [esp + 0x74], str.03_02_shake
mov dword [esp + 0x78], str.03_03_blue
mov dword [esp + 0x7c], str.03_03_green
mov dword [esp + 0x80], str.03_03_red
mov dword [esp + 0x84], str.05_pass
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], str.04_success
mov dword [esp + 0x48], str.01_run
mov dword [esp + 0x4c], str.03_02_shake
mov dword [esp + 0x50], str.05_pass
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], str.04_success_02_hit
mov dword [esp + 0x68], str.04_success_01_in
mov dword [esp + 0x6c], str.04_success_03_loop
mov dword [esp + 0x1c], 0
lea eax, [ebx + 0x324]
jmp 0x41d150
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + ecx*4 + 0x24]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jmp 0x41d170
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d18a
mov esi, eax
call fcn.00404930
jmp 0x41d18c
xor eax, eax
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + eax*4 + 0x48]
push ecx
push edx
lea eax, [esp + 0xac]
push str.Evt_Rundividend_x_s__s.pak
push eax
call fcn.0043b6e4
mov esi, dword [esi]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0xbc]
push ecx
call edi
push 0
lea edx, [esp + 0xa0]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call ebp
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 4
inc eax
cmp eax, 0xa
mov dword [esi + 0x424], 0
mov dword [esp + 0x18], eax
jl 0x41d170
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edx
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d23a
mov esi, eax
call fcn.00404930
jmp 0x41d23c
xor eax, eax
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + eax*4 + 0x70]
push ecx
push edx
lea eax, [esp + 0xac]
push str.Evt_Run_room_Door_x_s__s.pak
push eax
call fcn.0043b6e4
mov esi, dword [esi]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0xbc]
push ecx
call edi
push 0
lea edx, [esp + 0xa4]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call ebp
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 4
inc eax
cmp eax, 0xb
mov dword [esi + 0x424], 0
mov dword [esp + 0x18], eax
jl 0x41d220
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc ecx
cmp ecx, 9
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
jl 0x41d150
xor edi, edi
lea ebp, [ebx + 0x638]
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d300
mov esi, eax
call fcn.00404930
jmp 0x41d302
xor eax, eax
push edi
mov dword [ebp], eax
lea eax, [esp + 0xa8]
push str.AddnewFR_board_number_0_d.pak
push eax
call fcn.0043b6e4
add esp, 0xc
test edi, edi
je 0x41d32f
mov ecx, dword [ebp]
push ecx
lea eax, [esp + 0xa8]
call fcn.00404e10
inc edi
add ebp, 4
cmp edi, 0xa
jl 0x41d2e6
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d352
mov esi, eax
call fcn.00404930
jmp 0x41d354
xor eax, eax
mov dword [ebx + 0x660], eax
push eax
mov eax, str.AddnewFR_board_hit_effect.pak
call fcn.00404e10
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d37f
mov esi, eax
call fcn.00404930
jmp 0x41d381
xor eax, eax
mov dword [ebx + 0x664], eax
push eax
mov eax, str.AddnewFR_board_01_in.pak
call fcn.00404e10
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d3ac
mov esi, eax
call fcn.00404930
jmp 0x41d3ae
xor eax, eax
mov dword [ebx + 0x668], eax
push eax
mov eax, str.AddnewFR_board_02_hit.pak
call fcn.00404e10
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d3d9
mov esi, eax
call fcn.00404930
jmp 0x41d3db
xor eax, eax
mov dword [ebx + 0x66c], eax
push eax
mov eax, str.AddnewNu00_game_count.pak
call fcn.00404e10
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d406
mov esi, eax
call fcn.00404930
jmp 0x41d408
xor eax, eax
mov dword [ebx + 0x670], eax
push eax
mov eax, str.AddnewNu02_count_number.pak
call fcn.00404e10
push 0x42c
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d433
mov esi, eax
call fcn.00404930
jmp 0x41d435
xor eax, eax
push 0x42c
mov dword [ebx + 0x674], eax
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d455
mov esi, eax
call fcn.00404930
jmp 0x41d457
xor eax, eax
push 0x42c
mov dword [ebx + 0x678], eax
call fcn.0043aeee
add esp, 4
test eax, eax
je 0x41d477
mov esi, eax
call fcn.00404930
jmp 0x41d479
xor eax, eax
mov esi, ebx
mov dword [ebx + 0x67c], eax
call fcn.0041d4a0
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a652
add esp, 0x118
ret