Function at 0x1003a3a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101797e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10204014]
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 0x1003a3de
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 0x1003a4b9
cmp dword [0x10208e74], 0
je 0x1003a688
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x1003a688
cmp dword [eax + 0x58], 2
jb 0x1003a688
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 0x101ad614
push eax
call fcn.100bd840
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push 0x1b7
push str.RC::RCNewTabPageCfgMapMgr::GetProcFileBitInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
push eax
push 2
call fcn.1015aef0
test bl, bl
je 0x1003a4a5
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007f50
jmp 0x1003a688
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 0x1003a581
cmp dword [0x10208e74], eax
je 0x1003a681
push eax
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x1003a681
cmp dword [eax + 0x58], 2
jb 0x1003a681
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 0x101ad69c
push eax
call fcn.100bd840
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push 0x1be
push str.RC::RCNewTabPageCfgMapMgr::GetProcFileBitInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
push eax
push 2
call fcn.1015aef0
test bl, bl
je 0x1003a56d
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007f50
jmp 0x1003a681
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x1003a647
cmp dword [0x10208e74], eax
je 0x1003a67a
push eax
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x1003a67a
cmp dword [eax + 0x58], 2
jb 0x1003a67a
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 0x101ad6c4
call fcn.10007fb0
push 0x1c5
push str.RC::RCNewTabPageCfgMapMgr::GetProcFileBitInfo
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
test bl, bl
je 0x1003a636
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007f50
jmp 0x1003a67a
mov eax, dword [ecx + 0x3c]
mov edx, 0x10b
movzx eax, word [eax + ecx + 0x18]
cmp ax, dx
jne 0x1003a661
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0
jmp 0x1003a671
mov edx, 0x20b
cmp ax, dx
jne 0x1003a673
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.1016e794
mov esp, ebp
pop ebp
ret 8