Function at 0x1006a940
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c620
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1006aab3
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1006a992
cmp eax, 0x80
jne 0x1006aab3
push str.RC_SAFE_D814728C_09A4_4116_8D27_23C65A67CB53
push 8
push 0
push 4
push 0
push 0xffffffffffffffff
mov byte [esi + 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x48], eax
test eax, eax
je 0x1006aaa1
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x4c], eax
test eax, eax
je 0x1006aa91
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1006a9e5
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 0x54], 0
cmp dword [0x10208e74], 0
je 0x1006aa8a
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x1006aa8a
cmp dword [eax + 0x58], 2
jb 0x1006aa8a
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
lea ecx, [ebp - 0x28]
push 0x12
push 0x101b5a88
call fcn.10007fb0
push 0x124
push str.RC::RCSearchEngineLockDllInjectMgr::InitLockNotify
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_searchenginelockdllinjectmgr_rcsearchenginelockdllinjectmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
test bl, bl
je 0x1006aa7b
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007f50
mov al, 1
jmp 0x1006ab5e
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1006aaaf
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 0x54], 0
cmp dword [0x10208e74], 0
je 0x1006ab5c
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x1006ab5c
cmp dword [eax + 0x58], 2
jb 0x1006ab5c
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], 1
lea ecx, [ebp - 0x28]
push 0x12
push 0x101b5ae0
call fcn.10007fb0
push 0x12e
push str.RC::RCSearchEngineLockDllInjectMgr::InitLockNotify
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_searchenginelockdllinjectmgr_rcsearchenginelockdllinjectmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
test bl, bl
je 0x1006ab4d
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007f50
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret