Function at 0x10106062
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov dword [esp + 4], ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0xe8], eax
xor eax, eax
dec eax
lea esi, [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str..pipecrashpad__lu_
push esi
call fcn.100772f0
add esp, 0xc
mov ebx, 0xfffffffc
xor esi, esi
lea edi, [esp + 0xc0]
push edi
call fcn.10125494
add esp, 4
movzx eax, byte [esp + 0x23]
test al, al
cmovs eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
cmovns edx, ecx
mov ecx, edi
push eax
push edx
push esi
call fcn.10056034
mov ecx, dword [eax + 8]
mov dword [esp + 0xd4], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0xcc], xmm0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
movzx eax, byte [esp + 0xd7]
lea ecx, [esp + 0xcc]
test al, al
jns 0x1010611f
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xe0], esi
lea edx, [esp + 0xd8]
push edx
push eax
push ecx
call fcn.10078c10
add esp, 0xc
mov edi, dword [esp + 4]
cmp byte [edi + 0xb], 0
jns 0x1010615a
push dword [edi]
call fcn.10145bd4
add esp, 4
mov eax, dword [esp + 0xe0]
mov dword [edi + 8], eax
movsd xmm0, qword [esp + 0xd8]
movsd qword [edi], xmm0
mov byte [esp + 0xe3], 0
mov word [esp + 0xd8], 0
cmp byte [esp + 0xd7], 0
jns 0x1010619c
push dword [esp + 0xcc]
call fcn.10145bd4
add esp, 4
cmp byte [esp + 0xcb], 0
jns 0x101061b5
push dword [esp + 0xc0]
call fcn.10145bd4
add esp, 4
push 1
push edi
call fcn.10121fa6
add esp, 8
mov edi, eax
cmp eax, 0xffffffff
jne 0x101061d4
lea eax, [ebx + 1]
test ebx, ebx
mov ebx, eax
jne 0x101060ae
cmp edi, 0xffffffff
je 0x101064a1
cmp byte [esp + 0x23], 0
jns 0x101061f0
push dword [esp + 0x18]
call fcn.10145bd4
add esp, 4
xor esi, esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], 0xc
mov dword [esp + 0xe0], 1
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push esi
push esi
lea ebx, [esp + 0xe4]
push ebx
mov ebx, eax
call eax
mov dword [0x101bce24], eax
push esi
push esi
push esi
lea eax, [esp + 0xe4]
push eax
call ebx
mov dword [0x101bce28], eax
push esi
push esi
push esi
lea eax, [esp + 0xe4]
push eax
call ebx
mov dword [0x101bce2c], eax
push esi
push esi
push esi
lea eax, [esp + 0xe4]
push eax
call ebx
mov dword [0x101bce30], eax
push 0x102ce77c
call fcn.101254d0
add esp, 4
push 4
call fcn.10145ba4
add esp, 4
mov dword [eax], esi
mov dword [0x102ce794], eax
push fcn.10107860
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10107a70
push 0x16
call fcn.10162cf3
add esp, 8
push 0x6c
call fcn.10145ba4
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], esp
mov ecx, eax
push dword [ebp + 8]
call fcn.1005b2a0
lea ecx, [ebx + 0xc]
push dword [ebp + 0xc]
call fcn.1005b2a0
lea ecx, [ebx + 0x18]
push dword [ebp + 0x10]
call fcn.1005b2a0
lea ecx, [ebx + 0x24]
mov edx, dword [ebp + 0x14]
cmp byte [edx + 0xb], 0
js 0x101062e2
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
jmp 0x101062ec
push dword [edx + 4]
push dword [edx]
call fcn.10055fcc
lea ecx, [ebx + 0x30]
lea eax, [ebx + 0x34]
xor esi, esi
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x30], eax
mov edx, dword [ebp + 0x18]
lea eax, [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edx]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xcc]
push eax
push edx
call fcn.1003b56a
lea ecx, [ebx + 0x3c]
push dword [ebp + 0x1c]
call fcn.1003aabc
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], esi
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
je 0x101063ad
sar eax, 2
imul eax, eax, 0xaaaaaaab
cmp eax, 0x15555556
jae 0x101064f4
lea ecx, [ebx + 0x54]
push eax
push ecx
call fcn.10037dae
add esp, 8
mov ecx, ebx
mov ebx, eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], eax
lea eax, [edx + edx*2]
lea eax, [ebx + eax*4]
mov dword [esp + 8], ecx
mov dword [ecx + 0x50], eax
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x101063a4
test ebx, ebx
je 0x101064f9
mov ecx, ebx
push esi
call fcn.1005b2a0
add esi, 0xc
add ebx, 0xc
cmp esi, dword [esp + 0x10]
jne 0x10106388
mov eax, dword [esp + 8]
mov dword [eax + 0x4c], ebx
mov ebx, eax
mov ecx, ebx
add ecx, 0x54
mov edx, dword [esp + 4]
cmp byte [edx + 0xb], 0
js 0x101063cc
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [edx]
movsd qword [ecx], xmm0
jmp 0x101063d6
push dword [edx + 4]
push dword [edx]
call fcn.10056cf6
mov dword [ebx + 0x60], 0x1019c0fc
mov dword [ebx + 0x64], edi
mov byte [ebx + 0x68], 0
mov esp, dword [esp + 0xc]
cmp byte [ebp + 0x24], 0
je 0x10106474
mov edi, dword [esp + 4]
mov eax, ebx
lea ebx, [edi + 0xc]
xor esi, esi
push esi
push esi
push eax
push 0x10106500
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x18], eax
mov ecx, ebx
lea eax, [esp + 0x18]
push eax
call fcn.10104bb0
mov bl, 1
cmp dword [edi + 0x10], esi
jne 0x10106487
cmp dword [0x101bee4c], 2
jg 0x10106466
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 0x18]
mov ecx, esi
push eax
push 2
push 0x31a
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.10066f30
lea eax, [esp + 0x20]
push 0xc
push 0x101ad375
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, esi
call fcn.100670a0
mov dword [0x102ce798], 2
xor ebx, ebx
jmp 0x10106487
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
push eax
call fcn.10106548
add esp, 4
mov ebx, eax
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.101465a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x24
push 0x1a9
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea eax, [esp + 0xe0]
push eax
call fcn.100d84a0
add esp, 0xc
mov ebx, dword [esp + 0xd8]
lea eax, [ebx + 8]
push 0xf
push str.CreateNamedPipe
push eax
call fcn.10034b83
add esp, 0xc
test ebx, ebx
je 0x101061dd
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 1
call esi
jmp 0x101061dd
call fcn.1015b4f0
int3