Function at 0x140015b40
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.14001a5d0
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 [0x140045188]
test rcx, rcx
je 0x140015d70
mov qword [rbp + 0x1148], rcx
mov edx, 0xffffffff
xor r8d, r8d
call qword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov rax, qword [0x1400451a8]
test rax, rax
jne 0x140015bce
lea rcx, str.dbghelp.dll
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov qword [0x1400451a8], rax
test rax, rax
je 0x140016374
cmp byte [0x140045190], 0
jne 0x140015fcd
mov rcx, qword [0x1400451b0]
test rcx, rcx
jne 0x140015c0a
lea rdx, str.SymGetOptions
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140015fc6
mov rcx, rax
mov qword [0x1400451b0], rax
call rcx
mov ecx, eax
mov rax, qword [0x1400451b8]
test rax, rax
jne 0x140015c42
mov esi, ecx
mov rcx, qword [0x1400451a8]
lea rdx, str.SymSetOptions
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140015fc6
mov qword [0x1400451b8], rax
mov ecx, esi
or ecx, 4
call rax
mov rsi, qword [0x1400451c0]
test rsi, rsi
jne 0x140015c7a
mov rcx, qword [0x1400451a8]
lea rdx, str.SymInitializeW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140015fc6
mov rsi, rax
mov qword [0x1400451c0], 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.14001bb80
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 [0x1400451c8]
test r15, r15
jne 0x140015d34
mov rcx, qword [0x1400451a8]
lea rdx, str.SymGetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400163a4
mov r15, rax
mov qword [0x1400451c8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
mov r8d, r14d
call r15
cmp eax, 1
jne 0x140015e5d
mov rcx, rsi
call qword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
js 0x1400163e9
mov eax, eax
cmp r14, rax
jae 0x140015ed0
jmp 0x140015ed7
movups xmm0, xmmword [0x140040cf8]
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 0x140015dff
mov ecx, 0x1f
nop dword [rax]
cmp rcx, 0x20
ja 0x1400163d1
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 0x140015dff
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 0x140015da0
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 0x140016381
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x140045188], rcx
je 0x140015b90
mov rsi, rax
call sub.kernel32.dll_CloseHandle
mov rcx, rsi
jmp 0x140015b90
mov qword [rbp + 0x1120], 0
mov rax, qword [rbp + 0x1110]
test rax, rax
jne 0x140015e95
mov byte [rbp + 0x1157], 0
lea rcx, [rbp + 0x1110]
call fcn.140016530
mov rax, qword [rbp + 0x1110]
mov rsi, qword [rbp + 0x1118]
mov word [rsi], 0x2e
mov qword [rbp + 0x1120], 1
cmp rax, 1
jne 0x140015ec5
mov byte [rbp + 0x1157], 0
lea rcx, [rbp + 0x1110]
call fcn.140016530
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 [0x1400451d8]
test rsi, rsi
jne 0x140015f26
mov rcx, qword [0x1400451a8]
lea rdx, str.EnumerateLoadedModulesW64
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400163b7
mov rsi, rax
mov qword [0x1400451d8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea rdx, [0x1400165d0]
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 0x140015f6b
lea rcx, [rbp - 0x40]
call fcn.140016530
mov r15, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
mov word [rsi + r14*2], 0
mov r14, qword [0x1400451d0]
test r14, r14
jne 0x140015fa5
mov rcx, qword [0x1400451a8]
lea rdx, str.SymSetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140015fb4
mov r14, rax
mov qword [0x1400451d0], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
call r14
test r15, r15
je 0x140015fc6
mov edx, 2
mov rcx, rsi
call fcn.140001e60
mov byte [0x140045190], 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 [0x1400451e0]
test rbx, rbx
jne 0x14001601f
mov rcx, qword [0x1400451a8]
lea rdx, str.SymFromInlineContextW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016374
mov rbx, rax
mov qword [0x1400451e0], rax
mov rax, qword [0x1400451e8]
mov qword [rbp + 0x1108], rax
test rax, rax
jne 0x140016064
mov rcx, qword [0x1400451a8]
lea rdx, str.SymGetLineFromInlineContextW
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0x1108], rax
test rax, rax
je 0x140016374
mov rax, qword [rbp + 0x1108]
mov qword [0x1400451e8], rax
lea r15, [rsi - 1]
test rsi, rsi
cmove r15, rsi
mov esi, 1
test r14d, r14d
je 0x1400162a6
add esi, r12d
cmp r12d, esi
jae 0x140016374
lea r13, [rbp - 0x3c]
lea r14, [rbp + 0xfc0]
xorps xmm6, xmm6
mov qword [rbp + 0x1100], rbx
jmp 0x1400160ac
inc r12d
cmp r12d, esi
je 0x140016374
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 0x1400160a0
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 0x1400161a9
cmp eax, 0x100
ja 0x1400160a0
mov r13d, eax
jmp 0x1400161af
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 0x140016248
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 0x140016230
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 0x1400160a0
mov rsi, qword [0x1400451f0]
test rsi, rsi
jne 0x1400162d9
mov rcx, qword [0x1400451a8]
lea rdx, str.SymAddrIncludeInlineTrace
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016374
mov rsi, rax
mov qword [0x1400451f0], rax
mov r14, qword [0x1400451f8]
test r14, r14
jne 0x140016308
mov rcx, qword [0x1400451a8]
lea rdx, str.SymQueryInlineTrace
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016374
mov r14, rax
mov qword [0x1400451f8], rax
mov rcx, rdi
mov rdx, r15
call rsi
mov dword [rbp + 0xfc0], 0
mov esi, 1
test eax, eax
je 0x14001639c
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 0x14001607d
inc r13d
mov r12d, dword [rbp + 0xfc0]
mov esi, r13d
jmp 0x14001607d
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 0x14001607d
cmp qword [rbp + 0x1110], 0
jne 0x140015fb9
jmp 0x140015fc6
cmp qword [rbp + 0xfc0], 0
je 0x140015fc6
mov rsi, qword [rbp + 0xfc8]
jmp 0x140015fb9
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
mov edx, 0x21
mov rcx, 0xffffffffffffffff
call fcn.14001b360
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.14001b440
ud2