Function at 0x1401b9de0
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, qword [0x14027f480]
test rsi, rsi
je 0x1401b9eeb
mov rcx, rsi
mov edx, 0xffffffff
xor r8d, r8d
call qword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov rax, qword [0x14027f498]
test rax, rax
jne 0x1401b9e36
lea rcx, str.dbghelp.dll
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov qword [0x14027f498], rax
test rax, rax
je 0x1401b9fe8
cmp byte [0x14027f488], 0
jne 0x1401b9ed9
mov rcx, qword [0x14027f4a0]
test rcx, rcx
jne 0x1401b9e6e
lea rdx, str.SymGetOptions
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401b9ed2
mov rcx, rax
mov qword [0x14027f4a0], rax
call rcx
mov edi, eax
mov rax, qword [0x14027f4a8]
test rax, rax
jne 0x1401b9e9e
mov rcx, qword [0x14027f498]
lea rdx, str.SymSetOptions
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401b9ed2
mov qword [0x14027f4a8], rax
or edi, 4
mov ecx, edi
call rax
mov rdi, qword [0x14027f4b0]
test rdi, rdi
jne 0x1401ba005
mov rcx, qword [0x14027f498]
lea rdx, str.SymInitializeW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
jne 0x1401b9ffb
mov byte [0x14027f488], 1
xor eax, eax
mov rdx, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
movups xmm0, xmmword [0x140263cc8]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [str.LocalRustBacktraceMutex00000000]
movaps xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x60], 0
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
test eax, eax
je 0x1401b9f7f
mov ecx, 0x1f
nop word [rax + rax]
cmp rcx, 0x20
ja 0x1401ba274
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 [rsp + rcx + 0x40], r8b
cmp eax, 0x10
jb 0x1401b9f7f
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 [rsp + rcx + 0x3f], dl
mov edx, eax
shr edx, 8
add rcx, 0xfffffffffffffffe
cmp eax, 0x100
mov eax, edx
jae 0x1401b9f20
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x90], al
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateMutexA]
test rax, rax
je 0x1401b9fde
mov rsi, rax
xor eax, eax
lock cmpxchg qword [0x14027f480], rsi
je 0x1401b9dfc
mov rdi, rax
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rsi, rdi
jmp 0x1401b9dfc
mov eax, 1
jmp 0x1401b9edb
mov rcx, rsi
call qword [sym.imp.kernel32.dll_ReleaseMutex]
mov eax, 1
jmp 0x1401b9edb
mov rdi, rax
mov qword [0x14027f4b0], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
mov r8d, 1
call rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x20], 2
lea rcx, [rsp + 0x28]
mov r8d, 0x400
mov r9d, 2
xor edx, edx
call fcn.1401f03e0
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
lea rcx, [rbx + rdi*2]
mov r8d, 0x7fe
xor edx, edx
call fcn.1401ef9c0
mov word [rbx + rdi*2 + 0x7fe], 0
add rdi, 0x400
mov qword [rsp + 0x38], rdi
mov rbx, qword [0x14027f4b8]
test rbx, rbx
jne 0x1401ba0b8
mov rcx, qword [0x14027f498]
lea rdx, str.SymGetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401ba241
mov rbx, rax
mov qword [0x14027f4b8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov r14, qword [rsp + 0x30]
mov rcx, rax
mov rdx, r14
mov r8d, edi
call rbx
cmp eax, 1
jne 0x1401ba0ed
mov rcx, r14
call qword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
js 0x1401ba274
mov eax, eax
cmp rdi, rax
jae 0x1401ba13e
jmp 0x1401ba143
mov qword [rsp + 0x38], 0
cmp qword [rsp + 0x28], 0
jne 0x1401ba10d
lea rcx, [rsp + 0x28]
call fcn.14009a090
mov r14, qword [rsp + 0x30]
mov word [r14], 0x2e
mov qword [rsp + 0x38], 1
cmp qword [rsp + 0x28], 1
jne 0x1401ba12e
lea rcx, [rsp + 0x28]
call fcn.14009a090
mov rax, qword [rsp + 0x30]
mov word [rax + 2], 0x3b
mov eax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x70], xmm0
mov rdi, qword [0x14027f4c8]
test rdi, rdi
jne 0x1401ba18d
mov rcx, qword [0x14027f498]
lea rdx, str.EnumerateLoadedModulesW64
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401ba25f
mov rdi, rax
mov qword [0x14027f4c8], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea rdx, [0x1401ba280]
lea r8, [rsp + 0x70]
mov rcx, rax
call rdi
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x40], xmm0
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x50], rdi
cmp rdi, qword [rsp + 0x40]
jne 0x1401ba1cc
lea rcx, [rsp + 0x40]
call fcn.14009a090
mov rax, qword [rsp + 0x48]
mov word [rax + rdi*2], 0
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r14, qword [0x14027f4c0]
test r14, r14
jne 0x1401ba210
mov rcx, qword [0x14027f498]
lea rdx, str.SymSetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401ba21f
mov r14, rax
mov qword [0x14027f4c0], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, rbx
call r14
test rdi, rdi
je 0x1401b9ed2
add rdi, rdi
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.140055580
jmp 0x1401b9ed2
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1401b9ed2
mov rcx, qword [rsp + 0x30]
add rdx, rdx
mov r8d, 2
jmp 0x1401ba237
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1401b9ed2
mov rbx, qword [rsp + 0x78]
jmp 0x1401ba228
ud2