Function at 0x4f9a00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov esi, ecx
mov eax, dword [0x80e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004b9480
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], edx
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov eax, 0x77b024
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov byte [ebp - 0x20], cl
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], cl
lea eax, [esi + 0x28]
mov dword [ebp - 0x74], eax
lea edi, [esi + 0x24]
mov al, 1
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x78], ecx
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
mov dword [ebp - 0x64], eax
jne 0x4f9a7f
movzx eax, al
and eax, 1
push eax
push esi
call fcn.004f6cb0
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4f9a86
jmp 0x4f9df2
mov dword [esi + 0x1c], 0xffffffff
push 0x28
call fcn.005c8b59
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x77b024
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4f9e40
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
mov eax, dword [ebp - 0x78]
lea edi, [eax + eax*2]
mov eax, dword [ebp + edi*4 - 0x24]
test eax, eax
setne cl
cmp eax, ebx
sete dl
and dl, cl
cmp dl, 1
je 0x4f9d49
test eax, eax
jne 0x4f9d94
lea eax, [edi*4 - 0x24]
add eax, ebp
mov dword [eax], ebx
test ebx, ebx
je 0x4f9daf
xor ecx, ecx
inc ecx
test byte [ebp - 0x64], 1
mov eax, 0
mov edi, dword [ebp - 0x60]
jne 0x4f9a55
mov ecx, dword [ebp + 8]
call fcn.00410a30
lea eax, [esi + 0x2c]
mov dword [ebp - 0x64], eax
jmp 0x4f9b96
mov dword [ecx], edx
jmp 0x4f9b45
mov edx, dword [ecx + 8]
cmp dword [edx], ecx
mov ecx, edx
jne 0x4f9b35
mov ecx, dword [ebp - 0x74]
cmp dword [ecx], edi
je 0x4f9b31
lea esi, [edi + 0x10]
mov ecx, dword [ebp - 0x6c]
dec dword [ecx + 0x30]
push edi
push eax
call fcn.00536480
add esp, 8
test esi, esi
je 0x4f9d3a
push edi
call fcn.005c8b90
add esp, 4
mov esi, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.004f9f30
push ebx
call fcn.005c8b90
add esp, 4
cmp byte [esi + 0x34], 0
jne 0x4f9b8c
cmp dword [esi + 0x30], 0
je 0x4f9c1b
mov edi, dword [ebp - 0x60]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4f9c24
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4f9d3c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
test eax, eax
je 0x4f9b6c
mov ecx, eax
mov edi, dword [ebp - 0x64]
xor edx, edx
cmp dword [ecx + 0x10], ebx
setb dl
cmovae edi, ecx
mov ecx, dword [ecx + edx*4]
test ecx, ecx
jne 0x4f9bdc
cmp edi, dword [ebp - 0x64]
je 0x4f9b6c
cmp dword [edi + 0x10], ebx
ja 0x4f9b6c
mov esi, dword [edi + 4]
mov ecx, edi
test esi, esi
je 0x4f9b35
mov edx, esi
mov esi, dword [esi]
test esi, esi
je 0x4f9b3e
jmp 0x4f9c0d
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
pxor xmm0, xmm0
movq qword [ebp - 0x34], xmm0
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x48], ebx
xor edi, edi
dec edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.004f6a30
add esp, 0xc
pxor xmm0, xmm0
movq qword [ebp - 0x34], xmm0
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x44], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.004f6a30
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov dword [ebp - 0x68], eax
push eax
call esi
mov eax, dword [ebp - 0x18]
push edi
mov dword [ebp - 0x70], eax
push eax
call esi
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4f9da2
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx]
mov ebx, dword [ebp - 0x64]
cmp edi, ebx
jne 0x4f9d4e
mov esi, dword [ebp - 0x6c]
push dword [esi + 0x2c]
call fcn.004e0e40
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp byte [ebp - 0x14], 0
jne 0x4f9d91
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4f9d10
push eax
call fcn.004f7180
add esp, 4
cmp byte [ebp - 0x20], 0
jne 0x4f9d91
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4f9d26
push eax
call fcn.004f7180
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret 4
ud2
mov ecx, dword [ebp - 0x60]
call fcn.0054e320
jmp 0x4f9bce
call fcn.005de1d9
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4f9d65
mov ecx, esi
call fcn.004f9f30
push esi
call fcn.005c8b90
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4f9d86
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4f9d6c
mov edi, eax
mov ebx, dword [ebp - 0x64]
cmp eax, ebx
mov ecx, dword [ebp - 0x74]
je 0x4f9cd7
jmp 0x4f9d4e
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x4f9d86
jmp 0x4f9d74
int3
push eax
call fcn.004f7180
add esp, 4
jmp 0x4f9af9
mov ecx, dword [ebp - 0x60]
call fcn.0054e320
jmp 0x4f9ccb
lea esi, [ebp - 0x50]
push 0x14c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push 0x77d29f
push esi
call fcn.005613a0
add esp, 0x10
lea ebx, [ebp - 0x5c]
push esi
mov esi, dword [ebp - 0x6c]
push ebx
call fcn.006495f0
add esp, 8
mov ecx, ebx
push 0x799a96
call fcn.00646530
mov ecx, ebx
call fcn.00649690
jmp 0x4f9b0c
lea esi, [ebp - 0x50]
push 0x13d
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push 0x77d29f
push esi
call fcn.005613a0
add esp, 0x10
lea ebx, [ebp - 0x5c]
push esi
mov esi, dword [ebp - 0x6c]
push ebx
call fcn.006495f0
add esp, 8
mov ecx, ebx
push str.CreateNamedPipe
call fcn.00646530
mov ecx, ebx
call fcn.00649690
xor ebx, ebx
dec ebx
jmp 0x4f9a86