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

Disassembly:
push 0xffffffffffffffff
push 0x475d0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x4cb030]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x148], eax
call dword [0x47f138]
push str.Ran_IMBA_Season_2_
lea eax, [esp + 0x18]
push 0x4db7c4
xor ebp, ebp
push eax
mov dword [esp + 0x160], ebp
call fcn.00401510
push 0x4db7d8
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x16c], 1
call fcn.00402d20
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x158], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0x4807c4
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x408ff6
lea ecx, [esp + 0x60]
call fcn.00407870
mov esi, dword [sym.imp.MSVCR71.dll_fread]
push edi
push 1
lea edx, [esp + 0x68]
push 0xe8
push edx
call esi
add esp, 0x10
cmp eax, 1
push edi
je 0x408e98
call dword [sym.imp.MSVCR71.dll_fclose]
push str._ERROR_LoadCopyList_File_Game_Version_Read_Failed_
jmp 0x408fee
mov eax, dword [esp + 0x124]
push 1
lea ecx, [esp + 0x68]
push 0xe8
push ecx
mov dword [ebx + 0x78], eax
call esi
add esp, 0x10
cmp eax, 1
je 0x408ec9
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
push str._ERROR_LoadCopyList_File_Size_Read_Failed_
jmp 0x408fee
mov eax, dword [esp + 0x120]
test eax, eax
jle 0x408fa4
jmp 0x408ee0
push 0xe8
call sub.MFC71.DLL_operator_new_1
add esp, 4
test eax, eax
je 0x408efc
mov ecx, eax
call fcn.00407870
mov esi, eax
jmp 0x408efe
xor esi, esi
push edi
push 1
push 0xe8
push esi
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x408fe2
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x60]
push edx
call fcn.004079b0
add esp, 0x24
mov esi, eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x158], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebx + 0xc8]
mov byte [esp + 0x15c], 4
call fcn.00408910
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x154], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x120]
inc ebp
cmp ebp, eax
jl 0x408ee0
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x148]
call fcn.00462cf9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
push str._ERROR_LoadCopyList_File_Read_Failed_
call fcn.00417630
add esp, 8
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x408fbd