Function at 0x50a888
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [0x63a1e8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00484240
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x74], edx
mov dword [eax], 0x5cda24
mov dword [eax + 4], 0
mov byte [eax + 8], 0
add eax, 0xc
cmp eax, ecx
jne 0x50a8ae
lea eax, [esi + 0x28]
xor edi, edi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x70], eax
lea eax, [esi + 0x24]
mov dword [ebp - 0x68], eax
mov al, 1
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x78], eax
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
je 0x50a8f0
mov dword [esi + 0x1c], 0xffffffff
jmp 0x50a90b
movzx eax, al
and eax, 1
push eax
push esi
call fcn.00501822
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
je 0x50a9c0
push 0x28
call fcn.00590936
add esp, 4
mov ecx, dword [esi + 0x10]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], 0x5cda24
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x20], ecx
lea ecx, [edi + edi*2]
lea ebx, [ebp + ecx*4 - 0x28]
push esi
push esi
push eax
push 0x50abc0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.004c043c
cmp dword [ebx + 4], esi
je 0x50a98a
xor esi, esi
test byte [ebp - 0x78], 1
mov eax, 0
mov edi, 1
jne 0x50a8d9
jmp 0x50a9fc
push 0x149
push str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
lea esi, [ebp - 0x54]
push esi
call fcn.004fff90
add esp, 0xc
mov ecx, esi
call fcn.004fff60
push 0xc
push 0x5cd838
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, esi
call fcn.004fff70
jmp 0x50a972
push 0x13a
push str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
lea ebx, [ebp - 0x54]
push ebx
call fcn.004fff90
add esp, 0xc
mov ecx, ebx
call fcn.004fff60
push 0xf
push str.CreateNamedPipe
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, ebx
call fcn.004fff70
xor ebx, ebx
dec ebx
jmp 0x50a90b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x2c], esi
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x64]
push dword [eax + 0x10]
call edi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x50aa7c
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
call fcn.00494c80
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x30]
push eax
call fcn.004e86f6
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x50aa5d
mov ecx, ebx
call fcn.0050ac8a
push ebx
call fcn.005909b6
add esp, 4
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x34], 0
jne 0x50aa6f
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x30], 0
je 0x50aa87
xor ebx, ebx
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x50aa81
mov ebx, 5
test ebx, ebx
je 0x50aa09
jmp 0x50aa8e
mov ebx, 5
jmp 0x50aa71
xor esi, esi
xor eax, eax
mov edi, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x64]
push ebx
call fcn.005015c0
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
call fcn.005015c0
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0xffffffe8
push 0xffffffffffffffff
push dword [ebp + esi - 0xc]
call edi
add esi, 0xc
jne 0x50ab07
mov ecx, dword [ebp - 0x68]
call fcn.00494c80
mov eax, dword [ebp - 0x64]
mov edi, dword [eax + 0x28]
lea esi, [eax + 0x2c]
cmp esi, edi
je 0x50ab6d
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x50ab40
mov ecx, ebx
call fcn.0050ac8a
push ebx
call fcn.005909b6
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x50ab51
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x50ab47
jmp 0x50ab67
mov eax, dword [edi + 8]
cmp dword [eax], edi
je 0x50ab67
add edi, 8
mov ecx, dword [edi]
mov eax, dword [ecx + 8]
lea edi, [ecx + 8]
cmp dword [eax], ecx
jne 0x50ab5b
cmp esi, eax
mov edi, eax
jne 0x50ab29
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x70]
push dword [edi + 0x2c]
call fcn.0041ecb0
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea esi, [ebp - 0x1c]
mov edi, 0xffffffe8
mov ecx, esi
call fcn.004c004a
add esi, 0xfffffff4
add edi, 0xc
jne 0x50ab97
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005909f1
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret 4