Function at 0x4a8722
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov eax, dword [0x5599f4]
mov esi, ecx
xor eax, ebp
mov dword [esp + 0xe8], eax
call fcn.00450540
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], edx
lea edx, [esi + 0x24]
lea ecx, [esi + 0x20]
xor ebx, ebx
mov dword [esp + 4], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
mov edi, dword [esi + 0x1c]
cmp edi, 0xffffffff
je 0x4a877c
mov dword [esi + 0x1c], 0xffffffff
jmp 0x4a87db
xor eax, eax
test ebx, ebx
sete al
push eax
push esi
call fcn.004acab9
add esp, 8
mov edi, eax
cmp edi, 0xffffffff
jne 0x4a87db
call sub.KERNEL32.dll_GetLastError
lea edi, [esp + 0x30]
mov ecx, edi
push eax
push 3
push 0x13c
push str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
call fcn.00419440
push str.Check_failed:_pipe___INVALID_HANDLE_VALUE.
lea eax, [esp + 0x44]
push eax
call fcn.004015c0
add esp, 8
push str.CreateNamedPipe
push eax
call fcn.004015c0
add esp, 8
mov ecx, edi
call fcn.00419560
xor edi, edi
dec edi
push 0x20
call fcn.004d4bd9
add esp, 4
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edi, dword [esp]
mov edx, dword [esp + 8]
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edx
lea edi, [esp + ebx + 0x28]
push esi
push esi
push eax
push 0x4a8a50
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.004a4b84
cmp dword [edi], esi
jne 0x4a887c
call sub.KERNEL32.dll_GetLastError
lea edi, [esp + 0x30]
mov ecx, edi
push eax
push 3
push 0x14b
push str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
call fcn.00419440
push str.Check_failed:_thread_handles_i_.is_valid__.
lea eax, [esp + 0x44]
push eax
call fcn.004015c0
add esp, 8
push 0x52c9c9
push eax
call fcn.004015c0
add esp, 8
mov ecx, edi
call fcn.00419560
mov esi, dword [esp + 4]
add ebx, 4
cmp ebx, 8
jne 0x4a876b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax]
lea ebx, [esp + 0x14]
lea eax, [esp + 0x30]
jmp 0x4a88a4
mov esi, 5
jmp 0x4a8910
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], ecx
push 0xffffffffffffffff
push eax
push ebx
lea eax, [esp + 0x30]
push eax
mov esi, dword [esp + 0x14]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a891b
mov ecx, dword [esp]
mov dword [esp + 0x20], eax
call fcn.0042cc40
mov ecx, dword [esp + 8]
lea eax, [esp + 0x20]
push eax
call fcn.00486930
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4a8902
mov ecx, edi
call fcn.004a8b1e
push edi
call fcn.004d4c09
add esp, 4
cmp byte [esi + 0x2c], 0
jne 0x4a890e
cmp dword [esi + 0x28], 0
je 0x4a889d
xor esi, esi
push dword [esp]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x4a8920
mov esi, 5
lea eax, [esp + 0x30]
test esi, esi
je 0x4a88a4
mov edi, 2
lea ebx, [esp + 0x3c]
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [ebx + 4], esi
mov dword [ebx], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push dword [esp + 0xc]
call fcn.004ac87c
lea eax, [esp + 0x3c]
add esp, 0xc
dec edi
jne 0x4a8937
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0xfffffff8
push 0xffffffffffffffff
push dword [esp + esi + 0x34]
call edi
add esi, 4
jne 0x4a8984
mov ecx, dword [esp]
call fcn.0042cc40
mov ecx, dword [esp + 8]
mov edi, dword [ecx]
mov eax, dword [edi]
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x4a89dd
mov esi, dword [esp + 4]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x4a89c4
mov ecx, ebx
call fcn.004a8b1e
push ebx
call fcn.004d4c09
add esp, 4
lea ecx, [esp + 0x30]
call fcn.004c66b0
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x4a89ad
mov ecx, dword [esp + 8]
mov edi, dword [ecx]
jmp 0x4a89e1
mov esi, dword [esp + 4]
push dword [edi + 4]
call fcn.0047e4ec
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24]
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 8], eax
mov dword [esi + 0x28], 0
push dword [esp]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 8
mov eax, dword [esp + esi + 0x24]
test eax, eax
je 0x4a8a28
push eax
call fcn.00482bde
add esp, 4
mov dword [esp + esi + 0x24], 0
add esi, 0xfffffffc
jne 0x4a8a0f
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.004d4bc8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4