Function at 0x100d3710
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f0c24
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x1012007c]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov eax, dword [0x1012007c]
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 [0x100f4984]
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 0x100d4186
lea ecx, [esp + 0x84]
call sub.mfc90u.dll_CFile::CFile
lea eax, [esp + 0x30c]
push eax
mov byte [esp + 0x344], 1
call fcn.100e4cd0
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 0x100d415e
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 0x100d4152
jb 0x100d37f5
cmp ebx, 0x25800000
jae 0x100d4152
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 0x100d414b
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 0x100d4147
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 [0x100f4984]
lea ecx, [esp + 0x24]
call dword [0x100f4984]
lea ecx, [esp + 0x30]
call dword [0x100f4984]
lea ecx, [esp + 0x18]
call dword [0x100f4984]
lea ecx, [esp + 0x20]
call dword [0x100f4984]
lea edx, [esp + 0xe4]
push edx
mov ecx, ebx
mov edx, edi
mov byte [esp + 0x344], 0xa
call fcn.10011320
test eax, eax
je 0x100d3f8e
push 0x100f7ef0
lea edi, [esp + 0x27c]
lea ecx, [esp + 0xe8]
call fcn.100118f0
push 0x1010e21c
lea edi, [esp + 0x228]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xb
call fcn.100118f0
push 0x1010e23c
lea edi, [esp + 0x260]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xc
call fcn.100118f0
push 0x100f6bb4
lea edi, [esp + 0x244]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xd
call fcn.100118f0
push 0x8003
lea ecx, [esp + 0x298]
mov byte [esp + 0x344], 0xe
call fcn.10028b80
mov eax, dword [esp + 0x28c]
mov esi, 8
test eax, eax
je 0x100d3985
mov ecx, dword [esp + 0x27c]
cmp dword [esp + 0x290], esi
jae 0x100d3975
lea ecx, [esp + 0x27c]
add eax, eax
push eax
push ecx
lea ecx, [esp + 0x29c]
call fcn.10028bb0
mov ecx, dword [esp + 0x238]
test ecx, ecx
je 0x100d39b7
mov eax, dword [esp + 0x228]
cmp dword [esp + 0x23c], esi
jae 0x100d39a7
lea eax, [esp + 0x228]
add ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x29c]
call fcn.10028bb0
mov ecx, dword [esp + 0x270]
test ecx, ecx
je 0x100d39ea
mov eax, dword [esp + 0x260]
cmp dword [esp + 0x274], esi
jae 0x100d39d9
lea eax, [esp + 0x260]
lea edx, [ecx + ecx]
push edx
push eax
lea ecx, [esp + 0x29c]
call fcn.10028bb0
mov ecx, dword [esp + 0x254]
test ecx, ecx
je 0x100d3a1c
mov eax, dword [esp + 0x244]
cmp dword [esp + 0x258], esi
jae 0x100d3a0c
lea eax, [esp + 0x244]
add ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x29c]
call fcn.10028bb0
lea esi, [esp + 0x2a0]
lea ebx, [esp + 0x2f8]
call fcn.10029f20
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x298]
call fcn.10028be0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x124]
push 0xfde9
mov dword [esp + 0x124], eax
push ecx
lea eax, [esp + 0x128]
call fcn.100c4e80
mov byte [esp + 0x340], 0xf
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de520
mov edx, esi
push edx
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x10
call fcn.100e00f0
mov eax, esi
mov byte [esp + 0x340], 0xf
call fcn.100de780
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 0x100d3ac5
push eax
call edi
add esp, 4
cmp dword [esp + 0x290], 8
mov eax, dword [esp + 0x27c]
jae 0x100d3add
lea eax, [esp + 0x27c]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e80
mov byte [esp + 0x340], 0x11
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de520
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x12
call fcn.100e00f0
mov eax, esi
mov byte [esp + 0x340], 0x11
call fcn.100de780
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d3b58
push eax
call edi
add esp, 4
cmp dword [esp + 0x23c], 8
mov eax, dword [esp + 0x228]
jae 0x100d3b70
lea eax, [esp + 0x228]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e80
mov byte [esp + 0x340], 0x13
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de520
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x14
call fcn.100e00f0
mov eax, esi
mov byte [esp + 0x340], 0x13
call fcn.100de780
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d3beb
push eax
call edi
add esp, 4
cmp dword [esp + 0x274], 8
mov eax, dword [esp + 0x260]
jae 0x100d3c03
lea eax, [esp + 0x260]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e80
mov byte [esp + 0x340], 0x15
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de520
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x16
call fcn.100e00f0
mov eax, esi
mov byte [esp + 0x340], 0x15
call fcn.100de780
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d3c7e
push eax
call edi
add esp, 4
cmp dword [esp + 0x258], 8
mov eax, dword [esp + 0x244]
jae 0x100d3c96
lea eax, [esp + 0x244]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100c4e80
mov byte [esp + 0x340], 0x17
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100de520
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x18
call fcn.100e00f0
mov eax, esi
mov byte [esp + 0x340], 0x17
call fcn.100de780
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100d3d11
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.100e4d50
mov byte [esp + 0x340], 0x19
cmp dword [eax + 0x18], 0x10
jb 0x100d3d3a
mov eax, dword [eax + 4]
jmp 0x100d3d3d
add eax, 4
push 0xfde9
lea ecx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], ecx
call fcn.1000eae0
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 0x100d3d97
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 [0x100f4984]
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.10011b40
test eax, eax
je 0x100d3e19
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x30]
call fcn.10011b90
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.100ae150
push 0x8003
lea eax, [esp + 0x98]
mov byte [esp + 0x344], 0x1c
call fcn.100ae510
push 0x800c
lea eax, [esp + 0x98]
call fcn.100ae510
lea eax, [esp + 0x94]
call fcn.100ae2d0
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push edi
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.100ae3b0
lea eax, [esp + 0x94]
push eax
call fcn.100ae460
push 0x8003
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x9c]
call fcn.100ae530
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.100ae530
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.100ae1b0
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 0x100d4076
lea edx, [esp + 0x94]
push edx
call fcn.100ae150
push 0x8003
lea eax, [esp + 0x98]
mov byte [esp + 0x344], 0x1f
call fcn.100ae510
push 0x800c
lea eax, [esp + 0x98]
call fcn.100ae510
lea eax, [esp + 0x94]
call fcn.100ae2d0
push ebx
push edi
lea eax, [esp + 0x9c]
push eax
call fcn.100ae3b0
lea ecx, [esp + 0x94]
push ecx
call fcn.100ae460
push 0x8003
lea edx, [esp + 0x18]
push edx
lea esi, [esp + 0x9c]
call fcn.100ae530
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.100ae530
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.100ae1b0
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 [0x100f4984]
push 0x100f5f74
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.10028c50
lea eax, [esp + 0x4c]
mov byte [esp + 0x340], 2
call fcn.100de780
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.100c9b40
lea ecx, [esp + 0x84]
mov byte [esp + 0x340], 0
call fcn.100e74a6
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.100e7da2
mov esp, ebp
pop ebp
ret 4