Function at 0x4fa620
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov esi, ecx
mov eax, dword [0x808040]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004b9640
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], edx
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov eax, 0x775044
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 0x4fa69f
movzx eax, al
and eax, 1
push eax
push esi
call fcn.004f7960
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4fa6a6
jmp 0x4faa12
mov dword [esi + 0x1c], 0xffffffff
push 0x28
call fcn.005c5789
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x775044
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 0x4faa60
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 0x4fa969
test eax, eax
jne 0x4fa9b4
lea eax, [edi*4 - 0x24]
add eax, ebp
mov dword [eax], ebx
test ebx, ebx
je 0x4fa9cf
xor ecx, ecx
inc ecx
test byte [ebp - 0x64], 1
mov eax, 0
mov edi, dword [ebp - 0x60]
jne 0x4fa675
mov ecx, dword [ebp + 8]
call fcn.00410a30
lea eax, [esi + 0x2c]
mov dword [ebp - 0x64], eax
jmp 0x4fa7b6
mov dword [ecx], edx
jmp 0x4fa765
mov edx, dword [ecx + 8]
cmp dword [edx], ecx
mov ecx, edx
jne 0x4fa755
mov ecx, dword [ebp - 0x74]
cmp dword [ecx], edi
je 0x4fa751
lea esi, [edi + 0x10]
mov ecx, dword [ebp - 0x6c]
dec dword [ecx + 0x30]
push edi
push eax
call fcn.00534f00
add esp, 8
test esi, esi
je 0x4fa95a
push edi
call fcn.005c57c0
add esp, 4
mov esi, dword [ebp - 0x6c]
mov ecx, ebx
call fcn.004fab50
push ebx
call fcn.005c57c0
add esp, 4
cmp byte [esi + 0x34], 0
jne 0x4fa7ac
cmp dword [esi + 0x30], 0
je 0x4fa83b
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 0x4fa844
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4fa95c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
test eax, eax
je 0x4fa78c
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 0x4fa7fc
cmp edi, dword [ebp - 0x64]
je 0x4fa78c
cmp dword [edi + 0x10], ebx
ja 0x4fa78c
mov esi, dword [edi + 4]
mov ecx, edi
test esi, esi
je 0x4fa755
mov edx, esi
mov esi, dword [esi]
test esi, esi
je 0x4fa75e
jmp 0x4fa82d
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.004f76e0
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.004f76e0
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 0x4fa9c2
mov ecx, dword [ebp - 0x74]
mov edi, dword [ecx]
mov ebx, dword [ebp - 0x64]
cmp edi, ebx
jne 0x4fa96e
mov esi, dword [ebp - 0x6c]
push dword [esi + 0x2c]
call fcn.004e1cc0
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 0x4fa9b1
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4fa930
push eax
call fcn.004f7e30
add esp, 4
cmp byte [ebp - 0x20], 0
jne 0x4fa9b1
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4fa946
push eax
call fcn.004f7e30
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret 4
ud2
mov ecx, dword [ebp - 0x60]
call fcn.0054c5e0
jmp 0x4fa7ee
call fcn.005dae09
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4fa985
mov ecx, esi
call fcn.004fab50
push esi
call fcn.005c57c0
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4fa9a6
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4fa98c
mov edi, eax
mov ebx, dword [ebp - 0x64]
cmp eax, ebx
mov ecx, dword [ebp - 0x74]
je 0x4fa8f7
jmp 0x4fa96e
mov eax, dword [edi + 8]
cmp dword [eax], edi
mov edi, eax
jne 0x4fa9a6
jmp 0x4fa994
int3
push eax
call fcn.004f7e30
add esp, 4
jmp 0x4fa719
mov ecx, dword [ebp - 0x60]
call fcn.0054c5e0
jmp 0x4fa8eb
lea esi, [ebp - 0x50]
push 0x14c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push 0x777218
push esi
call fcn.0055fb40
add esp, 0x10
lea ebx, [ebp - 0x5c]
push esi
mov esi, dword [ebp - 0x6c]
push ebx
call fcn.006453e0
add esp, 8
mov ecx, ebx
push 0x7939b6
call fcn.006428f0
mov ecx, ebx
call fcn.00645480
jmp 0x4fa72c
lea esi, [ebp - 0x50]
push 0x13d
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push 0x777218
push esi
call fcn.0055fb40
add esp, 0x10
lea ebx, [ebp - 0x5c]
push esi
mov esi, dword [ebp - 0x6c]
push ebx
call fcn.006453e0
add esp, 8
mov ecx, ebx
push str.CreateNamedPipe
call fcn.006428f0
mov ecx, ebx
call fcn.00645480
xor ebx, ebx
dec ebx
jmp 0x4fa6a6