Function at 0x480082
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov eax, dword [0x54c03c]
mov edi, ecx
xor eax, ebp
mov dword [esp + 0xf0], eax
call fcn.0043c3a0
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], edx
lea edx, [edi + 0x24]
lea ecx, [edi + 0x20]
xor esi, esi
mov dword [esp + 4], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov ebx, dword [edi + 0x1c]
cmp ebx, 0xffffffff
je 0x4800dd
mov dword [edi + 0x1c], 0xffffffff
jmp 0x48013c
xor eax, eax
test esi, esi
sete al
push eax
push edi
call fcn.00494e7d
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x48013c
call sub.KERNEL32.dll_GetLastError
lea ebx, [esp + 0x38]
mov ecx, ebx
push eax
push 3
push 0x13c
push str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
call fcn.00415cc0
push str.Check_failed:_pipe___INVALID_HANDLE_VALUE.
lea eax, [esp + 0x4c]
push eax
call fcn.004015c0
add esp, 8
push str.CreateNamedPipe
push eax
call fcn.004015c0
add esp, 8
mov ecx, ebx
call fcn.00415de0
xor ebx, ebx
dec ebx
push 0x20
call fcn.004d4554
add esp, 4
mov ecx, dword [edi + 0x18]
mov edx, dword [ebp + 8]
mov dword [esp + 0x18], esi
mov dword [eax], ecx
mov dword [eax + 4], ebx
mov ebx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x1c], ebx
lea ebx, [esp + esi + 0x30]
xor esi, esi
mov dword [eax + 0x18], edx
push esi
push esi
push eax
push 0x4803b2
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea edi, [esp + 0x38]
mov dword [esp + 0x38], eax
mov ecx, ebx
push edi
call fcn.00478fba
cmp dword [ebx], esi
jne 0x4801de
call sub.KERNEL32.dll_GetLastError
mov ecx, edi
push eax
push 3
push 0x14b
push str..._.._third_party_crashpad_crashpad_util_win_exception_handler_server.cc
call fcn.00415cc0
push str.Check_failed:_thread_handles_i_.is_valid__.
lea eax, [esp + 0x4c]
push eax
call fcn.004015c0
add esp, 8
push 0x50be64
push eax
call fcn.004015c0
add esp, 8
mov ecx, edi
call fcn.00415de0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 4]
add eax, 4
cmp eax, 8
mov esi, eax
jne 0x4800cc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esp + 4]
lea edi, [esp + 0x1c]
jmp 0x48020c
mov esi, 5
jmp 0x48027d
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
push ecx
push edi
lea ecx, [esp + 0x38]
push ecx
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x480289
mov ecx, dword [esp + 8]
mov dword [esp + 0x28], eax
call fcn.00430c50
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x28]
push eax
call fcn.0045c84c
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x48026b
mov ecx, ebx
call fcn.00480480
push ebx
call fcn.004d4584
add esp, 4
mov eax, dword [esp + 4]
cmp byte [eax + 0x2c], 0
jne 0x48027b
cmp dword [eax + 0x28], 0
je 0x480205
xor esi, esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x48028e
mov esi, 5
mov eax, dword [esp + 4]
test esi, esi
je 0x48020c
mov edi, 2
lea ebx, [esp + 0x44]
xor esi, esi
mov eax, dword [esp + 0x10]
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 + 0x38], 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0xc]
call fcn.00494c48
add esp, 0xc
dec edi
jne 0x4802a5
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0xfffffff8
push 0xffffffffffffffff
push dword [esp + esi + 0x3c]
call edi
add esi, 4
jne 0x4802f2
mov ecx, dword [esp + 8]
call fcn.00430c50
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx]
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x38], eax
je 0x480348
lea edi, [esp + 0x38]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x480333
mov ecx, ebx
call fcn.00480480
push ebx
call fcn.004d4584
add esp, 4
mov ecx, edi
call fcn.004577de
mov eax, dword [esp + 0x38]
cmp eax, esi
jne 0x48031c
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx]
push dword [esi + 4]
call fcn.0045d2b6
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x24]
mov dword [eax + 4], esi
mov eax, dword [ecx + 0x24]
mov dword [eax], esi
mov eax, dword [ecx + 0x24]
mov dword [eax + 8], esi
mov dword [ecx + 0x28], 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 8
mov eax, dword [esp + esi + 0x2c]
test eax, eax
je 0x480394
push eax
call fcn.00494b8a
add esp, 4
mov dword [esp + esi + 0x2c], 0
add esi, 0xfffffffc
jne 0x48037b
mov ecx, dword [esp + 0xf0]
xor ecx, ebp
call fcn.004d45c8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4