Function at 0x140016130
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, 0x1208
call fcn.14001ab50
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1170], xmm6
mov qword [rbp + 0x1168], 0xfffffffffffffffe
mov qword [rbp + 0x1110], r8
mov qword [rbp + 0x10c8], rdx
mov rbx, rcx
mov rcx, qword [0x140026188]
test rcx, rcx
je 0x140016363
mov qword [rbp + 0x1118], rcx
mov edx, 0xffffffff
xor r8d, r8d
call qword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov rax, qword [0x1400261a8]
test rax, rax
jne 0x1400161c2
lea rcx, str.dbghelp.dll
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov qword [0x1400261a8], rax
test rax, rax
je 0x140016ace
cmp byte [0x140026190], 0
jne 0x1400165d6
mov rcx, qword [0x1400261b0]
test rcx, rcx
jne 0x1400161fe
lea rdx, str.SymGetOptions
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d01
mov rcx, rax
mov qword [0x1400261b0], rax
call rcx
mov ecx, eax
mov rax, qword [0x1400261b8]
test rax, rax
jne 0x140016236
mov esi, ecx
mov rcx, qword [0x1400261a8]
lea rdx, str.SymSetOptions
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d0f
mov qword [0x1400261b8], rax
mov ecx, esi
or ecx, 4
call rax
mov rsi, qword [0x1400261c0]
test rsi, rsi
jne 0x14001626e
mov rcx, qword [0x1400261a8]
lea rdx, str.SymInitializeW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d1d
mov rsi, rax
mov qword [0x1400261c0], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
mov r8d, 1
call rsi
mov qword [rbp + 0x1120], 0
mov qword [rbp + 0x1128], 2
mov qword [rbp + 0x1130], 0
mov byte [rbp + 0x1167], 1
lea rcx, [rbp + 0x1120]
mov r8d, 0x400
xor edx, edx
call fcn.14001c810
mov rsi, qword [rbp + 0x1128]
mov rdi, qword [rbp + 0x1130]
lea rcx, [rsi + rdi*2]
mov r8d, 0x7fe
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov word [rsi + rdi*2 + 0x7fe], 0
add rdi, 0x400
mov qword [rbp + 0x1130], rdi
mov r14, qword [0x1400261c8]
test r14, r14
jne 0x140016327
mov rcx, qword [0x1400261a8]
lea rdx, str.SymGetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d2b
mov r14, rax
mov qword [0x1400261c8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rsi
mov r8d, edi
call r14
cmp eax, 1
jne 0x14001644e
mov rcx, rsi
call qword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
js 0x140016cdd
mov eax, eax
cmp rdi, rax
jae 0x1400164d2
jmp 0x1400164d9
movups xmm0, xmmword [0x140021748]
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 0x1400163ef
mov ecx, 0x1f
nop dword [rax]
cmp rcx, 0x20
ja 0x140016bcd
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 0x1400163ef
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 0x140016390
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 0x140016adb
mov rcx, rax
xor eax, eax
lock cmpxchg qword [0x140026188], rcx
je 0x140016184
mov rsi, rax
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, rsi
jmp 0x140016184
mov qword [rbp + 0x1130], 0
mov rdx, qword [rbp + 0x1120]
test rdx, rdx
je 0x140016469
xor eax, eax
jmp 0x140016493
mov byte [rbp + 0x1167], 1
lea rcx, [rbp + 0x1120]
xor edx, edx
call fcn.140013ba0
mov rax, qword [rbp + 0x1130]
mov rdx, qword [rbp + 0x1120]
mov rsi, qword [rbp + 0x1128]
mov word [rsi + rax*2], 0x2e
inc rax
mov qword [rbp + 0x1130], rax
cmp rax, rdx
jne 0x1400164c9
mov byte [rbp + 0x1167], 1
lea rcx, [rbp + 0x1120]
call fcn.140013ba0
mov rsi, qword [rbp + 0x1128]
mov rax, qword [rbp + 0x1130]
mov word [rsi + rax*2], 0x3b
inc rax
mov qword [rbp + 0x1130], rax
mov rax, qword [rbp + 0x1130]
mov qword [rbp + 0xfd0], rax
movups xmm0, xmmword [rbp + 0x1120]
movaps xmmword [rbp + 0xfc0], xmm0
mov rsi, qword [0x1400261d8]
test rsi, rsi
jne 0x140016528
mov rcx, qword [0x1400261a8]
lea rdx, str.EnumerateLoadedModulesW64
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d40
mov rsi, rax
mov qword [0x1400261d8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea rdx, [0x140016ff0]
lea r8, [rbp + 0xfc0]
mov rcx, rax
call rsi
movaps xmm0, xmmword [rbp + 0xfc0]
movaps xmmword [rbp - 0x40], xmm0
mov rdx, qword [rbp + 0xfd0]
mov qword [rbp - 0x30], rdx
mov rdi, qword [rbp - 0x40]
cmp rdx, rdi
jne 0x140016571
lea rcx, [rbp - 0x40]
call fcn.140013ba0
mov rdi, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x38]
mov word [r14 + rdx*2], 0
mov rsi, qword [0x1400261d0]
test rsi, rsi
jne 0x1400165af
mov rcx, qword [0x1400261a8]
lea rdx, str.SymSetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d55
mov rsi, rax
mov qword [0x1400261d0], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, r14
call rsi
mov byte [0x140026190], 1
test rdi, rdi
je 0x1400165d6
mov edx, 2
mov rcx, r14
call fcn.140003cf0
mov rsi, qword [rbx + 0x10]
mov r15d, dword [rbx + 4]
mov edi, dword [rbx]
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov qword [rbp + 0x1158], rax
lea r14, [rsi - 1]
test rsi, rsi
cmove r14, rsi
mov esi, 1
test edi, edi
je 0x140016af6
add esi, r15d
cmp r15d, esi
jae 0x140016ace
lea rdi, [rbp - 0x3c]
lea rbx, [rbp - 0x40]
lea r12, [rbp + 0xfc0]
xorps xmm6, xmm6
mov dword [rbp + 0x110c], esi
jmp 0x1400166a0
mov rax, qword [rbp - 8]
mov qword [rbp + 0x1120], r12
mov qword [rbp + 0x1128], rdx
mov qword [rbp + 0x1130], r8
mov dword [rbp + 0x1138], r9d
mov dword [rbp + 0x113c], ecx
lea r12, [rbp + 0xfc0]
mov qword [rbp + 0x1140], r12
mov qword [rbp + 0x1148], rdi
mov qword [rbp + 0x1150], rax
mov rcx, qword [rbp + 0x10c8]
mov rdx, rsi
mov rax, qword [rbp + 0x1110]
call qword [rax + 0x20]
mov esi, dword [rbp + 0x110c]
lea rdi, [rbp - 0x3c]
lea rbx, [rbp - 0x40]
inc r15d
cmp r15d, esi
je 0x140016ace
mov r8d, 0xff4
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x10], 0x7d0
mov dword [rbp - 0x40], 0x58
mov rax, qword [0x1400261e0]
test rax, rax
jne 0x1400166ee
mov rcx, qword [0x1400261a8]
lea rdx, str.SymFromInlineContextW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016cbb
mov qword [0x1400261e0], rax
mov qword [rbp + 0xfc0], 0
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1158]
mov rdx, r14
mov r8d, r15d
mov r9, r12
call rax
cmp eax, 1
jne 0x140016694
mov eax, dword [rbp + 0xc]
mov ecx, dword [rbp + 0x10]
dec rcx
cmp rax, rcx
cmovb rcx, 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
lea r10, [rbp + 0x14]
lea rax, [r10 + rcx*2]
mov r8, r12
mov r12d, 0x100
xor r11d, r11d
xor edi, edi
test r11w, r11w
je 0x1400167d0
nop word cs:[rax + rax]
mov edx, r9d
jmp 0x1400167e1
cmp r10, rax
je 0x1400169f0
movzx edx, word [r10]
add r10, 2
mov ecx, edx
and ecx, 0xf800
cmp ecx, 0xd800
jne 0x140016840
movzx r11d, dx
mov r13d, 3
mov ecx, 0xfffd
cmp r11d, 0xdbff
ja 0x140016880
cmp r10, rax
je 0x1400169b1
movzx esi, word [r10]
add r10, 2
mov r11d, esi
add r11d, 0x2000
movzx ebx, r11w
mov r11w, 1
cmp ebx, 0xfc00
jae 0x1400169bc
mov r9d, esi
jmp 0x140016883
shl edx, 0x10
mov rcx, rdx
shr rcx, 0x10
cmp ecx, 0x80
jae 0x140016860
mov r13d, 1
jmp 0x140016880
cmp ecx, 0x800
jae 0x140016870
mov r13d, 2
jmp 0x140016880
cmp ecx, 0x10000
mov r13d, 4
sbb r13, 0
xor r11d, r11d
mov rdx, r12
sub rdx, r13
jbe 0x1400169f0
mov dword [rbp + 0x1108], ecx
cmp ecx, 0x80
jae 0x1400168b0
mov byte [r8], cl
mov ecx, 1
jmp 0x140016990
cmp ecx, 0x800
jae 0x1400168e0
mov esi, ecx
shr esi, 6
or sil, 0xc0
mov byte [r8], sil
and cl, 0x3f
or cl, 0x80
mov byte [r8 + 1], cl
mov ecx, 2
jmp 0x140016990
cmp ecx, 0x10000
jae 0x14001692b
mov qword [rbp + 0x1100], 3
cmp r12, 2
jbe 0x140016bf9
mov esi, ecx
shr esi, 0xc
or sil, 0xe0
mov byte [r8], sil
mov esi, ecx
shr esi, 6
and sil, 0x3f
or sil, 0x80
mov byte [r8 + 1], sil
and cl, 0x3f
or cl, 0x80
mov byte [r8 + 2], cl
mov ecx, 3
jmp 0x140016990
mov qword [rbp + 0x1100], 4
cmp r12, 3
jbe 0x140016bf9
mov esi, ecx
shr esi, 0x12
and sil, 7
or sil, 0xf0
mov byte [r8], sil
mov esi, ecx
shr esi, 0xc
and sil, 0x3f
or sil, 0x80
mov byte [r8 + 1], sil
mov esi, ecx
shr esi, 6
and sil, 0x3f
or sil, 0x80
mov byte [r8 + 2], sil
and cl, 0x3f
or cl, 0x80
mov byte [r8 + 3], cl
mov ecx, 4
nop word cs:[rax + rax]
cmp rcx, r12
ja 0x140016be5
add r8, r13
add rdi, r13
mov r12, rdx
test r11w, r11w
jne 0x1400167c0
jmp 0x1400167d0
xor r11d, r11d
mov r10, rax
jmp 0x140016883
movzx ecx, si
and edx, 0x3ff
and ecx, 0x3ff
shl rdx, 0x1a
shl ecx, 0x10
or rcx, rdx
movabs rdx, 0x100000000
add rcx, rdx
jmp 0x140016846
cmp rdi, 0x101
jae 0x140016ca2
movaps xmmword [rbp + 0x10d0], xmm6
movaps xmmword [rbp + 0x10e0], xmm6
mov qword [rbp + 0x10f0], 0
mov dword [rbp + 0x10d0], 0x28
mov rax, qword [0x1400261e8]
test rax, rax
lea rsi, [rbp + 0x1120]
jne 0x140016a57
mov rcx, qword [0x1400261a8]
lea rdx, str.SymGetLineFromInlineContextW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016ccc
mov qword [0x1400261e8], rax
mov dword [rbp + 0x1120], 0
lea rcx, [rbp + 0x10d0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
xor r12d, r12d
mov rcx, qword [rbp + 0x1158]
mov rdx, r14
mov r8d, r15d
xor r9d, r9d
call rax
mov r9d, 0
cmp eax, 1
jne 0x140016630
mov ecx, dword [rbp + 0x10e0]
mov r8, 0xffffffffffffffff
mov rdx, qword [rbp + 0x10e8]
nop word [rax + rax]
cmp word [rdx + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x140016ab0
mov r9d, 1
mov r12d, 1
jmp 0x140016630
mov rcx, qword [rbp + 0x1118]
call qword [sym.imp.kernel32.dll_ReleaseMutex]
movaps xmm6, xmmword [rbp + 0x1170]
add rsp, 0x1208
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [0x1400261f0]
test rax, rax
jne 0x140016b26
mov rcx, qword [0x1400261a8]
lea rdx, str.SymAddrIncludeInlineTrace
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d71
mov qword [0x1400261f0], rax
mov rcx, qword [rbp + 0x1158]
mov rdx, r14
call rax
mov dword [rbp + 0xfc0], 0
test eax, eax
je 0x140016bc5
mov edi, eax
mov rax, qword [0x1400261f8]
test rax, rax
jne 0x140016b76
mov rcx, qword [0x1400261a8]
lea rdx, str.SymQueryInlineTrace
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140016d7f
mov qword [0x1400261f8], rax
mov dword [rbp - 0x40], 0
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0xfc0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r14
xor r15d, r15d
mov rcx, qword [rbp + 0x1158]
mov rdx, r14
xor r8d, r8d
mov r9, r14
call rax
cmp eax, 1
jne 0x140016605
mov r15d, dword [rbp + 0xfc0]
inc edi
mov esi, edi
jmp 0x140016605
xor r15d, r15d
jmp 0x140016605
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
mov edx, 0x21
mov rcx, 0xffffffffffffffff
call fcn.14001b990
lea r8, str._rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6librarycore_srccharmethods.rs
mov rdx, r12
call fcn.14001ba10
jmp 0x140016d8b
mov qword [rbp + 0x10c0], r12
lea rax, [rbp + 0x1100]
mov qword [rbp + 0x1120], rax
lea rax, [fcn.140007300]
mov qword [rbp + 0x1128], rax
lea rcx, [rbp + 0x1108]
mov qword [rbp + 0x1130], rcx
lea rcx, [0x14000ac70]
mov qword [rbp + 0x1138], rcx
lea rcx, [rbp + 0x10c0]
mov qword [rbp + 0x1140], rcx
mov qword [rbp + 0x1148], rax
lea rax, str.encode_utf8:_need__bytes_to_encode_U__but_the_buffer_has
mov qword [rbp + 0x10d0], rax
mov qword [rbp + 0x10d8], 3
mov qword [rbp + 0x10f0], 0
lea rax, [rbp + 0x1120]
mov qword [rbp + 0x10e0], rax
mov qword [rbp + 0x10e8], 3
lea rdx, str._rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6librarycore_srccharmethods.rs
lea rcx, [rbp + 0x10d0]
call fcn.14001b940
jmp 0x140016d8b
lea r8, str.library_std_src...._backtrace_src_symbolizedbghelp.rs
mov edx, 0x100
mov rcx, rdi
call fcn.14001ba10
jmp 0x140016d8b
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
mov byte [rbp + 0x1167], 1
lea rcx, str.assertion_failed:_len___0
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
mov edx, 0x1a
call fcn.14001ba20
jmp 0x140016d8b
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
mov byte [rbp + 0x1167], 1
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
mov byte [rbp + 0x1166], 1
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
mov qword [rbp + 0x1110], r14
mov qword [rbp + 0x1158], rdi
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
jmp 0x140016d8b
lea rcx, str.library_std_src...._backtrace_srcdbghelp.rs
call fcn.14001bd30
ud2