Function at 0x100398b0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101718b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101f9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bh, bh
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
cmp dword [eax + 0x14], 8
jb 0x100398ee
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100399c9
cmp dword [0x101fdd8c], 0
je 0x10039b98
push 0
mov ecx, 0x101fdd8c
call fcn.10152790
mov eax, dword [0x101fdd8c]
cmp byte [eax + 0x54], 0
je 0x10039b98
cmp dword [eax + 0x58], 2
jb 0x10039b98
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push 0x101a4554
push eax
call fcn.100b78e0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push 0x1b7
push str.RC::RCNewTabPageCfgMapMgr::GetProcFileBitInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
push eax
push 2
call fcn.10153110
test bl, bl
je 0x100399b5
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push eax
call fcn.10153430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007d90
jmp 0x10039b98
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
jne 0x10039a91
cmp dword [0x101fdd8c], eax
je 0x10039b91
push eax
mov ecx, 0x101fdd8c
call fcn.10152790
mov eax, dword [0x101fdd8c]
cmp byte [eax + 0x54], 0
je 0x10039b91
cmp dword [eax + 0x58], 2
jb 0x10039b91
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push 0x101a45dc
push eax
call fcn.100b78e0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push 0x1be
push str.RC::RCNewTabPageCfgMapMgr::GetProcFileBitInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
push eax
push 2
call fcn.10153110
test bl, bl
je 0x10039a7d
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push eax
call fcn.10153430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007d90
jmp 0x10039b91
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x10039b57
cmp dword [0x101fdd8c], eax
je 0x10039b8a
push eax
mov ecx, 0x101fdd8c
call fcn.10152790
mov eax, dword [0x101fdd8c]
cmp byte [eax + 0x54], 0
je 0x10039b8a
cmp dword [eax + 0x58], 2
jb 0x10039b8a
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0xd
push 0x101a4604
call fcn.10007df0
push 0x1c5
push str.RC::RCNewTabPageCfgMapMgr::GetProcFileBitInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push eax
push 2
call fcn.10153110
test bl, bl
je 0x10039b46
lea eax, [ebp - 0x28]
mov ecx, 0x101fdd8c
push eax
call fcn.10153430
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007d90
jmp 0x10039b8a
mov eax, dword [ecx + 0x3c]
mov edx, 0x10b
movzx eax, word [eax + ecx + 0x18]
cmp ax, dx
jne 0x10039b71
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10039b81
mov edx, 0x20b
cmp ax, dx
jne 0x10039b83
mov eax, dword [ebp - 0x2c]
mov byte [eax], 1
mov bh, 1
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101669b4
mov esp, ebp
pop ebp
ret 8