Function at 0x1401f6d90
Capabilities:
Create process on windows
Get common file path
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x678
movdqa xmmword [rsp + 0x660], xmm6
mov qword [rsp + 0x1a0], r8
mov r12, rdx
mov qword [rsp + 0x160], rcx
mov r10, qword [rdx + 0x60]
movzx eax, byte [rdx + 0x68]
test al, al
mov byte [rsp + 0x178], r9b
jne 0x1401f6dec
test r10, r10
jne 0x1401f6dec
mov qword [rsp + 0x230], 0
xor r14d, r14d
jmp 0x1401f78cc
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x218], 0
test al, al
mov qword [rsp + 0x78], r12
jne 0x1401f6f6a
mov qword [rsp + 0x70], r10
call sub.kernel32.dll_GetEnvironmentStringsW
test rax, rax
je 0x1401fa78c
mov qword [rsp + 0x180], rax
lea rdi, [rsp + 0x188]
mov qword [rsp + 0x188], rax
lea rsi, [rsp + 0x280]
lea rbp, [rsp + 0x98]
lea rbx, [rsp + 0x260]
lea r14, [rsp + 0x1c0]
lea r15, [rsp + 0x100]
lea r12, [rsp + 0x208]
lea r13, [rsp + 0x80]
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, rdi
call sym.__std::sys::windows::os::EnvIterator_as_core::iter::traits::iterator::Iterator_::next::h0b051bc47b38140c
cmp byte [rsp + 0x278], 2
je 0x1401f6f53
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x270]
add rcx, rax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
mov word [rsp + 0x110], 0
mov rcx, r14
mov rdx, r15
call dbg.from_iter<u16, std::sys_common::wtf8::EncodeWide>
movups xmm0, xmmword [rsp + 0x260]
movups xmm1, xmmword [rsp + 0x270]
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp], xmm0
movdqu xmm0, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x90], rax
mov rcx, r15
mov rdx, r12
mov r8, r13
mov r9, rsi
call dbg.insert<std::sys::windows::process::EnvKey, std::ffi::os_str::OsString, alloc::alloc::Global>
cmp byte [rsp + 0x118], 2
je 0x1401f6e80
mov rdx, qword [rsp + 0x108]
test rdx, rdx
je 0x1401f6e80
mov rcx, qword [rsp + 0x100]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1401f6e80
mov rcx, qword [rsp + 0x180]
call fcn.1402682ac
mov r12, qword [rsp + 0x78]
mov r10, qword [rsp + 0x70]
movabs r8, 0x3ffffffffffffffe
mov rax, qword [r12 + 0x50]
mov rcx, qword [r12 + 0x58]
xor edx, edx
test rax, rax
setne dl
cmove r10, rax
mov qword [rsp + 0x1c0], rdx
mov qword [rsp + 0x1c8], 0
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rcx
mov qword [rsp + 0x1e0], rdx
mov qword [rsp + 0x1e8], 0
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rcx
mov qword [rsp + 0x200], r10
lea r12, [rsp + 0x278]
lea r14, [rsp + 0x1c0]
mov r13, qword [0x14037ba78]
inc r8
mov qword [rsp + 0x70], r8
nop dword [rax]
mov rcx, r14
call dbg.next<std::sys::windows::process::EnvKey, core::option::Option<std::ffi::os_str::OsString>>
mov rbp, rax
test rax, rax
je 0x1401f76bf
mov rsi, rdx
cmp byte [rdx + 0x18], 2
jne 0x1401f7230
mov rsi, qword [rsp + 0x208]
test rsi, rsi
je 0x1401f7000
mov r9, qword [rbp]
mov rax, qword [rbp + 0x10]
mov rbp, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x180]
mov rdx, rsi
mov r8, rbp
call dbg.search_tree<alloc::collections::btree::node::marker::Mut, std::sys::windows::process::EnvKey, core::option::Option<std::ffi::os_str::OsString>, std::sys::windows::process::EnvKey>
cmp qword [rsp + 0x180], 0
jne 0x1401f7000
mov rax, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
mov byte [rsp + 0x1a8], 0
test rdx, rdx
je 0x1401f73e8
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x1401f715e
mov r8, rax
and r8, 7
je 0x1401f70cb
xor r9d, r9d
nop word [rax + rax]
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x1401f70b0
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x1401f715e
nop dword [rax]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
movzx edx, word [rcx + 0x3d2]
mov rcx, qword [rcx + rdx*8 + 0x3d8]
add rax, 0xfffffffffffffff8
jne 0x1401f70e0
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x260]
lea rdx, [rsp + 0xe0]
lea r8, [rsp + 0x1a8]
call fcn.1401b86b0
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x150], rax
movups xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x140], xmm0
movdqu xmm0, xmmword [rsp + 0x260]
movups xmm1, xmmword [rsp + 0x270]
movups xmm2, xmmword [rsp + 0x280]
movups xmm3, xmmword [rsp + 0x290]
movaps xmmword [rsp + 0x130], xmm3
movaps xmmword [rsp + 0x120], xmm2
movaps xmmword [rsp + 0x110], xmm1
movdqa xmmword [rsp + 0x100], xmm0
mov rdx, qword [rsp + 0x2b8]
mov rax, qword [rsp + 0x2c8]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x1401f7426
mov rcx, rdx
jmp 0x1401f7459
mov rdi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x28]
test r15, r15
je 0x1401f7262
js 0x1401fa6eb
movzx eax, byte [r13]
mov edx, 1
mov rcx, r15
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x1401f7267
jmp 0x1401fa6d9
mov ebx, 1
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call sym.memcpy
movzx eax, byte [rbp + 0x30]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r15
mov byte [rsp + 0x98], al
mov r15, qword [rbp]
mov rbx, qword [rbp + 0x10]
mov ebp, 2
test rbx, rbx
je 0x1401f72e0
cmp rbx, qword [rsp + 0x70]
ja 0x1401fa6f5
mov rdi, rbx
add rdi, rbx
je 0x1401f72e0
movzx eax, byte [r13]
mov edx, 2
mov rcx, rdi
call sym.__rust_alloc
test rax, rax
je 0x1401fa711
mov rbp, rax
jmp 0x1401f72e2
xor edi, edi
mov rcx, rbp
mov rdx, r15
mov r8, rdi
call sym.memcpy
movdqu xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movdqu xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm1
mov qword [rsp + 0x260], rbp
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], rbx
mov rdi, qword [rsi]
mov r15, qword [rsi + 0x10]
test r15, r15
je 0x1401f7356
js 0x1401fa6cf
movzx eax, byte [r13]
mov edx, 1
mov rcx, r15
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x1401f735b
jmp 0x1401fa6ff
mov ebx, 1
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call sym.memcpy
movzx eax, byte [rsi + 0x18]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r15
mov byte [rsp + 0x98], al
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x208]
lea r8, [rsp + 0x260]
lea r9, [rsp + 0x80]
call dbg.insert<std::sys::windows::process::EnvKey, std::ffi::os_str::OsString, alloc::alloc::Global>
cmp byte [rsp + 0x118], 2
je 0x1401f7000
mov rdx, qword [rsp + 0x108]
test rdx, rdx
je 0x1401f7000
mov rcx, qword [rsp + 0x100]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1401f7000
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], rcx
lea rcx, [rsp + 0x260]
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x1a8]
call fcn.1401b86b0
jmp 0x1401f7573
mov r8, qword [rsp + 0x2c0]
nop
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x1401f7454
movzx eax, word [rdx + 0x3d0]
inc r8
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x1401f7430
jmp 0x1401f7459
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rsp + 0xb0], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov r8, qword [rsp + 0x130]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rsp + 0x100]
movaps xmm1, xmmword [rsp + 0x110]
movaps xmm2, xmmword [rsp + 0x120]
movups xmmword [rcx + rdx + 0x188], xmm2
movups xmmword [rcx + rdx + 0x178], xmm1
movups xmmword [rcx + rdx + 0x168], xmm0
movups xmm0, xmmword [rcx + rax]
movups xmm1, xmmword [rcx + rax + 0x10]
lea rdx, [rsp + 0xb8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rsp + 0x138]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x2a0], xmm0
movdqa xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movaps xmm3, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x290], xmm3
movaps xmmword [rsp + 0x280], xmm2
movaps xmmword [rsp + 0x270], xmm1
movdqa xmmword [rsp + 0x260], xmm0
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0xc0], xmm0
movdqa xmm0, xmmword [rsp + 0x260]
movaps xmm1, xmmword [rsp + 0x270]
movaps xmm2, xmmword [rsp + 0x280]
movaps xmm3, xmmword [rsp + 0x290]
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
dec qword [rsp + 0x218]
movaps xmmword [rsp + 0x90], xmm1
movdqa xmmword [rsp + 0x80], xmm0
cmp byte [rsp + 0x1a8], 0
je 0x1401f7628
test rbp, rbp
je 0x1401fa723
mov rax, qword [rsi + 0x3d8]
mov qword [rsp + 0x208], rax
dec rbp
mov qword [rsp + 0x210], rbp
mov qword [rax + 0x160], 0
mov edx, 0x438
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
cmp byte [rsp + 0xb0], 2
je 0x1401f7000
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xc0]
movzx ebx, byte [rsp + 0xd0]
test rdx, rdx
je 0x1401f767e
mov rcx, qword [rsp + 0x98]
mov r8d, 1
call sym.__rust_dealloc
test rbp, rbp
je 0x1401f7697
add rbp, rbp
mov r8d, 2
mov rcx, rdi
mov rdx, rbp
call sym.__rust_dealloc
cmp bl, 2
je 0x1401f7000
test r15, r15
je 0x1401f7000
mov r8d, 1
mov rcx, rsi
mov rdx, r15
call sym.__rust_dealloc
jmp 0x1401f7000
movdqu xmm0, xmmword [rsp + 0x208]
movdqu xmmword [rsp + 0x238], xmm0
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0x230], 1
movzx eax, byte [r13]
mov r13d, 4
mov ecx, 4
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x1401fa740
mov dword [rax], 0x48544150
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 4
mov qword [rsp + 0x90], 4
mov byte [rsp + 0x98], 0
mov rcx, rax
add rcx, 4
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
mov word [rsp + 0x110], 0
lea rcx, [rsp + 0x1c0]
lea rdx, [rsp + 0x100]
call dbg.from_iter<u16, std::sys_common::wtf8::EncodeWide>
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x288], xmm1
movups xmmword [rsp + 0x278], xmm0
movdqu xmm0, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0x260], xmm0
mov r14, qword [rsp + 0x1d0]
mov qword [rsp + 0x270], r14
mov rsi, qword [rsp + 0x260]
mov r12, qword [rsp + 0x238]
test r12, r12
je 0x1401f7886
mov r13, qword [rsp + 0x240]
lea rcx, [r12 + 0x168]
movzx eax, word [r12 + 0x3d2]
mov qword [rsp + 0x70], rax
imul rbx, rax, 0x38
lea rbp, [r12 - 0x10]
mov r15, 0xffffffffffffffff
nop dword [rax]
test rbx, rbx
je 0x1401f7840
lea rdi, [rcx + 0x38]
mov r8, qword [rcx]
mov r9d, dword [rcx + 0x10]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, r14d
call sub.kernel32.dll_CompareStringOrdinal
add rbx, 0xffffffffffffffc8
add rbp, 0x20
inc r15
mov rcx, rdi
cmp eax, 3
je 0x1401f7800
cmp eax, 1
jne 0x1401f785c
jmp 0x1401f7845
mov r15, qword [rsp + 0x70]
sub r13, 1
jb 0x1401f7dc7
mov r12, qword [r12 + r15*8 + 0x3d8]
jmp 0x1401f77d7
cmp eax, 2
jne 0x1401fa63f
test r12, r12
je 0x1401f7886
mov r14, qword [rbp - 0x10]
mov rdi, qword [rbp]
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x280]
test rdx, rdx
jne 0x1401f789b
jmp 0x1401f78ae
xor r14d, r14d
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x280]
test rdx, rdx
je 0x1401f78ae
mov rcx, qword [rsp + 0x278]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x268]
test rdx, rdx
je 0x1401f78cc
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
mov r13, qword [r12 + 0x40]
lea rbp, str.program_path_has_no_file_name
test r13, r13
je 0x1401f7930
mov rdx, qword [r12 + 0x30]
cmp r13, 4
jae 0x1401f78f1
lea rax, [dbg.is_sep_byte]
jmp 0x1401f7919
mov eax, dword [rdx]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [sym.std::sys::windows::path::is_verbatim_sep::h7071e020d418c071]
lea rax, [dbg.is_sep_byte]
cmove rax, rcx
mov qword [rsp + 0x68], rdx
movzx esi, byte [r13 + rdx - 1]
mov ecx, esi
call rax
test al, al
je 0x1401f79b2
cmp r13, 4
jb 0x1401f7a86
mov rbx, qword [rsp + 0x68]
movzx eax, byte [r13 + rbx - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x1401f7a8f
movzx eax, byte [rbx + r13 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x1401f7a8f
movzx eax, byte [rbx + r13 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x1401f7a8f
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x1401f7a91
xor eax, eax
mov rbx, qword [rsp + 0x68]
jmp 0x1401f7a91
xor eax, eax
lea rcx, [rbx + r13]
mov qword [rsp + 0x70], rcx
xor ecx, ecx
nop dword [rax]
cmp r13, rcx
je 0x1401f7b24
movzx edx, byte [rbx + rcx]
cmp edx, 0x2f
je 0x1401f7ab6
inc rcx
cmp edx, 0x5c
jne 0x1401f7aa0
test al, al
je 0x1401f7bee
lea rcx, [rsp + 0x260]
mov rdx, rbx
mov r8, r13
call sym.std::sys::windows::to_u16s::inner::h36a8adcb91ede8d9
mov rcx, qword [rsp + 0x260]
mov rax, qword [rsp + 0x268]
test rcx, rcx
je 0x1401f7d45
mov rdx, qword [rsp + 0x270]
mov qword [rsp + 0x260], rcx
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x270], rdx
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x260]
call dbg.from_wide_to_user_path
jmp 0x1401f886b
xor r8d, r8d
lea rbp, str.nul_byte_found_in_provided_data
jmp 0x1401f7b3c
xor r8d, r8d
test cx, cx
je 0x1401f7930
mov cx, 1
test r8w, r8w
jne 0x1401f7b30
cmp rbx, qword [rsp + 0x70]
je 0x1401f7d91
movzx r8d, byte [rbx]
test r8b, r8b
js 0x1401f7b62
inc rbx
mov edx, r8d
jmp 0x1401f7bbe
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [rbx + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x1401f7bb4
movzx r9d, byte [rbx + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x1401f7bc8
movzx r8d, byte [rbx + 3]
add rbx, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
cmp edx, 0xffff
jbe 0x1401f7bbe
jmp 0x1401f7bda
add rbx, 2
shl edx, 6
or edx, r10d
xor r8d, r8d
mov ecx, edx
jmp 0x1401f7b33
add rbx, 3
shl edx, 0xc
or edx, r9d
cmp edx, 0xffff
jbe 0x1401f7bbe
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x1401f7b33
test r13, r13
js 0x1401fa81c
mov rax, qword [0x14037ba78]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r13
call sym.__rust_alloc
test rax, rax
je 0x1401fa740
mov rsi, rax
mov rcx, rax
mov rdx, rbx
mov r8, r13
call sym.memcpy
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r13
mov byte [rsp + 0x98], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x270], rax
movzx eax, byte [rsp + 0x98]
mov byte [rsp + 0x278], al
mov eax, dword [rsp + 0x99]
mov dword [rsp + 0x279], eax
movzx eax, word [rsp + 0x9d]
mov word [rsp + 0x27d], ax
movzx eax, byte [rsp + 0x9f]
mov byte [rsp + 0x27f], al
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x268], rax
lea rdx, [0x1403538c9]
lea rcx, [rsp + 0x260]
mov r8d, 4
call dbg.push_slice
movdqa xmm0, xmmword [rsp + 0x260]
movaps xmm1, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0x90], xmm1
movdqa xmmword [rsp + 0x80], xmm0
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
lea rcx, [rsp + 0x100]
mov rdx, rsi
mov r8, rdi
call dbg.program_exists
cmp qword [rsp + 0x100], 0
je 0x1401f7d5e
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xf0], rax
movdqu xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0xe0], xmm0
jmp 0x1401f8850
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xe0], 0
jmp 0x1401f886b
mov rcx, rsi
mov rdx, rdi
call sym.std::path::Path::file_name::ha7da384c2c7edd94
test rax, rax
je 0x1401f87dd
cmp rdx, 2
jne 0x1401f7de5
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x1401f7de5
mov r8d, 2
mov rcx, rax
jmp 0x1401f7e2c
cmp r13, 0xf
ja 0x1401f7e33
xor eax, eax
mov qword [rsp + 0xf8], rax
xor eax, eax
mov rcx, qword [rsp + 0x68]
nop dword [rax]
cmp byte [rcx + rax], 0x2e
je 0x1401f7e51
inc rax
cmp r13, rax
jne 0x1401f7db0
jmp 0x1401f7e5e
mov r12, qword [rsp + 0x78]
xor r14d, r14d
mov rdx, qword [rsp + 0x280]
test rdx, rdx
jne 0x1401f789b
jmp 0x1401f78ae
xor ecx, ecx
xor r11d, r11d
mov r8, rax
nop dword [rax]
cmp rdx, r11
je 0x1401f7e4c
mov r9, r11
lea r10, [r8 - 1]
inc r11
cmp byte [r8 + rdx - 1], 0x2e
mov r8, r10
jne 0x1401f7df0
mov r8, rdx
sub r8, r11
lea rcx, [r8 + 1]
cmp rcx, rdx
ja 0x1401fa857
mov rcx, rax
cmp rdx, r11
jne 0x1401f87aa
mov r8, rdx
xor eax, eax
jmp 0x1401f87b4
mov cl, 0x2e
mov rdx, qword [rsp + 0x68]
mov r8, r13
call sym.core::slice::memchr::memchr_aligned::h40c391ca1c04c47f
mov qword [rsp + 0xf8], rax
jmp 0x1401f7e5e
jmp 0x1401f87b4
mov eax, 1
mov qword [rsp + 0xf8], rax
test r14, r14
je 0x1401f7ead
add rdi, r14
mov qword [rsp + 0x100], r14
mov qword [rsp + 0x108], rdi
mov word [rsp + 0x110], 0
mov byte [rsp + 0x118], 1
lea rcx, [rsp + 0x260]
lea rdx, [rsp + 0x100]
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::ha8b5172aec59e1b9
movzx eax, byte [rsp + 0x278]
cmp al, 2
jne 0x1401f81cf
lea rcx, [rsp + 0x80]
call dbg.current_exe
cmp byte [rsp + 0x98], 2
jne 0x1401f7ed6
lea rcx, [rsp + 0x80]
call dbg.drop_in_place<core::result::Result<std::path::PathBuf, std::io::error::Error>>
jmp 0x1401f7fc2
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov rcx, rsi
mov rdx, rdi
call dbg.parent
cmp rdi, rdx
cmovb rdx, rdi
test rax, rax
cmove rdx, rdi
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x268], rbx
mov qword [rsp + 0x270], rdx
mov qword [rsp + 0x278], r14
lea rcx, [rsp + 0x260]
mov rdx, qword [rsp + 0x68]
mov r8, r13
call dbg._push
cmp qword [rsp + 0xf8], 1
je 0x1401f7f69
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x260]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h238aeea01354a32f
mov rsi, qword [rsp + 0x260]
mov r8, qword [rsp + 0x270]
lea rcx, [rsp + 0x100]
mov rdx, rsi
call dbg.program_exists
mov rdx, qword [rsp + 0x268]
test rdx, rdx
je 0x1401f7fa4
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x100]
test rcx, rcx
je 0x1401f7fc2
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x108]
jmp case.0x1401f56f0.182
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x180], 2
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x188], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov r12d, 0xffffffff
xor ebx, ebx
xor ebp, ebp
cmp r8, 0x201
jb 0x1401f801f
jmp 0x1401f8040
jae 0x1401f8106
cmp r8, 0x201
jae 0x1401f8040
mov edi, 0x200
lea rsi, [rsp + 0x260]
mov r15, r8
jmp 0x1401f809c
sub r8, rbp
sub rbx, rbp
cmp rbx, r8
mov rbx, qword [rsp + 0x60]
jae 0x1401f8075
lea rcx, [rsp + 0x180]
mov rdx, rbp
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h2bdf9a6d8105bb54
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x188]
cmp rbx, r12
mov ebp, 0xffffffff
cmovb rbp, rbx
mov qword [rsp + 0x190], rbp
mov rax, rbx
mov qword [rsp + 0x60], rbx
mov rdi, rbp
mov rsi, qword [rsp + 0x58]
mov r15, rbp
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, rsi
mov edx, r15d
call sub.kernel32.dll_GetSystemDirectoryW
mov r14d, eax
test eax, eax
jne 0x1401f80c2
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1401f82ff
mov r8d, r14d
cmp r15, r8
jne 0x1401f8010
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1401fa752
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov r12d, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x1401f8040
jmp 0x1401f801f
cmp rdi, r8
jb 0x1401fa840
lea rcx, [rsp + 0x80]
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
call dbg.from_wide
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x80]
mov r8, r13
call dbg._push
cmp qword [rsp + 0xf8], 1
je 0x1401f815e
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x80]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h238aeea01354a32f
mov rsi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
lea rcx, [rsp + 0x1c0]
mov rdx, rsi
call dbg.program_exists
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x1401f8199
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
movdqu xmm0, xmmword [rsp + 0x1c0]
movdqu xmmword [rsp + 0x108], xmm0
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x100], 0
mov sil, 1
jmp 0x1401f8327
lea r15, [rsp + 0x279]
lea rbp, [rsp + 0x99]
lea rsi, [rsp + 0x260]
lea rdi, [rsp + 0x100]
lea rbx, [rsp + 0x80]
jmp 0x1401f821b
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::ha8b5172aec59e1b9
movzx eax, byte [rsp + 0x278]
cmp al, 2
je 0x1401f7ead
mov rcx, qword [rsp + 0x260]
mov rdx, qword [rsp + 0x268]
mov r8, qword [rsp + 0x270]
test r8, r8
jne 0x1401f824a
test rdx, rdx
je 0x1401f8200
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1401f8200
mov r9d, dword [r15]
mov r10d, dword [r15 + 3]
mov dword [rbp + 3], r10d
mov dword [rbp], r9d
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], r8
mov byte [rsp + 0x98], al
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
mov r8, r13
call dbg._push
cmp qword [rsp + 0xf8], 1
je 0x1401f82a8
mov r8d, 3
mov rcx, rbx
lea rdx, str.exeNULexit_code:
call sym.std::path::PathBuf::_set_extension::h238aeea01354a32f
mov r14, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
mov rcx, rsi
mov rdx, r14
call dbg.program_exists
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x1401f82de
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
mov rax, qword [rsp + 0x260]
test rax, rax
jne 0x1401f946d
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::ha8b5172aec59e1b9
jmp 0x1401f820b
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x100], 1
xor esi, esi
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x1401f8342
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call sym.__rust_dealloc
test sil, sil
je 0x1401f836a
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x1401f836a
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x110]
mov r12, qword [rsp + 0x78]
jmp case.0x1401f56f0.182
lea rcx, [rsp + 0x100]
call dbg.drop_in_place<core::result::Result<core::option::Option<alloc::vec::Vec<u16, alloc::alloc::Global>>, std::io::error::Error>>
mov qword [rsp + 0x180], 2
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x188], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov ebx, 0xffffffff
xor r12d, r12d
xor ebp, ebp
cmp r8, 0x201
jb 0x1401f83cf
jmp 0x1401f83f0
jae 0x1401f84b4
cmp r8, 0x201
jae 0x1401f83f0
mov edi, 0x200
lea r14, [rsp + 0x260]
mov r15, r8
jmp 0x1401f844c
sub r8, rbp
sub r12, rbp
cmp r12, r8
mov r12, qword [rsp + 0x60]
jae 0x1401f8425
lea rcx, [rsp + 0x180]
mov rdx, rbp
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h2bdf9a6d8105bb54
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0x188]
cmp r12, rbx
mov ebp, 0xffffffff
cmovb rbp, r12
mov qword [rsp + 0x190], rbp
mov rax, r12
mov qword [rsp + 0x60], r12
mov rdi, rbp
mov r14, qword [rsp + 0x58]
mov r15, rbp
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, r14
mov edx, r15d
call sub.kernel32.dll_GetWindowsDirectoryW
mov esi, eax
test eax, eax
jne 0x1401f8471
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x1401f857a
mov r8d, esi
cmp r15, r8
jne 0x1401f83c0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1401fa76f
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov ebx, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x1401f83f0
jmp 0x1401f83cf
cmp rdi, r8
jb 0x1401fa865
lea rcx, [rsp + 0x80]
mov rdx, r14
call dbg.from_wide
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x80]
mov r8, r13
call dbg._push
cmp qword [rsp + 0xf8], 1
je 0x1401f850c
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x80]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h238aeea01354a32f
mov rdi, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
lea rcx, [rsp + 0x1c0]
mov rdx, rdi
call dbg.program_exists
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x1401f8547
mov r8d, 1
mov rcx, rdi
call sym.__rust_dealloc
movdqu xmm0, xmmword [rsp + 0x1c0]
movdqu xmmword [rsp + 0x108], xmm0
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x100], 0
mov sil, 1
jmp 0x1401f85a2
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x100], 1
xor esi, esi
mov r12, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1401f85bf
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x58]
call sym.__rust_dealloc
test sil, sil
je 0x1401f8603
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x1401f8603
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x110]
lea rcx, [rsp + 0x100]
call dbg.drop_in_place<core::result::Result<core::option::Option<alloc::vec::Vec<u16, alloc::alloc::Global>>, std::io::error::Error>>
lea rdx, str.PATHlibrary_std_src_sys_commonprocess.rs
lea rcx, [rsp + 0x1c0]
mov r8d, 4
call dbg._var_os
cmp byte [rsp + 0x1d8], 2
je 0x1401f93bc
mov rsi, qword [rsp + 0x1c0]
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1d0]
add rax, rsi
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], rax
mov word [rsp + 0x110], 0
mov byte [rsp + 0x118], 1
lea r15, [rsp + 0x279]
lea rdi, [rsp + 0x99]
lea rbx, [rsp + 0x260]
lea rbp, [rsp + 0x100]
jmp 0x1401f86ad
lea rax, [r10 + rdx]
inc rax
mov rdx, r9
test rcx, rcx
cmovne rax, rcx
test rax, rax
je 0x1401f87dd
test rcx, rcx
cmove r8, rdx
add rax, r8
sub rax, rsi
cmp rdi, rax
jb 0x1401f87dd
mov qword [rsp + 0x90], rax
mov rdi, rax
lea rcx, [rsp + 0x260]
mov rdx, rsi
mov r8, rdi
call sym.std::sys::windows::to_u16s::inner::h36a8adcb91ede8d9
mov rcx, qword [rsp + 0x260]
mov rax, qword [rsp + 0x268]
test rcx, rcx
je 0x1401f883c
mov rdx, qword [rsp + 0x270]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xe0], 0
movups xmm6, xmmword [rsp + 0x268]
jmp case.0x1401f56f0.182
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x100], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::h777c0ce01dc2e028]
mov qword [rsp + 0x108], rax
lea rax, str.comparing_environment_keys_failed:
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
lea rdx, str.P85_
lea rcx, [rsp + 0x80]
call dbg.panic_fmt
jmp 0x1401fa8b3
call dbg.capacity_overflow
jmp 0x1401fa8b3
mov ecx, 1
mov rdx, r15
call dbg.handle_alloc_error
jmp 0x1401fa8b3
call dbg.capacity_overflow
jmp 0x1401fa8b3
call dbg.capacity_overflow
jmp 0x1401fa8b3
mov ecx, 1
mov rdx, r15
call dbg.handle_alloc_error
jmp 0x1401fa8b3
mov ecx, 2
mov rdx, rdi
call dbg.handle_alloc_error
jmp 0x1401fa8b3
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x14034ee10]
mov edx, 0x21
call dbg.panic
jmp 0x1401fa8b3
mov ecx, 1
mov rdx, r13
call dbg.handle_alloc_error
jmp 0x1401fa8b3
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x1401fa8b3
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x1401fa8b3
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x80], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::h777c0ce01dc2e028]
mov qword [rsp + 0x88], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x268], 1
mov qword [rsp + 0x280], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x278], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x260]
call dbg.panic_fmt
jmp 0x1401fa8b3
call dbg.capacity_overflow
jmp 0x1401fa8b3
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call dbg.slice_end_index_len_fail
jmp 0x1401fa8b3
lea r8, [0x14034e1e0]
call dbg.slice_start_index_len_fail
jmp 0x1401fa8b3
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call dbg.slice_end_index_len_fail
jmp 0x1401fa8b3