Function at 0x54ebb6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0x68], eax
call fcn.004bb260
mov dword [esp + 0x10], eax
xor ecx, ecx
dec ecx
lea eax, [esp + 0x50]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [eax], xmm0
lea ecx, [esp + 0x68]
mov dword [eax], 0x61a6c8
mov dword [eax + 4], 0
mov byte [eax + 8], 0
add eax, 0xc
cmp eax, ecx
jne 0x54ebf1
mov dword [esp + 0xc], edx
lea eax, [esi + 0x28]
mov dword [esp + 8], eax
mov dword [esp], esi
lea eax, [esi + 0x24]
mov dword [esp + 4], eax
mov al, 1
xor edi, edi
mov esi, dword [esp]
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
mov dword [esp + 0x14], eax
je 0x54ec3a
mov dword [esi + 0x1c], 0xffffffff
jmp 0x54ec55
movzx eax, al
and eax, 1
push eax
push esi
call fcn.005425a8
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
je 0x54ed0e
push 0x28
call fcn.005dc726
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x61a6c8
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
lea ecx, [edi + edi*2]
lea ebx, [esp + ecx*4]
add ebx, 0x50
xor edi, edi
push edi
push edi
push eax
push 0x54ef30
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x24], eax
mov ecx, ebx
lea esi, [esp + 0x24]
push esi
call fcn.004f2c08
cmp dword [ebx + 4], edi
je 0x54ecdb
xor ebx, ebx
xor edi, edi
inc edi
test byte [esp + 0x14], 1
mov eax, 0
jne 0x54ec22
jmp 0x54ed4b
push 0x14a
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push esi
call fcn.00541fc0
add esp, 0xc
mov ecx, esi
call fcn.00541f80
push 0xc
push 0x62851a
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, esi
call fcn.00541f90
jmp 0x54ecc4
push 0x13b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
lea ebx, [esp + 0x2c]
push ebx
call fcn.00541fc0
add esp, 0xc
mov ecx, ebx
call fcn.00541f80
push 0xf
push str.CreateNamedPipe
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, ebx
call fcn.00541f90
xor ebx, ebx
dec ebx
jmp 0x54ec55
mov ecx, dword [ebp + 8]
call fcn.00410cd0
lea ecx, [esp + 0x18]
mov edi, dword [esp + 4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x4c], ebx
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push eax
mov esi, ecx
push ecx
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x54edf5
mov dword [esp + 0x48], eax
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x54ede5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
call fcn.005271a8
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x54edc0
mov ecx, ebx
call fcn.0054effe
push ebx
call fcn.005dc756
add esp, 4
mov eax, dword [esp]
cmp byte [eax + 0x34], 0
mov ebx, 0
jne 0x54edd7
mov eax, dword [esp]
cmp dword [eax + 0x30], 0
je 0x54edee
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
jmp 0x54ed5b
mov ecx, edi
call fcn.004cea50
jmp 0x54ed9a
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov bl, 1
xor edi, edi
dec edi
xor eax, eax
lea ecx, [esp + 0x30]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
pxor xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push esi
lea eax, [esp + 0x28]
push eax
push dword [esp + 8]
call fcn.00542334
add esp, 0xc
test bl, 1
mov ebx, 0
jne 0x54edfa
mov esi, 4
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esp + esi + 0x54]
call edi
add esi, 0xc
cmp esi, 0x1c
jne 0x54ee59
mov esi, dword [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x54ef1e
mov eax, dword [esp]
mov ebx, dword [eax + 0x28]
lea esi, [eax + 0x2c]
cmp ebx, esi
je 0x54eecd
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x54eea0
mov ecx, edi
call fcn.0054effe
push edi
call fcn.005dc756
add esp, 4
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x54eeb1
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x54eea7
jmp 0x54eec7
mov eax, dword [ebx + 8]
cmp dword [eax], ebx
je 0x54eec7
add ebx, 8
mov ecx, dword [ebx]
lea ebx, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x54eebb
mov ebx, eax
cmp eax, esi
jne 0x54ee89
mov ecx, dword [esp + 8]
mov edi, dword [esp]
push dword [edi + 0x2c]
call fcn.00431320
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], eax
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0xc
lea ecx, [esp + esi]
add ecx, 0x50
call fcn.004f2822
add esi, 0xfffffff4
cmp esi, 0xfffffff4
jne 0x54eef6
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.005dd6f3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, esi
call fcn.004cea50
jmp 0x54ee7c