Function at 0x100ce010
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x100ee5a9
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
push esi
mov eax, dword [0x1012007c]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
lea ecx, [esp + 0x10]
call dword [0x100f4984]
xor ebp, ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x148], ebp
call dword [0x100f4984]
lea ecx, [esp + 0x24]
call dword [0x100f4984]
mov byte [esp + 0x148], 2
mov ecx, dword [ebx + 0x7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x10]
push edx
lea esi, [edi + 4]
push esi
call eax
test eax, eax
jne 0x100ce0b4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
jmp 0x100ce35a
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], ebp
call sub.mfc90u.dll_CFile::CFile
lea ecx, [esp + 0xa0]
push ecx
mov byte [esp + 0x14c], 3
call fcn.100e4cd0
push ebp
mov byte [esp + 0x14c], 4
mov esi, dword [esi]
push 0x20
push esi
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x100ce313
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CFile::GetLength
mov esi, eax
cmp edx, ebp
ja 0x100ce30a
jb 0x100ce116
cmp esi, 0x25800000
jae 0x100ce30a
mov edx, dword [esp + 0x30]
push ebp
push ebp
push ebp
push 0x8000002
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esp + 0x28], eax
cmp eax, ebp
je 0x100ce303
push esi
push ebp
push ebp
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x100ce2ff
lea eax, [esp + 0x4c]
push eax
call fcn.100ae150
push 0x8003
lea eax, [esp + 0x50]
mov byte [esp + 0x14c], 5
call fcn.100ae510
push 0x800c
lea eax, [esp + 0x50]
call fcn.100ae510
lea eax, [esp + 0x4c]
call fcn.100ae2d0
push esi
push ebp
lea ecx, [esp + 0x54]
push ecx
call fcn.100ae3b0
lea edx, [esp + 0x4c]
push edx
call fcn.100ae460
and dword [esp + 0x44], 0xfffffe00
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xc8], 0x8003
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc4], vtable.CMD5Hash.0
lea ecx, [esp + 0x14]
call dword [0x100f4984]
lea ecx, [esp + 0x1c]
call dword [0x100f4984]
push 0x8003
lea eax, [esp + 0x10]
push eax
lea esi, [esp + 0x54]
mov byte [esp + 0x150], 0xa
call fcn.100ae530
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0xb
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], 0xa
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x800c
lea ecx, [esp + 0x10]
push ecx
call fcn.100ae530
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 0xc
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [0x100f4984]
lea eax, [esp + 0x18]
push eax
lea eax, [edi + 8]
push eax
mov byte [esp + 0x150], 0xd
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call edx
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea edx, [esp + 0x1c]
push edx
lea ecx, [edi + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push ebp
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0xc4]
mov byte [esp + 0x148], 7
call fcn.10028c50
lea eax, [esp + 0x3c]
mov byte [esp + 0x148], 5
call fcn.100de780
mov eax, esi
push eax
mov byte [esp + 0x14c], 4
call fcn.100ae1b0
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CFile::Close
lea ecx, [esp + 0xa0]
mov byte [esp + 0x148], 3
call fcn.100c9b40
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 2
call fcn.100e74a6
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.100e7da2
add esp, 0x140
ret