Function at 0x140089900
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.1400afb90
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 [0x14021f8b0]
test rcx, rcx
je 0x140089b3f
mov qword [rbp + 0x1148], rcx
mov edx, 0xffffffff
xor r8d, r8d
call qword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov rax, qword [0x14021f8e8]
test rax, rax
jne 0x14008998e
lea rcx, str.dbghelp.dll
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov qword [0x14021f8e8], rax
test rax, rax
je 0x14008a195
cmp byte [0x14021f8b8], 0
jne 0x140089dbb
mov rcx, qword [0x14021f8f0]
test rcx, rcx
jne 0x1400899ca
lea rdx, str.SymGetOptions
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140089db4
mov rcx, rax
mov qword [0x14021f8f0], rax
call rcx
mov ecx, eax
mov rax, qword [0x14021f8f8]
test rax, rax
jne 0x140089a02
mov esi, ecx
mov rcx, qword [0x14021f8e8]
lea rdx, str.SymSetOptions
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140089db4
mov qword [0x14021f8f8], rax
mov ecx, esi
or ecx, 4
call rax
mov rsi, qword [0x14021f900]
test rsi, rsi
jne 0x140089a3a
mov rcx, qword [0x14021f8e8]
lea rdx, str.SymInitializeW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140089db4
mov rsi, rax
mov qword [0x14021f900], 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
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x1110]
mov r8d, 0x400
mov r9d, 2
xor edx, edx
call fcn.1400b5060
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 [0x14021f908]
test r15, r15
jne 0x140089b03
mov rcx, qword [0x14021f8e8]
lea rdx, str.SymGetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14008a1bd
mov r15, rax
mov qword [0x14021f908], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
mov r8d, r14d
call r15
cmp eax, 1
jne 0x140089c2e
mov rcx, rsi
call qword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
js 0x14008a202
mov eax, eax
cmp r14, rax
jae 0x140089cb9
jmp 0x140089cc0
movups xmm0, xmmword [0x14020d348]
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 0x140089bcf
mov ecx, 0x1f
nop dword [rax + rax]
cmp rcx, 0x20
ja 0x14008a1ea
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 0x140089bcf
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 0x140089b70
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 0x14008a1a2
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x14021f8b0], rcx
je 0x140089950
mov rsi, rax
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rsi
jmp 0x140089950
mov qword [rbp + 0x1120], 0
mov rax, qword [rbp + 0x1110]
test rax, rax
je 0x140089c5d
mov word [rsi], 0x2e
mov qword [rbp + 0x1120], 1
cmp rax, 1
je 0x140089c94
jmp 0x140089cae
mov byte [rbp + 0x1157], 0
lea rcx, [rbp + 0x1110]
call fcn.14008a350
mov rax, qword [rbp + 0x1110]
mov rsi, qword [rbp + 0x1118]
mov word [rsi], 0x2e
mov qword [rbp + 0x1120], 1
cmp rax, 1
jne 0x140089cae
mov byte [rbp + 0x1157], 0
lea rcx, [rbp + 0x1110]
call fcn.14008a350
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 [0x14021f918]
test rsi, rsi
jne 0x140089d0f
mov rcx, qword [0x14021f8e8]
lea rdx, str.EnumerateLoadedModulesW64
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14008a1d0
mov rsi, rax
mov qword [0x14021f918], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea rdx, [0x14008a410]
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 0x140089d54
lea rcx, [rbp - 0x40]
call fcn.14008a350
mov r15, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov word [rsi + r14*2], 0
mov r14, qword [0x14021f910]
test r14, r14
jne 0x140089d8e
mov rcx, qword [0x14021f8e8]
lea rdx, str.SymSetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140089d9d
mov r14, rax
mov qword [0x14021f910], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
call r14
test r15, r15
je 0x140089db4
mov rcx, qword [0x14021f8e0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov byte [0x14021f8b8], 1
mov rsi, qword [rbx + 0x10]
cmp qword [rbp + 0x1110], 0
jne 0x140089da2
jmp 0x140089db4
cmp qword [rbp + 0xfc0], 0
je 0x140089db4
mov rsi, qword [rbp + 0xfc8]
jmp 0x140089da2
lea r8, str.std_src...._backtrace_srcdbghelp.rs
mov edx, 0x21
mov rcx, 0xffffffffffffffff
call fcn.1400b13d0
mov byte [rbp + 0x1157], 0
lea rcx, str.assertion_failed:_len___0
lea r8, str.std_src...._backtrace_srcdbghelp.rs
mov edx, 0x1a
call fcn.1400b14f0
ud2