Function at 0x100b7160
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c77d4
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
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 [0x100ca800]
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 0x100b7bd6
lea ecx, [esp + 0x84]
call sub.mfc90u.dll_CFile::CFile
lea eax, [esp + 0x30c]
push eax
mov byte [esp + 0x344], 1
call fcn.100bfb70
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 0x100b7bae
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 0x100b7ba2
jb 0x100b7245
cmp ebx, 0x25800000
jae 0x100b7ba2
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 0x100b7b9b
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 0x100b7b97
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 [0x100ca800]
lea ecx, [esp + 0x24]
call dword [0x100ca800]
lea ecx, [esp + 0x30]
call dword [0x100ca800]
lea ecx, [esp + 0x18]
call dword [0x100ca800]
lea ecx, [esp + 0x20]
call dword [0x100ca800]
lea edx, [esp + 0xe4]
push edx
mov ecx, ebx
mov edx, edi
mov byte [esp + 0x344], 0xa
call fcn.1000f300
test eax, eax
je 0x100b79de
push 0x100ccd58
lea edi, [esp + 0x27c]
lea ecx, [esp + 0xe8]
call fcn.1000f8d0
push 0x100e094c
lea edi, [esp + 0x228]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xb
call fcn.1000f8d0
push 0x100e096c
lea edi, [esp + 0x260]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xc
call fcn.1000f8d0
push 0x100cbe84
lea edi, [esp + 0x244]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x344], 0xd
call fcn.1000f8d0
push 0x8003
lea ecx, [esp + 0x298]
mov byte [esp + 0x344], 0xe
call fcn.10021150
mov eax, dword [esp + 0x28c]
mov esi, 8
test eax, eax
je 0x100b73d5
mov ecx, dword [esp + 0x27c]
cmp dword [esp + 0x290], esi
jae 0x100b73c5
lea ecx, [esp + 0x27c]
add eax, eax
push eax
push ecx
lea ecx, [esp + 0x29c]
call fcn.10021180
mov ecx, dword [esp + 0x238]
test ecx, ecx
je 0x100b7407
mov eax, dword [esp + 0x228]
cmp dword [esp + 0x23c], esi
jae 0x100b73f7
lea eax, [esp + 0x228]
add ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x29c]
call fcn.10021180
mov ecx, dword [esp + 0x270]
test ecx, ecx
je 0x100b743a
mov eax, dword [esp + 0x260]
cmp dword [esp + 0x274], esi
jae 0x100b7429
lea eax, [esp + 0x260]
lea edx, [ecx + ecx]
push edx
push eax
lea ecx, [esp + 0x29c]
call fcn.10021180
mov ecx, dword [esp + 0x254]
test ecx, ecx
je 0x100b746c
mov eax, dword [esp + 0x244]
cmp dword [esp + 0x258], esi
jae 0x100b745c
lea eax, [esp + 0x244]
add ecx, ecx
push ecx
push eax
lea ecx, [esp + 0x29c]
call fcn.10021180
lea esi, [esp + 0x2a0]
lea ebx, [esp + 0x2f8]
call fcn.10021ac0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x298]
call fcn.100211b0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x124]
push 0xfde9
mov dword [esp + 0x124], eax
push ecx
lea eax, [esp + 0x128]
call fcn.100a8e10
mov byte [esp + 0x340], 0xf
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100bc9c0
mov edx, esi
push edx
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x10
call fcn.100bd6f0
mov eax, esi
mov byte [esp + 0x340], 0xf
call fcn.100bcb30
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 0x100b7515
push eax
call edi
add esp, 4
cmp dword [esp + 0x290], 8
mov eax, dword [esp + 0x27c]
jae 0x100b752d
lea eax, [esp + 0x27c]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100a8e10
mov byte [esp + 0x340], 0x11
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100bc9c0
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x12
call fcn.100bd6f0
mov eax, esi
mov byte [esp + 0x340], 0x11
call fcn.100bcb30
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100b75a8
push eax
call edi
add esp, 4
cmp dword [esp + 0x23c], 8
mov eax, dword [esp + 0x228]
jae 0x100b75c0
lea eax, [esp + 0x228]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100a8e10
mov byte [esp + 0x340], 0x13
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100bc9c0
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x14
call fcn.100bd6f0
mov eax, esi
mov byte [esp + 0x340], 0x13
call fcn.100bcb30
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100b763b
push eax
call edi
add esp, 4
cmp dword [esp + 0x274], 8
mov eax, dword [esp + 0x260]
jae 0x100b7653
lea eax, [esp + 0x260]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100a8e10
mov byte [esp + 0x340], 0x15
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100bc9c0
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x16
call fcn.100bd6f0
mov eax, esi
mov byte [esp + 0x340], 0x15
call fcn.100bcb30
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100b76ce
push eax
call edi
add esp, 4
cmp dword [esp + 0x258], 8
mov eax, dword [esp + 0x244]
jae 0x100b76e6
lea eax, [esp + 0x244]
push 0xfde9
lea edx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], edx
call fcn.100a8e10
mov byte [esp + 0x340], 0x17
mov ebx, dword [esp + 0x120]
lea esi, [esp + 0x5c]
call fcn.100bc9c0
mov eax, esi
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x344], 0x18
call fcn.100bd6f0
mov eax, esi
mov byte [esp + 0x340], 0x17
call fcn.100bcb30
mov byte [esp + 0x340], 0xe
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x124]
cmp eax, ecx
je 0x100b7761
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.100bfbd0
mov byte [esp + 0x340], 0x19
cmp dword [eax + 0x18], 0x10
jb 0x100b778a
mov eax, dword [eax + 4]
jmp 0x100b778d
add eax, 4
push 0xfde9
lea ecx, [esp + 0x128]
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], ecx
call fcn.1000d380
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 0x100b77e7
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 [0x100ca800]
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.1000faa0
test eax, eax
je 0x100b7869
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x30]
call fcn.1000faf0
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.10097370
push 0x8003
lea eax, [esp + 0x98]
mov byte [esp + 0x344], 0x1c
call fcn.10097720
push 0x800c
lea eax, [esp + 0x98]
call fcn.10097720
lea eax, [esp + 0x94]
call fcn.100974e0
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push edi
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.100975c0
lea eax, [esp + 0x94]
push eax
call fcn.10097670
push 0x8003
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x9c]
call fcn.10097740
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.10097740
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.100973d0
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 0x100b7ac6
lea edx, [esp + 0x94]
push edx
call fcn.10097370
push 0x8003
lea eax, [esp + 0x98]
mov byte [esp + 0x344], 0x1f
call fcn.10097720
push 0x800c
lea eax, [esp + 0x98]
call fcn.10097720
lea eax, [esp + 0x94]
call fcn.100974e0
push ebx
push edi
lea eax, [esp + 0x9c]
push eax
call fcn.100975c0
lea ecx, [esp + 0x94]
push ecx
call fcn.10097670
push 0x8003
lea edx, [esp + 0x18]
push edx
lea esi, [esp + 0x9c]
call fcn.10097740
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.10097740
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.100973d0
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 [0x100ca800]
push 0x100cb2fc
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.10020ff0
lea eax, [esp + 0x4c]
mov byte [esp + 0x340], 2
call fcn.100bcb30
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.100ad9d0
lea ecx, [esp + 0x84]
mov byte [esp + 0x340], 0
call fcn.100c036a
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.100c09bd
mov esp, ebp
pop ebp
ret 4