Function at 0x5a3b60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov esi, ecx
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.005394b0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], edx
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov eax, 0x734b44
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], cl
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], cl
lea eax, [esi + 0x28]
mov dword [ebp - 0x74], eax
lea edi, [esi + 0x24]
mov al, 1
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x78], ecx
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
mov dword [ebp - 0x64], eax
jne 0x5a3bdf
movzx eax, al
and eax, 1
push eax
push esi
call fcn.00580470
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x5a3be6
jmp 0x5a3f52
mov dword [esi + 0x1c], 0xffffffff
push 0x28
call fcn.006507be
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x734b44
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x5a3fa0
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
mov eax, dword [ebp - 0x78]
lea edi, [eax + eax*2]
mov eax, dword [ebp + edi*4 - 0x24]
test eax, eax
setne cl
cmp eax, ebx
sete dl
and dl, cl
cmp dl, 1
je 0x5a3ea9
test eax, eax
jne 0x5a3ef4
lea eax, [edi*4 - 0x24]
add eax, ebp
mov dword [eax], ebx
test ebx, ebx
je 0x5a3f0f
xor ecx, ecx
inc ecx
test byte [ebp - 0x64], 1
mov eax, 0
mov edi, dword [ebp - 0x60]
jne 0x5a3bb5
mov ecx, dword [ebp + 8]
call fcn.0047c650
lea eax, [esi + 0x2c]
mov dword [ebp - 0x64], eax
jmp 0x5a3cf6
mov dword [ecx], edx
jmp 0x5a3ca5
mov edx, dword [ecx + 8]
cmp dword [edx], ecx
mov ecx, edx
jne 0x5a3c95
mov ecx, dword [ebp - 0x74]
cmp dword [ecx], edi
je 0x5a3c91
lea esi, [edi + 0x10]
mov ecx, dword [ebp - 0x6c]
dec dword [ecx + 0x30]
push edi
push eax
call fcn.005b79b0
add esp, 8
test esi, esi
je 0x5a3e9a
push edi
call fcn.006507ee
add esp, 4
mov esi, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.005a4090
push ebx
call fcn.006507ee
add esp, 4
cmp byte [esi + 0x34], 0
jne 0x5a3cec
cmp dword [esi + 0x30], 0
je 0x5a3d7b
mov edi, dword [ebp - 0x60]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x5a3d84
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5a3e9c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
test eax, eax
je 0x5a3ccc
mov ecx, eax
mov edi, dword [ebp - 0x64]
xor edx, edx
cmp dword [ecx + 0x10], ebx
setb dl
cmovae edi, ecx
mov ecx, dword [ecx + edx*4]
test ecx, ecx
jne 0x5a3d3c
cmp edi, dword [ebp - 0x64]
je 0x5a3ccc
cmp dword [edi + 0x10], ebx
ja 0x5a3ccc
mov esi, dword [edi + 4]
mov ecx, edi
test esi, esi
je 0x5a3c95
mov edx, esi
mov esi, dword [esi]
test esi, esi
je 0x5a3c9e
jmp 0x5a3d6d
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
pxor xmm0, xmm0
movq qword [ebp - 0x34], xmm0
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x48], ebx
xor edi, edi
dec edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.005801f0
add esp, 0xc
pxor xmm0, xmm0
movq qword [ebp - 0x34], xmm0
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.005801f0
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov dword [ebp - 0x68], eax
push eax
call esi
mov eax, dword [ebp - 0x18]
push edi
mov dword [ebp - 0x70], eax
push eax
call esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5a3f02
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx]
mov ebx, dword [ebp - 0x64]
cmp edi, ebx
jne 0x5a3eae
mov esi, dword [ebp - 0x6c]
push dword [esi + 0x2c]
call fcn.00557af0
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp byte [ebp - 0x14], 0
jne 0x5a3ef1
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x5a3e70
push eax
call fcn.00580d50
add esp, 4
cmp byte [ebp - 0x20], 0
jne 0x5a3ef1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x5a3e86
push eax
call fcn.00580d50
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret 4
ud2
mov ecx, dword [ebp - 0x60]
call fcn.005d0790
jmp 0x5a3d2e
call fcn.00665b29
mov esi, dword [edi + 0x10]
test esi, esi
je 0x5a3ec5
mov ecx, esi
call fcn.005a4090
push esi
call fcn.006507ee
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x5a3ee6
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x5a3ecc
mov edi, eax
mov ebx, dword [ebp - 0x64]
cmp eax, ebx
mov ecx, dword [ebp - 0x74]
je 0x5a3e37
jmp 0x5a3eae
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x5a3ee6
jmp 0x5a3ed4
int3
push eax
call fcn.00580d50
add esp, 4
jmp 0x5a3c59
mov ecx, dword [ebp - 0x60]
call fcn.005d0790
jmp 0x5a3e2b
lea esi, [ebp - 0x50]
push 0x14d
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push 0x735bd8
push esi
call fcn.005e4620
add esp, 0x10
lea ebx, [ebp - 0x5c]
push esi
mov esi, dword [ebp - 0x6c]
push ebx
call fcn.006a7d20
add esp, 8
mov ecx, ebx
push 0x78a8dc
call fcn.00686250
mov ecx, ebx
call fcn.006a7dc0
jmp 0x5a3c6c
lea esi, [ebp - 0x50]
push 0x13e
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push 0x735bd8
push esi
call fcn.005e4620
add esp, 0x10
lea ebx, [ebp - 0x5c]
push esi
mov esi, dword [ebp - 0x6c]
push ebx
call fcn.006a7d20
add esp, 8
mov ecx, ebx
push str.CreateNamedPipe
call fcn.00686250
mov ecx, ebx
call fcn.006a7dc0
xor ebx, ebx
dec ebx
jmp 0x5a3be6