Function at 0x100d33a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f0674
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x1011f07c]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov eax, dword [0x1011f07c]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], esi
call dword [0x100f3984]
mov dword [esp + 0x340], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x48]
push ecx
push edi
mov ecx, esi
call edx
test eax, eax
je 0x100d3e16
lea ecx, [esp + 0x84]
call sub.mfc90u.dll_CFile::CFile
lea eax, [esp + 0x30c]
push eax
mov byte [esp + 0x344], 1
call fcn.100e47f0
push 0
mov byte [esp + 0x344], 2
mov edi, dword [edi]
push 0x20
push edi
lea ecx, [esp + 0x90]
call sub.mfc90u.dll_CFile::Open
test eax, eax
je 0x100d3dee
lea ecx, [esp + 0x84]
call sub.mfc90u.dll_CFile::GetLength
mov ebx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edx
test edx, edx
ja 0x100d3de2
jb 0x100d3485
cmp ebx, 0x25800000
jae 0x100d3de2
mov ecx, dword [esp + 0x88]
push 0
push 0
push 0
push 0x8000002
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esp + 0x40], eax
test eax, eax
je 0x100d3ddb
push ebx
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
xor eax, eax
mov dword [esp + 0x1c], edi
cmp edi, eax
je 0x100d3dd7
and dword [esp + 0x54], 0xfffffe00
mov dword [esp + 0x118], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x298], 0x8003
mov dword [esp + 0x29c], eax
mov dword [esp + method.CHash.virtual_0], vtable.CMD5Hash.0
lea ecx, [esp + 0x44]
call dword [0x100f3984]
lea ecx, [esp + 0x24]
call dword [0x100f3984]
lea ecx, [esp + 0x30]
call dword [0x100f3984]
lea ecx, [esp + 0x18]
call dword [0x100f3984]
lea ecx, [esp + 0x20]
call dword [0x100f3984]
lea edx, [esp + 0xe4]
push edx
mov ecx, ebx
mov edx, edi
mov byte [esp + 0x344], 0xa
call fcn.10010bd0
test eax, eax
je 0x100d3c1e
push 0x100f6ef0
lea edi, [esp + 0x27c]
lea ecx, [esp + 0xe8]
call fcn.100111a0
push 0x1010d21c
lea edi, [esp + 0x228]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xb
call fcn.100111a0
push 0x1010d23c
lea edi, [esp + 0x260]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xc
call fcn.100111a0
push 0x100f5bb4
lea edi, [esp + 0x244]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xd
call fcn.100111a0
push 0x8003
lea ecx, [esp + 0x298]
mov byte [esp + 0x344], 0xe
call fcn.10028a30
mov eax, dword [esp + 0x28c]
mov esi, 8
test eax, eax
je 0x100d3615
mov ecx, dword [esp + 0x27c]
cmp dword [esp + 0x290], esi
jae 0x100d3605
lea ecx, [esp + 0x27c]
add eax, eax
push eax
push ecx
lea ecx, [esp + 0x29c]
call fcn.10028a60
mov ecx, dword [esp + 0x238]
test ecx, ecx
je 0x100d3647
mov eax, dword [esp + 0x228]
cmp dword [esp + 0x23c], esi
jae 0x100d3637
lea eax, [esp + 0x228]
add ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x29c]
call fcn.10028a60
mov ecx, dword [esp + 0x270]
test ecx, ecx
je 0x100d367a
mov eax, dword [esp + 0x260]
cmp dword [esp + 0x274], esi
jae 0x100d3669
lea eax, [esp + 0x260]
lea edx, [ecx + ecx]
push edx
push eax
lea ecx, [esp + 0x29c]
call fcn.10028a60
mov ecx, dword [esp + 0x254]
test ecx, ecx
je 0x100d36ac
mov eax, dword [esp + 0x244]
cmp dword [esp + 0x258], esi
jae 0x100d369c
lea eax, [esp + 0x244]
add ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x29c]
call fcn.10028a60
lea esi, [esp + 0x2a0]
lea ebx, [esp + 0x2f8]
call fcn.10029db0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x298]
call fcn.10028a90
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x124]
push 0xfde9
mov dword [esp + 0x124], eax
push ecx
lea eax, [esp + 0x128]
call fcn.100c4e50
mov byte [esp + 0x340], 0xf
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de040
mov edx, esi
push edx
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x10
call fcn.100dfc10
mov eax, esi
mov byte [esp + 0x340], 0xf
call fcn.100de2a0
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
mov edi, dword [sym.imp.MSVCR90.dll_free]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d3755
push eax
call edi
add esp, 4
cmp dword [esp + 0x290], 8
mov eax, dword [esp + 0x27c]
jae 0x100d376d
lea eax, [esp + 0x27c]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e50
mov byte [esp + 0x340], 0x11
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de040
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x12
call fcn.100dfc10
mov eax, esi
mov byte [esp + 0x340], 0x11
call fcn.100de2a0
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d37e8
push eax
call edi
add esp, 4
cmp dword [esp + 0x23c], 8
mov eax, dword [esp + 0x228]
jae 0x100d3800
lea eax, [esp + 0x228]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e50
mov byte [esp + 0x340], 0x13
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de040
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x14
call fcn.100dfc10
mov eax, esi
mov byte [esp + 0x340], 0x13
call fcn.100de2a0
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d387b
push eax
call edi
add esp, 4
cmp dword [esp + 0x274], 8
mov eax, dword [esp + 0x260]
jae 0x100d3893
lea eax, [esp + 0x260]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e50
mov byte [esp + 0x340], 0x15
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de040
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x16
call fcn.100dfc10
mov eax, esi
mov byte [esp + 0x340], 0x15
call fcn.100de2a0
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d390e
push eax
call edi
add esp, 4
cmp dword [esp + 0x258], 8
mov eax, dword [esp + 0x244]
jae 0x100d3926
lea eax, [esp + 0x244]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e50
mov byte [esp + 0x340], 0x17
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de040
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x18
call fcn.100dfc10
mov eax, esi
mov byte [esp + 0x340], 0x17
call fcn.100de2a0
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d39a1
push eax
call edi
add esp, 4
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x314]
call fcn.100e4870
mov byte [esp + 0x340], 0x19
cmp dword [eax + 0x18], 0x10
jb 0x100d39ca
mov eax, dword [eax + 4]
jmp 0x100d39cd
add eax, 4
push 0xfde9
lea ecx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], ecx
call fcn.1000e330
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x340], 0x1a
mov eax, dword [esp + 0x120]
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
push eax
push str.pe_version
mov ecx, ebx
call edx
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d3a27
push eax
call edi
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0x340], 0xe
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x2c]
call dword [0x100f3984]
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0xf0]
mov byte [esp + 0x34c], 0x1b
call fcn.100113f0
test eax, eax
je 0x100d3aa9
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x30]
call fcn.10011440
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [eax + 0x28]
push ecx
mov ecx, ebx
call edx
lea eax, [esp + 0x94]
push eax
call fcn.100adb50
push 0x8003
lea eax, [esp + 0x98]
mov byte [esp + 0x344], 0x1c
call fcn.100adf10
push 0x800c
lea eax, [esp + 0x98]
call fcn.100adf10
lea eax, [esp + 0x94]
call fcn.100adcd0
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push edi
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.100addb0
lea eax, [esp + 0x94]
push eax
call fcn.100ade60
push 0x8003
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x9c]
call fcn.100adf30
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 0x1d
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]
mov byte [esp + 0x340], 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]
push 0x800c
lea edx, [esp + 0x18]
push edx
call fcn.100adf30
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x344], 0x1e
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]
mov byte [esp + 0x340], 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]
mov eax, dword [ebx]
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x3c]
push ecx
push edx
mov edx, dword [eax + 0x24]
push edi
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call edx
mov eax, esi
push eax
mov byte [esp + 0x344], 0x1b
call fcn.100adbb0
lea ecx, [esp + 0x2c]
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 + 0x240]
mov byte [esp + 0x340], 0xd
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x25c]
mov byte [esp + 0x340], 0xc
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x224]
mov byte [esp + 0x340], 0xb
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0x340], 0xa
lea ecx, [esp + 0x278]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jne 0x100d3d06
lea edx, [esp + 0x94]
push edx
call fcn.100adb50
push 0x8003
lea eax, [esp + 0x98]
mov byte [esp + 0x344], 0x1f
call fcn.100adf10
push 0x800c
lea eax, [esp + 0x98]
call fcn.100adf10
lea eax, [esp + 0x94]
call fcn.100adcd0
push ebx
push edi
lea eax, [esp + 0x9c]
push eax
call fcn.100addb0
lea ecx, [esp + 0x94]
push ecx
call fcn.100ade60
push 0x8003
lea edx, [esp + 0x18]
push edx
lea esi, [esp + 0x9c]
call fcn.100adf30
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 0x20
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]
mov byte [esp + 0x340], 0x1f
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 eax, [esp + 0x18]
push eax
call fcn.100adf30
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x344], 0x21
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]
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 ecx, esi
push ecx
mov byte [esp + 0x344], 0xa
call fcn.100adbb0
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
push ebx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x3c]
call dword [0x100f3984]
push 0x100f4f74
lea ecx, [esp + 0x20]
mov byte [esp + 0x344], 0x22
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x348], 0x23
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call eax
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]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0x3c]
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 + 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 + 0x30]
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 + 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 + 0x44]
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 + 0x294]
mov byte [esp + 0x340], 4
call fcn.100288b0
lea eax, [esp + 0x4c]
mov byte [esp + 0x340], 2
call fcn.100de2a0
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x84]
call sub.mfc90u.dll_CFile::Close
lea ecx, [esp + 0x30c]
mov byte [esp + 0x340], 1
call fcn.100c9b70
lea ecx, [esp + 0x84]
mov byte [esp + 0x340], 0
call fcn.100e6fb6
lea ecx, [esp + 0x48]
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, 1
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.100e78b2
mov esp, ebp
pop ebp
ret 4