Function at 0x47df00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov esi, ecx
mov eax, dword [0x591014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004a7100
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], edx
lea eax, [esi + 0x28]
mov dword [ebp - 0x48], eax
lea edi, [esi + 0x24]
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
jne 0x47df7c
push 1
push esi
call fcn.0048b860
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x47df83
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0051fd10
add esp, 0xc
mov ecx, ebx
call fcn.0051fd30
push 0xf
push str.CreateNamedPipe
push eax
call fcn.004f75f0
add esp, 0xc
mov ecx, ebx
call fcn.0051fd40
xor ebx, ebx
dec ebx
jmp 0x47df83
mov dword [esi + 0x1c], 0xffffffff
push 0x28
call fcn.004c5c68
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x576528
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 - 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x47e360
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x47e2a0
mov ebx, dword [esi + 0x1c]
cmp ebx, 0xffffffff
jne 0x47e02b
push 0
push esi
call fcn.0048b860
add esp, 8
mov ebx, eax
cmp eax, 0xffffffff
jne 0x47e032
lea ebx, [ebp - 0x38]
push 0x13c
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0051fd10
add esp, 0xc
mov ecx, ebx
call fcn.0051fd30
push 0xf
push str.CreateNamedPipe
push eax
call fcn.004f75f0
add esp, 0xc
mov ecx, ebx
call fcn.0051fd40
xor ebx, ebx
dec ebx
jmp 0x47e032
mov dword [esi + 0x1c], 0xffffffff
push 0x28
call fcn.004c5c68
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], 0x576528
mov dword [eax + 8], ebx
mov byte [eax + 0xc], 0
mov ebx, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edi
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x20], ecx
xor ecx, ecx
push ecx
push ecx
push eax
push 0x47e360
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x47e2d9
mov ecx, ebx
call fcn.0042a720
lea eax, [esi + 0x2c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x50], edi
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 [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x47e177
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x47e293
mov edi, dword [ebp - 0x54]
mov eax, dword [edi]
test eax, eax
je 0x47e143
mov ecx, eax
lea edx, [ecx + 4]
cmp dword [ecx + 0x10], ebx
cmovae edx, ecx
cmovae edi, ecx
mov ecx, dword [edx]
test ecx, ecx
jne 0x47e0e1
cmp edi, dword [ebp - 0x54]
je 0x47e143
cmp dword [edi + 0x10], ebx
ja 0x47e143
test edi, edi
je 0x47e275
mov edx, dword [edi + 4]
mov esi, edi
test edx, edx
je 0x47e118
mov ecx, edx
mov edx, dword [edx]
test edx, edx
jne 0x47e10e
jmp 0x47e121
mov ecx, dword [esi + 8]
cmp dword [ecx], esi
mov esi, ecx
jne 0x47e118
mov edx, dword [ebp - 0x48]
cmp dword [edx], edi
jne 0x47e12a
mov dword [edx], ecx
mov esi, dword [ebp - 0x64]
dec dword [esi + 0x30]
push edi
push eax
call fcn.0049c700
add esp, 8
push edi
call fcn.004c5c98
add esp, 4
mov ecx, ebx
call fcn.0047e450
push ebx
call fcn.004c5c98
add esp, 4
cmp byte [esi + 0x34], 0
jne 0x47e15f
cmp dword [esi + 0x30], 0
je 0x47e16e
mov edi, dword [ebp - 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x47e09a
push dword [ebp - 0x50]
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 - 0x4c]
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
push esi
call fcn.0048b5d0
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 - 0x4c]
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.0048b5d0
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x60]
call esi
push edi
push dword [ebp - 0x5c]
call esi
mov edi, dword [ebp - 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x47e315
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x54]
cmp eax, ebx
jne 0x47e321
mov esi, dword [ebp - 0x64]
push dword [esi + 0x2c]
call fcn.0046c130
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x47e251
push eax
call fcn.00487d40
add esp, 4
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x47e261
push eax
call fcn.00487d40
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c66e3
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.004f96d0
mov ecx, dword [ebp - 0x50]
call fcn.004ab000
jmp 0x47e0d6
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0051fd10
add esp, 0xc
mov ecx, ebx
call fcn.0051fd30
push 0xc
push 0x585898
push eax
call fcn.004f75f0
add esp, 0xc
mov ecx, ebx
call fcn.0051fd40
jmp 0x47dfd8
lea ebx, [ebp - 0x38]
push 0x14b
push str....._third_partycrashpadcrashpadutilwinexception_handler_server.cc
push ebx
call fcn.0051fd10
add esp, 0xc
mov ecx, ebx
call fcn.0051fd30
push 0xc
push 0x585898
push eax
call fcn.004f75f0
add esp, 0xc
mov ecx, ebx
mov ebx, dword [ebp + 8]
call fcn.0051fd40
jmp 0x47e087
mov ecx, edi
call fcn.004ab000
jmp 0x47e211
lea esi, [ebp - 0x38]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x47e33b
mov ecx, ebx
call fcn.0047e450
push ebx
call fcn.004c5c98
add esp, 4
mov ecx, esi
call fcn.0045ccc0
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x54]
cmp eax, ebx
mov ecx, dword [ebp - 0x48]
je 0x47e224
jmp 0x47e324