Function at 0x1005f860
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d960
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101f0014]
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 0x1005f9d3
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1005f8b2
cmp eax, 0x80
jne 0x1005f9d3
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 0x1005f9c1
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 0x1005f9b1
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1005f905
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 0x54], 0
cmp dword [0x101f4a2c], 0
je 0x1005f9aa
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x1005f9aa
cmp dword [eax + 0x58], 2
jb 0x1005f9aa
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 0x101a35e8
call fcn.10007cf0
push 0x124
push str.RC::RCSearchEngineLockDllInjectMgr::InitLockNotify
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_searchenginelockdllinjectmgr_rcsearchenginelockdllinjectmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
test bl, bl
je 0x1005f99b
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007c90
mov al, 1
jmp 0x1005fa7e
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 0x1005f9cf
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 0x54], 0
cmp dword [0x101f4a2c], 0
je 0x1005fa7c
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x1005fa7c
cmp dword [eax + 0x58], 2
jb 0x1005fa7c
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 0x101a366c
call fcn.10007cf0
push 0x12e
push str.RC::RCSearchEngineLockDllInjectMgr::InitLockNotify
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_searchenginelockdllinjectmgr_rcsearchenginelockdllinjectmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
test bl, bl
je 0x1005fa6d
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007c90
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.101606b4
mov esp, ebp
pop ebp
ret