Function at 0x4ae050
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.004d5fc0
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 0x4ae0c1
push 1
push edi
call fcn.00491c20
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4ae0c8
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056de60
add esp, 0xc
mov ecx, ebx
push str.CreateNamedPipe
call fcn.005661f0
mov ecx, ebx
call fcn.0056de90
xor ebx, ebx
dec ebx
jmp 0x4ae0c8
mov dword [edi + 0x1c], 0xffffffff
push 0x28
call fcn.0050d5de
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 0x4ae490
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4ae3df
mov ebx, dword [edi + 0x1c]
cmp ebx, 0xffffffff
jne 0x4ae165
push 0
push edi
call fcn.00491c20
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4ae16c
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056de60
add esp, 0xc
mov ecx, ebx
push str.CreateNamedPipe
call fcn.005661f0
mov ecx, ebx
call fcn.0056de90
xor ebx, ebx
dec ebx
jmp 0x4ae16c
mov dword [edi + 0x1c], 0xffffffff
push 0x28
call fcn.0050d5de
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 0x4ae490
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x4ae40d
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 0x4ae2b3
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4ae3d2
mov esi, dword [ebp - 0x54]
mov eax, dword [esi]
test eax, eax
je 0x4ae27b
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 0x4ae21b
cmp esi, dword [ebp - 0x54]
je 0x4ae27b
cmp dword [esi + 0x10], ebx
ja 0x4ae27b
test esi, esi
je 0x4ae3b4
mov edx, dword [esi + 4]
mov edi, esi
test edx, edx
je 0x4ae252
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x4ae248
jmp 0x4ae25b
mov ecx, dword [edi + 8]
cmp dword [ecx], edi
mov edi, ecx
jne 0x4ae252
mov edx, dword [ebp - 0x48]
cmp dword [edx], esi
je 0x4ae2a6
mov edi, dword [ebp - 0x5c]
dec dword [edi + 0x30]
push esi
push eax
call fcn.004c7ee0
add esp, 8
push esi
call fcn.0050d60e
add esp, 4
mov ecx, ebx
call fcn.004ae580
push ebx
call fcn.0050d60e
add esp, 4
cmp byte [edi + 0x34], 0
jne 0x4ae297
cmp dword [edi + 0x30], 0
je 0x4ae2aa
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x4ae1d4
mov dword [edx], ecx
jmp 0x4ae262
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.00491990
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.00491990
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 0x4ae43e
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x54]
cmp eax, edi
jne 0x4ae44a
mov esi, dword [ebp - 0x5c]
push dword [esi + 0x2c]
call fcn.0047fe10
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 0x4ae393
push eax
call fcn.00492e50
add esp, 4
test ebx, ebx
je 0x4ae3a0
push ebx
call fcn.00492e50
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050dc12
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.0053fff0
mov ecx, dword [ebp - 0x4c]
call fcn.004dfaf0
jmp 0x4ae210
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056de60
add esp, 0xc
mov ecx, ebx
push 0x5deea2
call fcn.005661f0
mov ecx, ebx
call fcn.0056de90
jmp 0x4ae11d
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0056de60
add esp, 0xc
mov ecx, ebx
push 0x5deea2
call fcn.005661f0
mov ecx, ebx
mov ebx, dword [ebp + 8]
call fcn.0056de90
jmp 0x4ae1c1
mov ecx, esi
call fcn.004dfaf0
jmp 0x4ae351
lea esi, [ebp - 0x38]
mov edi, dword [ebp - 0x54]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x4ae467
mov ecx, ebx
call fcn.004ae580
push ebx
call fcn.0050d60e
add esp, 4
mov ecx, esi
call fcn.004789d0
mov eax, dword [ebp - 0x38]
cmp eax, edi
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x60]
je 0x4ae364
jmp 0x4ae450