Function at 0x470cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov edi, ecx
mov eax, dword [0x58a014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00499cd0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], edx
lea eax, [edi + 0x28]
mov dword [ebp - 0x48], eax
lea esi, [edi + 0x24]
mov ebx, dword [edi + 0x1c]
cmp ebx, 0xffffffff
jne 0x470d31
push 1
push edi
call fcn.0047eb60
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x470d38
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.00518030
add esp, 0xc
mov ecx, ebx
push str.CreateNamedPipe
call fcn.005227a0
mov ecx, ebx
call fcn.00518060
xor ebx, ebx
dec ebx
jmp 0x470d38
mov dword [edi + 0x1c], 0xffffffff
push 0x28
call fcn.004ba1be
add esp, 4
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x570488
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x471100
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x47104f
mov ebx, dword [edi + 0x1c]
cmp ebx, 0xffffffff
jne 0x470dd5
push 0
push edi
call fcn.0047eb60
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x470ddc
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.00518030
add esp, 0xc
mov ecx, ebx
push str.CreateNamedPipe
call fcn.005227a0
mov ecx, ebx
call fcn.00518060
xor ebx, ebx
dec ebx
jmp 0x470ddc
mov dword [edi + 0x1c], 0xffffffff
push 0x28
call fcn.004ba1be
add esp, 4
mov ecx, dword [edi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x570488
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ebx, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], esi
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x471100
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x47107d
mov ecx, ebx
call fcn.0042a720
lea eax, [edi + 0x2c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x4c], esi
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x470f23
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x471042
mov esi, dword [ebp - 0x54]
mov eax, dword [esi]
test eax, eax
je 0x470eeb
mov ecx, eax
lea edx, [ecx + 4]
cmp dword [ecx + 0x10], ebx
cmovae edx, ecx
cmovae esi, ecx
mov ecx, dword [edx]
test ecx, ecx
jne 0x470e8b
cmp esi, dword [ebp - 0x54]
je 0x470eeb
cmp dword [esi + 0x10], ebx
ja 0x470eeb
test esi, esi
je 0x471024
mov edx, dword [esi + 4]
mov edi, esi
test edx, edx
je 0x470ec2
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x470eb8
jmp 0x470ecb
mov ecx, dword [edi + 8]
cmp dword [ecx], edi
mov edi, ecx
jne 0x470ec2
mov edx, dword [ebp - 0x48]
cmp dword [edx], esi
je 0x470f16
mov edi, dword [ebp - 0x5c]
dec dword [edi + 0x30]
push esi
push eax
call fcn.0048e310
add esp, 8
push esi
call fcn.004ba1ee
add esp, 4
mov ecx, ebx
call fcn.004711f0
push ebx
call fcn.004ba1ee
add esp, 4
cmp byte [edi + 0x34], 0
jne 0x470f07
cmp dword [edi + 0x30], 0
je 0x470f1a
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x470e44
mov dword [edx], ecx
jmp 0x470ed2
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x30], ebx
xor edi, edi
dec edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
mov esi, dword [ebp - 0x5c]
push esi
call fcn.0047e8d0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.0047e8d0
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov ebx, dword [ebp - 0x60]
push ebx
call esi
push edi
push dword [ebp - 0x64]
call esi
mov esi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4710ae
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x54]
cmp eax, edi
jne 0x4710ba
mov esi, dword [ebp - 0x5c]
push dword [esi + 0x2c]
call fcn.0045f820
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x471003
push eax
call fcn.0047b290
add esp, 4
test ebx, ebx
je 0x471010
push ebx
call fcn.0047b290
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004babe3
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.node_shouldnt_be_null
push str.__x___nullptr
push 0xc2
push str....._buildtools_third_partylibc_trunkinclude__tree
push str._s:_d:_assertion__s_failed:__s
call fcn.004e9750
mov ecx, dword [ebp - 0x4c]
call fcn.0049e6b0
jmp 0x470e80
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.00518030
add esp, 0xc
mov ecx, ebx
push 0x57ec98
call fcn.005227a0
mov ecx, ebx
call fcn.00518060
jmp 0x470d8d
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.00518030
add esp, 0xc
mov ecx, ebx
push 0x57ec98
call fcn.005227a0
mov ecx, ebx
mov ebx, dword [ebp + 8]
call fcn.00518060
jmp 0x470e31
mov ecx, esi
call fcn.0049e6b0
jmp 0x470fc1
lea esi, [ebp - 0x38]
mov edi, dword [ebp - 0x54]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x4710d7
mov ecx, ebx
call fcn.004711f0
push ebx
call fcn.004ba1ee
add esp, 4
mov ecx, esi
call fcn.004505f0
mov eax, dword [ebp - 0x38]
cmp eax, edi
mov ecx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x60]
je 0x470fd4
jmp 0x4710c0