Function at 0x1001bc90
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ef92c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1012d034]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push str.ChromePrivateRecord_start
push 1
push 0x10
push 0x100ff4b0
push 0x100ff4f8
call fcn.100e13e0
push ecx
mov ecx, esp
xor eax, eax
push 0x11
push 0x100ff524
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.10001e10
lea ecx, [esp + 0x2c]
call fcn.100bcbd0
add esp, 0x18
mov dword [esp + 0x40], 0
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100d5ff0
test al, al
je 0x1001bd2e
push 0xffffffffffffffff
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x40], 0xffffffff
or esi, 0xffffffff
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1001bd64
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x1001bd64
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
mov edx, esi
lock xadd dword [eax], edx
jne 0x1001bd64
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 1
mov eax, dword [0x101320b8]
test al, 1
jne 0x1001bdd4
or eax, 1
mov dword [0x101320b8], eax
mov byte [esp + 0x40], 2
movq qword [0x101320ac], xmm0
mov dword [0x101320b4], 0
call fcn.100bfe00
push 0x100f6d00
call fcn.100ebe7b
add esp, 4
mov byte [esp + 0x40], 1
push ecx
lea eax, [esp + 0x28]
mov ecx, 0x101320b0
push eax
call fcn.100d6b30
mov ebx, dword [esp + 0x28]
mov eax, 0x92492493
mov edi, dword [esp + 0x24]
mov ecx, ebx
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1001bebe
push 0x100ff548
push 1
push 0x16
push 0x100ff560
push 0x100ff5a8
call fcn.100e13e0
push ecx
mov ecx, esp
push 0x100ff5d4
call fcn.10001f10
lea ecx, [esp + 0x34]
call fcn.100bcbd0
add esp, 0x18
mov eax, dword [eax]
add eax, 0x1c
mov dword [esp + 0x14], eax
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x1001be4e
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
test eax, eax
je 0x1001be7d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x1001be7d
mov eax, dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
test edx, edx
je 0x1001bfcf
lea eax, [edx + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x1001bfcf
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 8]
lock xadd dword [eax], esi
dec esi
jne 0x1001bfcf
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1001bfcf
mov eax, dword [0x101320b8]
test al, 1
jne 0x1001bf00
or eax, 1
mov dword [0x101320b8], eax
mov byte [esp + 0x40], 3
xorps xmm0, xmm0
movq qword [0x101320ac], xmm0
mov dword [0x101320b4], 0
call fcn.100bfe00
push 0x100f6d00
call fcn.100ebe7b
add esp, 4
mov byte [esp + 0x40], 1
mov eax, dword [0x101320b0]
mov ecx, 0x101320b0
call dword [eax + 0xc]
sub esp, 0x18
mov ecx, esp
push 0x100ff5f8
call fcn.10001f10
lea ecx, [esp + 0x34]
call fcn.100bcbd0
add esp, 0x18
mov edi, dword [eax]
cmp dword [edi + 0x34], 8
lea eax, [edi + 0x20]
jb 0x1001bf35
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x1001bf5e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x1001bf5e
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x1001bf88
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x1001bf88
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x1001bf88
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [esp + 0x24]
push eax
call fcn.1001c020
mov edi, dword [esp + 0x24]
mov esi, edi
mov ebx, dword [esp + 0x28]
cmp edi, ebx
je 0x1001bfae
mov ecx, esi
call fcn.1001a970
add esi, 0x70
cmp esi, ebx
jne 0x1001bfa0
push str.ChromePrivateRecord_end
push 1
push 0x20
push 0x100ff660
mov ebx, edi
push str.CHandleBrowsePrivateRecordEvent::HandleData
mov dword [esp + 0x3c], ebx
call fcn.100e13e0
add esp, 0x14
test edi, edi
je 0x1001bff8
mov esi, edi
cmp edi, ebx
je 0x1001bfee
lea esp, [esp]
mov ecx, esi
call fcn.1001a970
add esi, 0x70
cmp esi, ebx
jne 0x1001bfe0
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100ebd7b
mov esp, ebp
pop ebp
ret