Function at 0x4adf70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov edi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004d5ee0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], edx
lea eax, [edi + 0x28]
mov dword [ebp - 0x48], eax
lea esi, [edi + 0x24]
mov ebx, dword [edi + 0x1c]
cmp ebx, 0xffffffff
jne 0x4adfe1
push 1
push edi
call fcn.00491b40
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4adfe8
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056dd80
add esp, 0xc
mov ecx, ebx
push str.CreateNamedPipe
call fcn.00566110
mov ecx, ebx
call fcn.0056ddb0
xor ebx, ebx
dec ebx
jmp 0x4adfe8
mov dword [edi + 0x1c], 0xffffffff
push 0x28
call fcn.0050d4fe
add esp, 4
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x5d3094
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4ae3b0
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4ae2ff
mov ebx, dword [edi + 0x1c]
cmp ebx, 0xffffffff
jne 0x4ae085
push 0
push edi
call fcn.00491b40
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4ae08c
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056dd80
add esp, 0xc
mov ecx, ebx
push str.CreateNamedPipe
call fcn.00566110
mov ecx, ebx
call fcn.0056ddb0
xor ebx, ebx
dec ebx
jmp 0x4ae08c
mov dword [edi + 0x1c], 0xffffffff
push 0x28
call fcn.0050d4fe
add esp, 4
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x5d3094
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ebx, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], esi
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4ae3b0
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x4ae32d
mov ecx, ebx
call fcn.0042a760
lea eax, [edi + 0x2c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x4c], esi
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4ae1d3
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4ae2f2
mov esi, dword [ebp - 0x54]
mov eax, dword [esi]
test eax, eax
je 0x4ae19b
mov ecx, eax
lea edx, [ecx + 4]
cmp dword [ecx + 0x10], ebx
cmovae edx, ecx
cmovae esi, ecx
mov ecx, dword [edx]
test ecx, ecx
jne 0x4ae13b
cmp esi, dword [ebp - 0x54]
je 0x4ae19b
cmp dword [esi + 0x10], ebx
ja 0x4ae19b
test esi, esi
je 0x4ae2d4
mov edx, dword [esi + 4]
mov edi, esi
test edx, edx
je 0x4ae172
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x4ae168
jmp 0x4ae17b
mov ecx, dword [edi + 8]
cmp dword [ecx], edi
mov edi, ecx
jne 0x4ae172
mov edx, dword [ebp - 0x48]
cmp dword [edx], esi
je 0x4ae1c6
mov edi, dword [ebp - 0x5c]
dec dword [edi + 0x30]
push esi
push eax
call fcn.004c7e00
add esp, 8
push esi
call fcn.0050d52e
add esp, 4
mov ecx, ebx
call fcn.004ae4a0
push ebx
call fcn.0050d52e
add esp, 4
cmp byte [edi + 0x34], 0
jne 0x4ae1b7
cmp dword [edi + 0x30], 0
je 0x4ae1ca
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x4ae0f4
mov dword [edx], ecx
jmp 0x4ae182
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x30], ebx
xor edi, edi
dec edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
mov esi, dword [ebp - 0x5c]
push esi
call fcn.004918b0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.004918b0
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov ebx, dword [ebp - 0x60]
push ebx
call esi
push edi
push dword [ebp - 0x64]
call esi
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4ae35e
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x54]
cmp eax, edi
jne 0x4ae36a
mov esi, dword [ebp - 0x5c]
push dword [esi + 0x2c]
call fcn.0047fc90
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x4ae2b3
push eax
call fcn.00492d70
add esp, 4
test ebx, ebx
je 0x4ae2c0
push ebx
call fcn.00492d70
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050db32
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.node_shouldnt_be_null
push str.__x___nullptr
push 0xc2
push str....._buildtools_third_partylibc_trunkinclude__tree
push str._s:_d:_assertion__s_failed:__s
call fcn.0053ff10
mov ecx, dword [ebp - 0x4c]
call fcn.004dfa10
jmp 0x4ae130
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056dd80
add esp, 0xc
mov ecx, ebx
push 0x5dee22
call fcn.00566110
mov ecx, ebx
call fcn.0056ddb0
jmp 0x4ae03d
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056dd80
add esp, 0xc
mov ecx, ebx
push 0x5dee22
call fcn.00566110
mov ecx, ebx
mov ebx, dword [ebp + 8]
call fcn.0056ddb0
jmp 0x4ae0e1
mov ecx, esi
call fcn.004dfa10
jmp 0x4ae271
lea esi, [ebp - 0x38]
mov edi, dword [ebp - 0x54]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x4ae387
mov ecx, ebx
call fcn.004ae4a0
push ebx
call fcn.0050d52e
add esp, 4
mov ecx, esi
call fcn.00478850
mov eax, dword [ebp - 0x38]
cmp eax, edi
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x60]
je 0x4ae284
jmp 0x4ae370