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

Disassembly:
push 0xffffffffffffffff
push 0x475a4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x4ca010]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x148], eax
call dword [0x47e138]
push str.New_Ran_IMBA_
lea eax, [esp + 0x18]
push 0x4da7a4
xor ebp, ebp
push eax
mov dword [esp + 0x160], ebp
call fcn.00401510
push 0x4da7b8
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x16c], 1
call fcn.00402d30
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 0x47f7a4
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 0x408fe6
lea ecx, [esp + 0x60]
call fcn.004078d0
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 0x408e88
call dword [sym.imp.MSVCR71.dll_fclose]
push str._ERROR_LoadCopyList_File_Game_Version_Read_Failed_
jmp 0x408fde
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 0x408eb9
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
push str._ERROR_LoadCopyList_File_Size_Read_Failed_
jmp 0x408fde
mov eax, dword [esp + 0x120]
test eax, eax
jle 0x408f94
jmp 0x408ed0
push 0xe8
call sub.MFC71.DLL_operator_new_1
add esp, 4
test eax, eax
je 0x408eec
mov ecx, eax
call fcn.004078d0
mov esi, eax
jmp 0x408eee
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 0x408fd2
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.00407a10
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.00408900
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 0x408ed0
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.00462a29
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.00417710
add esp, 8
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x408fad