Function at 0x140017ca0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x11f8
call fcn.14001ca10
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1160], xmm6
mov qword [rbp + 0x1158], 0xfffffffffffffffe
mov rdi, r8
mov qword [rbp + 0x10f0], rdx
mov rbx, rcx
mov rcx, qword [0x14004a188]
test rcx, rcx
je 0x140017ed0
mov qword [rbp + 0x1148], rcx
mov edx, 0xffffffff
xor r8d, r8d
call qword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov rax, qword [0x14004a1a8]
test rax, rax
jne 0x140017d2e
lea rcx, str.dbghelp.dll
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov qword [0x14004a1a8], rax
test rax, rax
je 0x140018522
cmp byte [0x14004a190], 0
jne 0x14001814a
mov rcx, qword [0x14004a1b0]
test rcx, rcx
jne 0x140017d6a
lea rdx, str.SymGetOptions
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018143
mov rcx, rax
mov qword [0x14004a1b0], rax
call rcx
mov ecx, eax
mov rax, qword [0x14004a1b8]
test rax, rax
jne 0x140017da2
mov esi, ecx
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymSetOptions
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018143
mov qword [0x14004a1b8], rax
mov ecx, esi
or ecx, 4
call rax
mov rsi, qword [0x14004a1c0]
test rsi, rsi
jne 0x140017dda
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymInitializeW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018143
mov rsi, rax
mov qword [0x14004a1c0], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
mov r8d, 1
call rsi
mov qword [rbp + 0x1110], 0
mov qword [rbp + 0x1118], 2
mov qword [rbp + 0x1120], 0
mov byte [rbp + 0x1157], 0
lea rcx, [rbp + 0x1110]
mov r8d, 0x400
xor edx, edx
call fcn.14001ec50
mov rsi, qword [rbp + 0x1118]
mov r14, qword [rbp + 0x1120]
lea rcx, [rsi + r14*2]
mov r8d, 0x7fe
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov word [rsi + r14*2 + 0x7fe], 0
add r14, 0x400
mov qword [rbp + 0x1120], r14
mov r15, qword [0x14004a1c8]
test r15, r15
jne 0x140017e94
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymGetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018552
mov r15, rax
mov qword [0x14004a1c8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
mov r8d, r14d
call r15
cmp eax, 1
jne 0x140017fbd
mov rcx, rsi
call qword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
js 0x140018597
mov eax, eax
cmp r14, rax
jae 0x140018048
jmp 0x14001804f
movups xmm0, xmmword [0x140045600]
movaps xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [str.LocalRustBacktraceMutex00000000]
movaps xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x20], 0
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
test eax, eax
je 0x140017f5f
mov ecx, 0x1f
nop dword [rax]
cmp rcx, 0x20
ja 0x14001857f
mov edx, eax
and dl, 0xf
lea r8d, [rdx + 0x30]
lea r9d, [rdx + 0x37]
cmp dl, 0xa
movzx edx, r8b
movzx r8d, r9b
cmovb r8d, edx
mov byte [rbp + rcx - 0x40], r8b
cmp eax, 0x10
jb 0x140017f5f
mov edx, eax
shr dl, 4
lea r8d, [rdx + 0x30]
add dl, 0x37
cmp al, 0xa0
movzx r8d, r8b
movzx edx, dl
cmovb edx, r8d
mov byte [rbp + rcx - 0x41], dl
mov edx, eax
shr edx, 8
add rcx, 0xfffffffffffffffe
cmp eax, 0x100
mov eax, edx
jae 0x140017f00
movzx eax, byte [rbp - 0x20]
mov byte [rbp + 0xfe0], al
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0xfd0], xmm1
movaps xmmword [rbp + 0xfc0], xmm0
lea r8, [rbp + 0xfc0]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateMutexA]
test rax, rax
je 0x14001852f
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x14004a188], rcx
je 0x140017cf0
mov rsi, rax
call sub.kernel32.dll_CloseHandle
mov rcx, rsi
jmp 0x140017cf0
mov qword [rbp + 0x1120], 0
mov rax, qword [rbp + 0x1110]
test rax, rax
je 0x140017fec
mov word [rsi], 0x2e
mov qword [rbp + 0x1120], 1
cmp rax, 1
je 0x140018023
jmp 0x14001803d
mov byte [rbp + 0x1157], 0
lea rcx, [rbp + 0x1110]
call fcn.1400186e0
mov rax, qword [rbp + 0x1110]
mov rsi, qword [rbp + 0x1118]
mov word [rsi], 0x2e
mov qword [rbp + 0x1120], 1
cmp rax, 1
jne 0x14001803d
mov byte [rbp + 0x1157], 0
lea rcx, [rbp + 0x1110]
call fcn.1400186e0
mov rsi, qword [rbp + 0x1118]
mov word [rsi + 2], 0x3b
mov eax, 2
mov qword [rbp + 0x1120], rax
mov rax, qword [rbp + 0x1120]
mov qword [rbp + 0xfd0], rax
movups xmm0, xmmword [rbp + 0x1110]
movaps xmmword [rbp + 0xfc0], xmm0
mov rsi, qword [0x14004a1d8]
test rsi, rsi
jne 0x14001809e
mov rcx, qword [0x14004a1a8]
lea rdx, str.EnumerateLoadedModulesW64
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018565
mov rsi, rax
mov qword [0x14004a1d8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea rdx, [0x140018780]
lea r8, [rbp + 0xfc0]
mov rcx, rax
call rsi
movaps xmm0, xmmword [rbp + 0xfc0]
movaps xmmword [rbp - 0x40], xmm0
mov r14, qword [rbp + 0xfd0]
mov qword [rbp - 0x30], r14
mov r15, qword [rbp - 0x40]
cmp r14, r15
jne 0x1400180e3
lea rcx, [rbp - 0x40]
call fcn.1400186e0
mov r15, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov word [rsi + r14*2], 0
mov r14, qword [0x14004a1d0]
test r14, r14
jne 0x14001811d
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymSetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14001812c
mov r14, rax
mov qword [0x14004a1d0], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
call r14
test r15, r15
je 0x140018143
mov rcx, qword [0x14004a1a0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov byte [0x14004a190], 1
mov rsi, qword [rbx + 0x10]
mov r14d, dword [rbx]
mov r12d, dword [rbx + 4]
mov rax, qword [rdi + 0x20]
mov qword [rbp + 0x10f8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rdi, rax
mov rbx, qword [0x14004a1e0]
test rbx, rbx
je 0x14001818a
mov rax, qword [0x14004a1e8]
mov qword [rbp + 0x1108], rax
test rax, rax
jne 0x1400181f6
jmp 0x1400181c4
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymFromInlineContextW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018522
mov rbx, rax
mov qword [0x14004a1e0], rax
mov rax, qword [0x14004a1e8]
mov qword [rbp + 0x1108], rax
test rax, rax
jne 0x1400181f6
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymGetLineFromInlineContextW
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0x1108], rax
test rax, rax
je 0x140018522
mov rax, qword [rbp + 0x1108]
mov qword [0x14004a1e8], rax
lea r15, [rsi - 1]
test rsi, rsi
cmove r15, rsi
mov esi, 1
test r14d, r14d
je 0x140018446
add esi, r12d
cmp r12d, esi
jae 0x140018522
lea r13, [rbp - 0x3c]
lea r14, [rbp + 0xfc0]
xorps xmm6, xmm6
mov qword [rbp + 0x1100], rbx
jmp 0x14001824c
inc r12d
cmp r12d, esi
je 0x140018522
mov r8d, 0xff4
mov rcx, r13
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x10], 0x7d0
mov dword [rbp - 0x40], 0x58
mov qword [rbp + 0xfc0], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, r15
mov r8d, r12d
mov r9, r14
call rbx
cmp eax, 1
jne 0x140018240
mov eax, dword [rbp + 0xc]
mov r9d, dword [rbp + 0x10]
dec r9
cmp rax, r9
cmovb r9, rax
movaps xmmword [rbp + 0x10b0], xmm6
movaps xmmword [rbp + 0x10a0], xmm6
movaps xmmword [rbp + 0x1090], xmm6
movaps xmmword [rbp + 0x1080], xmm6
movaps xmmword [rbp + 0x1070], xmm6
movaps xmmword [rbp + 0x1060], xmm6
movaps xmmword [rbp + 0x1050], xmm6
movaps xmmword [rbp + 0x1040], xmm6
movaps xmmword [rbp + 0x1030], xmm6
movaps xmmword [rbp + 0x1020], xmm6
movaps xmmword [rbp + 0x1010], xmm6
movaps xmmword [rbp + 0x1000], xmm6
movaps xmmword [rbp + 0xff0], xmm6
movaps xmmword [rbp + 0xfe0], xmm6
movaps xmmword [rbp + 0xfd0], xmm6
movaps xmmword [rbp + 0xfc0], xmm6
movups xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x28], 0x100
mov ecx, 0xfde9
xor edx, edx
lea r8, [rbp + 0x14]
call qword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
je 0x140018349
cmp eax, 0x100
ja 0x140018240
mov r13d, eax
jmp 0x14001834f
mov r13d, 0x100
movaps xmmword [rbp + 0x10c0], xmm6
movaps xmmword [rbp + 0x10d0], xmm6
mov qword [rbp + 0x10e0], 0
mov dword [rbp + 0x10c0], 0x28
mov dword [rbp + 0x1110], 0
lea rax, [rbp + 0x10c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1110]
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov rcx, rdi
mov rdx, r15
mov r8d, r12d
xor r9d, r9d
call qword [rbp + 0x1108]
mov r9d, 0
cmp eax, 1
jne 0x1400183e8
mov ecx, dword [rbp + 0x10d0]
mov r8, 0xffffffffffffffff
mov rdx, qword [rbp + 0x10d8]
nop word [rax + rax]
cmp word [rdx + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x1400183d0
mov r9d, 1
mov ebx, 1
mov rax, qword [rbp - 8]
mov qword [rbp + 0x1110], r9
mov qword [rbp + 0x1118], rdx
mov qword [rbp + 0x1120], r8
mov dword [rbp + 0x1128], ebx
mov dword [rbp + 0x112c], ecx
mov qword [rbp + 0x1130], r14
mov qword [rbp + 0x1138], r13
mov qword [rbp + 0x1140], rax
mov rcx, qword [rbp + 0x10f0]
lea rdx, [rbp + 0x1110]
call qword [rbp + 0x10f8]
mov rbx, qword [rbp + 0x1100]
lea r13, [rbp - 0x3c]
jmp 0x140018240
mov rsi, qword [0x14004a1f0]
test rsi, rsi
je 0x140018460
mov r14, qword [0x14004a1f8]
test r14, r14
jne 0x1400184b6
jmp 0x140018493
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymAddrIncludeInlineTrace
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018522
mov rsi, rax
mov qword [0x14004a1f0], rax
mov r14, qword [0x14004a1f8]
test r14, r14
jne 0x1400184b6
mov rcx, qword [0x14004a1a8]
lea rdx, str.SymQueryInlineTrace
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140018522
mov r14, rax
mov qword [0x14004a1f8], rax
mov rcx, rdi
mov rdx, r15
call rsi
mov dword [rbp + 0xfc0], 0
mov esi, 1
test eax, eax
je 0x14001854a
mov r13d, eax
mov dword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xfc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r12d, r12d
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9, r15
call r14
cmp eax, 1
jne 0x14001820f
inc r13d
mov r12d, dword [rbp + 0xfc0]
mov esi, r13d
jmp 0x14001820f
mov rcx, qword [rbp + 0x1148]
call qword [sym.imp.kernel32.dll_ReleaseMutex]
movaps xmm6, xmmword [rbp + 0x1160]
add rsp, 0x11f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor r12d, r12d
jmp 0x14001820f
cmp qword [rbp + 0x1110], 0
jne 0x140018131
jmp 0x140018143
cmp qword [rbp + 0xfc0], 0
je 0x140018143
mov rsi, qword [rbp + 0xfc8]
jmp 0x140018131
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
mov edx, 0x21
mov rcx, 0xffffffffffffffff
call fcn.14001d820
mov byte [rbp + 0x1157], 0
lea rcx, str.assertion_failed:_len___0
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
mov edx, 0x1a
call fcn.14001d900
ud2