Function at 0x5023c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5cc9b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ecx
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], ebx
call fcn.0050d7f0
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
xor edi, edi
movq qword [ebp - 0x44], xmm0
nop dword [eax]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x1c]
cmp esi, 0xffffffff
je 0x502414
mov dword [ecx + 0x1c], 0xffffffff
jmp 0x50248f
test edi, edi
sete al
movzx eax, al
push eax
push ecx
call fcn.00500ed0
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x50247c
push str.CreateNamedPipe
push 0x596970
push str.Check_failed:_pipe___INVALID_HANDLE_VALUE
or ebx, 1
call sub.KERNEL32.dll_GetLastError
push eax
push 4
push 0x148
push str..._.._.._util_win_exception_handler_server.cc
push str.void___thiscall_crashpad::ExceptionHandlerServer::Run_class_crashpad::ExceptionHandlerServer::Delegate__
lea ecx, [ebp - 0x118]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
push eax
call fcn.00439550
add esp, 8
push eax
call fcn.00439550
add esp, 8
test bl, 1
je 0x50248f
lea ecx, [ebp - 0x118]
and ebx, 0xfffffffe
call fcn.0050c5b0
push 0x20
call fcn.004b9130
mov edx, eax
add esp, 4
test edx, edx
je 0x5024cd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [edx], ecx
mov dword [edx + 4], esi
lea ecx, [eax + 0x20]
add eax, 0x38
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
mov dword [edx + 0x1c], eax
jmp 0x5024cf
xor edx, edx
push 0
push 0
push edx
push 0x5022f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov eax, dword [ebp + edi*4 - 0x44]
test eax, eax
je 0x5024fe
cmp eax, esi
je 0x502951
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebp + edi*4 - 0x44], esi
test esi, esi
jne 0x502555
push 0x597308
push 0x596970
push str.Check_failed:_thread_handles_i_.is_valid__
or ebx, 2
call sub.KERNEL32.dll_GetLastError
push eax
push 4
push 0x157
push str..._.._.._util_win_exception_handler_server.cc
push str.void___thiscall_crashpad::ExceptionHandlerServer::Run_class_crashpad::ExceptionHandlerServer::Delegate__
lea ecx, [ebp - 0x118]
call fcn.0050c390
push eax
call fcn.00439550
add esp, 8
push eax
call fcn.00439550
add esp, 8
push eax
call fcn.00439550
add esp, 8
test bl, 2
je 0x502568
lea ecx, [ebp - 0x118]
and ebx, 0xfffffffd
call fcn.0050c5b0
inc edi
cmp edi, 2
jb 0x502400
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
push dword [esi + 0x18]
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x34], ebx
test ebx, ebx
je 0x5028e0
lea edi, [esi + 0x20]
add esi, 0x38
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], esi
mov ecx, edi
call fcn.0050d120
mov edx, dword [esi]
mov esi, edx
mov dword [ebp - 0x28], edx
mov ecx, dword [edx + 4]
mov eax, ecx
cmp byte [eax + 0xd], 0
jne 0x502603
nop dword [eax + eax]
cmp dword [eax + 0x10], ebx
jae 0x5025ea
mov eax, dword [eax + 8]
jmp 0x5025fa
cmp byte [edx + 0xd], 0
je 0x5025f6
cmp ebx, dword [eax + 0x10]
cmovb edx, eax
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x5025e0
mov dword [ebp - 0x28], edx
cmp byte [edx + 0xd], 0
jne 0x50260b
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x502628
cmp ebx, dword [ecx + 0x10]
jae 0x50261c
mov edx, ecx
mov ecx, dword [ecx]
jmp 0x50261f
mov ecx, dword [ecx + 8]
cmp byte [ecx + 0xd], 0
je 0x502611
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], esi
mov eax, dword [ecx]
cmp esi, dword [eax]
jne 0x502643
cmp byte [edx + 0xd], 0
je 0x502643
mov esi, ecx
call fcn.00502e90
jmp 0x50267f
cmp esi, edx
je 0x50267d
mov edi, dword [ebp - 0x28]
mov ebx, ecx
nop dword [eax]
lea ecx, [ebp - 0x30]
call fcn.00449640
push esi
mov ecx, ebx
call fcn.0049e4a0
push 0x14
push eax
call fcn.004b9160
mov esi, dword [ebp - 0x30]
add esp, 8
cmp esi, edi
jne 0x502650
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
jmp 0x50267f
mov esi, ecx
test ebx, ebx
je 0x50272a
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push 0xffffffffffffffff
push dword [ebx + 4]
mov dword [ebx], 0xffffffff
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push 0xffffffffffffffff
push dword [ebx + 8]
mov dword [ebx + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov dword [ebx + 8], 0xffffffff
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x5026d2
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x38], 0
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x5026e9
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x34], 0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x502700
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x30], 0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x502717
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x2c], 0
lea ecx, [ebx + 0xc]
call fcn.0050d110
push 0x58
push ebx
call fcn.004b9160
add esp, 8
mov ebx, dword [ebp - 0x14]
cmp byte [ebx + 0x40], 0
jne 0x50273d
cmp dword [ebx + 0x3c], 0
je 0x5028d4
mov ecx, edi
call fcn.0050d130
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x34], ebx
test ebx, ebx
jne 0x5025c2
mov ebx, dword [ebp - 0x14]
mov esi, 2
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0x5c], xmm0
push eax
push ebx
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x68], 1
call fcn.00501180
add esp, 0xc
sub esi, 1
jne 0x502786
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea esi, [ebp - 0x44]
nop word [eax + eax]
push 0xffffffffffffffff
push dword [esi]
call edi
add esi, 4
lea eax, [ebp - 0x3c]
cmp esi, eax
jne 0x5027d0
lea edi, [ebx + 0x20]
mov ecx, edi
call fcn.0050d120
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x38]
mov dword [ebp - 0x24], eax
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x50290a
nop
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x5028ae
push 0xffffffffffffffff
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push 0xffffffffffffffff
push dword [ebx + 4]
mov dword [ebx], 0xffffffff
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push 0xffffffffffffffff
push dword [ebx + 8]
mov dword [ebx + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov dword [ebx + 8], 0xffffffff
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x502856
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x38], 0
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x50286d
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x34], 0
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x502884
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x30], 0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x50289b
push eax
call fcn.004fd1e0
add esp, 4
mov dword [ebx + 0x2c], 0
lea ecx, [ebx + 0xc]
call fcn.0050d110
push 0x58
push ebx
call fcn.004b9160
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x5028e7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x5028d0
cmp esi, dword [eax + 8]
jne 0x5028d0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x5028c0
mov esi, eax
jmp 0x5028fd
mov ecx, edi
call fcn.0050d130
jmp 0x502781
mov ebx, esi
jmp 0x502781
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x5028fd
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x5028f1
cmp byte [esi + 0xd], 0
je 0x502800
mov eax, dword [ebp - 0x24]
mov ecx, eax
call fcn.00502e90
mov ecx, edi
call fcn.0050d130
mov edi, 2
lea esi, [ebp - 0x3c]
mov eax, dword [esi - 4]
lea esi, [esi - 4]
dec edi
test eax, eax
je 0x50293a
push eax
call fcn.004fd1e0
add esp, 4
mov dword [esi], 0
test edi, edi
jne 0x502920
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00514f0c
mov esp, ebp
pop ebp
ret 4
call fcn.00525766
int3