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

Disassembly:
sub esp, 0x118
mov eax, dword [0x45e1ac]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
mov ebx, dword [0x461008]
push ebp
push esi
push edi
push 0x7f
lea eax, [esp + 0xa9]
push 0
push eax
mov byte [esp + 0xb0], 0
call fcn.0043c7b0
lea edi, [ebx + 0x48c]
add esp, 0xc
mov ebp, edi
mov dword [esp + 0x1c], 8
lea ebx, [ebx]
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41ceea
mov esi, eax
call fcn.00404930
jmp 0x41ceec
xor eax, eax
mov dword [ebp], eax
add ebp, 4
sub dword [esp + 0x1c], 1
jne 0x41ced0
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], 0x458eec
mov dword [esp + 0x28], 0x458ebc
mov dword [esp + 0x2c], 0x458ec0
mov dword [esp + 0x30], 0x458ec8
mov dword [esp + 0x34], 0x458ed0
mov dword [esp + 0x38], 0x458edc
mov dword [esp + 0x3c], 0x459a28
mov dword [esp + 0x40], 0x459a2c
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], 0x459a30
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 0x41d230
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 0x41d250
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d26a
mov esi, eax
call fcn.00404930
jmp 0x41d26c
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.0043b874
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 0x41d250
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edx
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d31a
mov esi, eax
call fcn.00404930
jmp 0x41d31c
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.0043b874
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 0x41d300
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 0x41d230
xor edi, edi
lea ebp, [ebx + 0x638]
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d3e0
mov esi, eax
call fcn.00404930
jmp 0x41d3e2
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.0043b874
add esp, 0xc
test edi, edi
je 0x41d40f
mov ecx, dword [ebp]
push ecx
lea eax, [esp + 0xa8]
call fcn.00404e10
inc edi
add ebp, 4
cmp edi, 0xa
jl 0x41d3c6
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d432
mov esi, eax
call fcn.00404930
jmp 0x41d434
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.0043b07e
add esp, 4
test eax, eax
je 0x41d45f
mov esi, eax
call fcn.00404930
jmp 0x41d461
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.0043b07e
add esp, 4
test eax, eax
je 0x41d48c
mov esi, eax
call fcn.00404930
jmp 0x41d48e
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.0043b07e
add esp, 4
test eax, eax
je 0x41d4b9
mov esi, eax
call fcn.00404930
jmp 0x41d4bb
xor eax, eax
mov dword [ebx + 0x66c], eax
push eax
mov eax, str.AddnewNu00_game_count.pak
call fcn.00404e10
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d4e6
mov esi, eax
call fcn.00404930
jmp 0x41d4e8
xor eax, eax
mov dword [ebx + 0x670], eax
push eax
mov eax, str.AddnewNu02_count_number.pak
call fcn.00404e10
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d513
mov esi, eax
call fcn.00404930
jmp 0x41d515
xor eax, eax
push 0x42c
mov dword [ebx + 0x674], eax
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d535
mov esi, eax
call fcn.00404930
jmp 0x41d537
xor eax, eax
push 0x42c
mov dword [ebx + 0x678], eax
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x41d557
mov esi, eax
call fcn.00404930
jmp 0x41d559
xor eax, eax
mov esi, ebx
mov dword [ebx + 0x67c], eax
call fcn.0041d580
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a7e2
add esp, 0x118
ret