Function at 0x140049470
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
sub rsp, 0x290
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x208], 0xfffffffffffffffe
mov qword [rbp + 0x148], r9
mov qword [rbp + 0x150], r8
mov qword [rbp + 0x158], rdx
mov qword [rbp + 0x160], rcx
mov rax, qword [0x14009a270]
cmp rax, 0
mov qword [rbp + 0x168], rax
jne 0x1400496bf
lea rcx, [rbp + 0x197]
lea rdx, str.LocalRustBacktraceMutex00000000
mov r8d, 0x21
call sub.VCRUNTIME140.dll_memcpy
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov ecx, eax
mov eax, 0x20
cmp ecx, 0
mov dword [rbp + 0x13c], ecx
mov qword [rbp + 0x140], rax
je 0x140049626
mov ecx, dword [rbp + 0x13c]
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x120], rax
mov dword [rbp + 0x12c], ecx
add rax, 0xffffffffffffffff
mov qword [rbp + 0x130], rax
cmp rax, 0x21
jae 0x14004960e
mov eax, dword [rbp + 0x12c]
mov cl, al
and cl, 0xf
mov al, cl
or al, 0x30
mov dl, cl
add dl, 0x37
mov byte [rbp + 0x11e], dl
cmp cl, 0xa
mov byte [rbp + 0x11f], al
jb 0x14004955b
mov al, byte [rbp + 0x11e]
mov byte [rbp + 0x11f], al
mov eax, dword [rbp + 0x12c]
mov rcx, qword [rbp + 0x130]
mov dl, byte [rbp + 0x11f]
mov byte [rbp + rcx + 0x197], dl
mov ecx, eax
shr ecx, 4
mov dword [rbp + 0x118], ecx
cmp eax, 0x10
jb 0x140049626
mov eax, dword [rbp + 0x118]
mov rcx, qword [rbp + 0x120]
add rcx, 0xfffffffffffffffe
mov qword [rbp + 0x108], rcx
mov cl, al
and cl, 0xf
mov al, cl
or al, 0x30
mov dl, cl
add dl, 0x37
mov byte [rbp + 0x116], dl
cmp cl, 0xa
mov byte [rbp + 0x117], al
jb 0x1400495cc
mov al, byte [rbp + 0x116]
mov byte [rbp + 0x117], al
mov rax, qword [rbp + 0x108]
mov edx, dword [rbp + 0x12c]
mov rcx, qword [rbp + 0x120]
mov r8b, byte [rbp + 0x117]
mov byte [rbp + rcx + 0x195], r8b
mov ecx, edx
shr ecx, 8
cmp edx, 0x100
mov dword [rbp + 0x13c], ecx
mov qword [rbp + 0x140], rax
jb 0x140049626
jmp 0x1400494fb
lea r8, str.std_src...._backtrace_srcdbghelp.rs
mov rcx, 0xffffffffffffffff
mov edx, 0x21
call fcn.14000c560
lea rcx, [rbp + 0x176]
lea rdx, [rbp + 0x197]
mov r8d, 0x21
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov ecx, eax
xor edx, edx
lea r8, [rbp + 0x176]
call qword [sym.imp.kernel32.dll_CreateMutexA]
mov qword [rbp + 0x100], rax
cmp rax, 0
jne 0x140049664
jmp 0x140049d7b
mov rcx, qword [rbp + 0x100]
xor eax, eax
lock cmpxchg qword [0x14009a270], rcx
mov rdx, rax
mov rax, qword [rbp + 0x100]
sete cl
mov qword [rbp + 0xf0], rdx
test cl, 1
mov qword [rbp + 0xf8], rax
jne 0x1400496b1
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x168], rax
mov rcx, qword [rbp + 0x168]
mov qword [rbp + 0xe0], rcx
mov edx, 0xffffffff
xor r8d, r8d
call qword [sym.imp.kernel32.dll_WaitForSingleObjectEx]
mov rax, qword [0x14009a2a0]
cmp rax, 0
mov qword [rbp + 0xe8], rax
jne 0x140049710
lea rcx, str.dbghelp.dll
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov qword [0x14009a2a0], rax
cmp rax, 0
mov qword [rbp + 0xe8], rax
je 0x14004972d
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xd8], rax
test byte [0x14009a278], 1
jne 0x140049cf7
jmp 0x14004973f
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.kernel32.dll_ReleaseMutex]
jmp 0x140049d7b
mov rax, qword [0x14009a2a8]
cmp rax, 0
mov qword [rbp + 0xd0], rax
jne 0x14004978d
mov rcx, qword [rbp + 0xd8]
lea rdx, str.SymGetOptions
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0xc8], rax
cmp rax, 0
je 0x140049cf0
mov rax, qword [rbp + 0xc8]
mov qword [0x14009a2a8], rax
mov qword [rbp + 0xd0], rax
mov rcx, qword [rbp + 0xd0]
xor eax, eax
add rax, rcx
call rax
mov dword [rbp + 0xbc], eax
mov rax, qword [0x14009a2b0]
cmp rax, 0
mov qword [rbp + 0xc0], rax
jne 0x1400497ef
mov rcx, qword [0x14009a2a0]
lea rdx, str.SymSetOptions
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0xb0], rax
cmp rax, 0
je 0x140049cf0
mov rax, qword [rbp + 0xb0]
mov qword [0x14009a2b0], rax
mov qword [rbp + 0xc0], rax
mov ecx, dword [rbp + 0xbc]
mov rdx, qword [rbp + 0xc0]
xor eax, eax
add rax, rdx
or ecx, 4
call rax
mov rax, qword [0x14009a2b8]
cmp rax, 0
mov qword [rbp + 0xa8], rax
jne 0x140049854
mov rcx, qword [0x14009a2a0]
lea rdx, str.SymInitializeW
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0xa0], rax
cmp rax, 0
je 0x140049cf0
mov rax, qword [rbp + 0xa0]
mov qword [0x14009a2b8], rax
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov qword [rbp + 0x80], rax
mov rax, qword [sym.imp.kernel32.dll_GetCurrentProcess]
call rax
mov rcx, rax
mov rax, qword [rbp + 0x80]
xor edx, edx
mov qword [rbp + 0x88], rdx
mov r8d, 1
call rax
mov rdx, qword [rbp + 0x88]
mov qword [rbp + 0x1b8], 0
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x1c0], 2
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x1c8], 0
mov byte [rbp + 0x207], 1
mov rax, rsp
mov qword [rax + 0x20], 2
lea rcx, [rbp + 0x1b8]
mov r8d, 0x400
mov r9d, 2
call fcn.140049160
jmp 0x1400498f6
mov rax, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rcx, qword [rcx]
mov qword [rbp + 0x60], rcx
shl rax, 1
add rcx, rax
xor edx, edx
mov r8d, 0x7fe
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x98]
mov r8, rcx
shl r8, 1
mov word [rdx + r8 + 0x7fe], 0
add rcx, 0x400
mov qword [rbp + 0x70], rcx
mov qword [rax], rcx
mov rax, qword [0x14009a2c0]
cmp rax, 0
mov qword [rbp + 0x78], rax
jne 0x140049995
mov rcx, qword [0x14009a2a0]
lea rdx, str.SymGetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0x58], rax
cmp rax, 0
je 0x140049cc7
mov rax, qword [rbp + 0x58]
mov qword [0x14009a2c0], rax
mov qword [rbp + 0x78], rax
mov rcx, qword [rbp + 0x78]
xor eax, eax
add rax, rcx
mov qword [rbp + 0x50], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov r8, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x60]
mov rcx, rax
mov rax, qword [rbp + 0x50]
call rax
cmp eax, 1
jne 0x1400499d9
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.kernel32.dll_lstrlenW]
mov dword [rbp + 0x4c], eax
cmp eax, 0xffffffff
jg 0x140049b17
jmp 0x140049af6
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x98]
mov qword [rcx], 0
mov rcx, qword [rbp + 0x1b8]
cmp rcx, 0
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rax
jne 0x140049a2e
mov byte [rbp + 0x207], 1
lea rcx, [rbp + 0x1b8]
call fcn.140049e80
jmp 0x140049a15
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x1b8]
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x40], rax
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
mov word [rax], 0x2e
mov qword [rdx], 1
cmp rcx, 1
mov qword [rbp + 0x30], rax
jne 0x140049a76
mov byte [rbp + 0x207], 1
lea rcx, [rbp + 0x1b8]
call fcn.140049e80
jmp 0x140049a68
mov rax, qword [rbp + 0x90]
mov rax, qword [rax]
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov word [rax + 2], 0x3b
mov eax, 2
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x28]
mov qword [rax], rcx
mov rax, qword [rbp + 0x1b8]
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0x1e0], rax
mov rax, qword [0x14009a2d0]
cmp rax, 0
mov qword [rbp + 0x20], rax
jne 0x140049b43
mov rcx, qword [0x14009a2a0]
lea rdx, str.EnumerateLoadedModulesW64
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp + 0x18], rax
cmp rax, 0
je 0x140049bc0
jmp 0x140049b34
mov byte [rbp + 0x207], 1
lea rcx, str.assertion_failed:_len___0
lea r8, str.std_src...._backtrace_srcdbghelp.rs
mov edx, 0x1a
call fcn.14000eb90
jmp 0x140049b32
mov rcx, qword [rbp + 0x70]
mov eax, dword [rbp + 0x4c]
mov eax, eax
cmp rcx, rax
mov qword [rbp + 0x28], rax
jb 0x140049a97
jmp 0x140049a89
ud2
mov rax, qword [rbp + 0x18]
mov qword [0x14009a2d0], rax
mov qword [rbp + 0x20], rax
mov rcx, qword [rbp + 0x20]
xor eax, eax
add rax, rcx
mov qword [rbp], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov rax, qword [rbp]
lea rdx, [0x140049fc0]
lea r8, [rbp + 0x1d0]
call rax
mov rax, qword [rbp + 0x1d0]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x1d8]
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rbp + 0x1f8], rax
mov rcx, qword [rbp + 0x1f8]
mov qword [rbp + 8], rcx
mov rax, qword [rbp + 0x1e8]
cmp rcx, rax
mov qword [rbp + 0x10], rax
jne 0x140049bf8
lea rcx, [rbp + 0x1e8]
call fcn.140049e80
jmp 0x140049bed
mov rax, qword [rbp + 0x1d0]
mov qword [rbp - 0x10], rax
cmp rax, 0
je 0x140049cc5
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp + 0x1d8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
jmp 0x140049caf
mov rax, qword [rbp + 0x1e8]
mov qword [rbp + 0x10], rax
mov rcx, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0x1f0]
mov qword [rbp - 0x30], rax
mov word [rax + rcx*2], 0
mov rax, qword [0x14009a2c8]
cmp rax, 0
mov qword [rbp - 0x28], rax
jne 0x140049c53
mov rcx, qword [0x14009a2a0]
lea rdx, str.SymSetSearchPathW
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbp - 0x40], rax
cmp rax, 0
je 0x140049c95
mov rax, qword [rbp - 0x40]
mov qword [0x14009a2c8], rax
mov qword [rbp - 0x28], rax
mov rcx, qword [rbp - 0x28]
xor eax, eax
add rax, rcx
mov qword [rbp - 0x48], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
mov rax, qword [rbp - 0x48]
call rax
mov rax, qword [rbp - 0x38]
cmp rax, 0
je 0x140049cad
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
shl rdx, 1
mov r8d, 2
call fcn.140009e80
jmp 0x140049cad
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
cmp rcx, 0
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
je 0x140049cc5
jmp 0x140049caf
jmp 0x140049cf0
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
shl rdx, 1
mov r8d, 2
call fcn.140009e80
jmp 0x140049cf0
mov rax, qword [rbp + 0x1b8]
mov qword [rbp - 0x50], rax
cmp rax, 0
je 0x140049cc5
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp - 0x50]
shl rdx, 1
mov r8d, 2
call fcn.140009e80
jmp 0x140049cc5
mov byte [0x14009a278], 1
mov rax, qword [rbp + 0x160]
test rax, 1
jne 0x140049d3c
mov r9, qword [rbp + 0x150]
mov rax, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x158]
mov rcx, rdx
dec rcx
test rdx, rdx
cmove rcx, rdx
mov rdx, qword [rax + 0x20]
mov rax, rsp
mov qword [rax + 0x20], rdx
xor edx, edx
call fcn.14004a3d0
jmp 0x140049d6e
mov r9, qword [rbp + 0x150]
mov rax, qword [rbp + 0x148]
mov r8, qword [rbp + 0x158]
mov rcx, qword [r8 + 0x10]
mov edx, dword [r8]
mov r8d, dword [r8 + 4]
mov r10, qword [rax + 0x20]
mov rax, rsp
mov qword [rax + 0x20], r10
call fcn.14004a3d0
jmp 0x140049d6e
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.kernel32.dll_ReleaseMutex]
nop
add rsp, 0x290
pop rbp
ret