Function at 0x14004bcb0
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, 0x698
movdqa xmmword [rsp + 0x680], xmm6
mov qword [rsp + 0x248], r8
mov qword [rsp + 0x178], rcx
mov r10, qword [rdx + 0x60]
mov qword [rsp + 0x108], rdx
movzx eax, byte [rdx + 0x68]
test al, al
mov byte [rsp + 0x1d8], r9b
jne 0x14004bd11
test r10, r10
jne 0x14004bd11
mov qword [rsp + 0x250], 0
xor r14d, r14d
jmp 0x14004c7e2
mov qword [rsp + 0x1c0], 0
mov qword [rsp + 0x1d0], 0
test al, al
jne 0x14004be85
mov qword [rsp + 0x68], r10
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14004f6a8
mov qword [rsp + 0x190], rax
lea rdi, [rsp + 0x198]
mov qword [rsp + 0x198], rax
lea rsi, [rsp + 0x2a0]
lea rbp, [rsp + 0xa8]
lea rbx, [rsp + 0x280]
lea r14, [rsp + 0x1e0]
lea r15, [rsp + 0x110]
lea r12, [rsp + 0x1c0]
lea r13, [rsp + 0x90]
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::h6ce42efebcef5a4e
cmp byte [rsp + 0x298], 2
je 0x14004be73
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x290]
add rcx, rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rcx
mov word [rsp + 0x120], 0
mov rcx, r14
mov rdx, r15
call dbg.from_iter<u16, std::sys_common::wtf8::EncodeWide>
movups xmm0, xmmword [rsp + 0x280]
movups xmm1, xmmword [rsp + 0x290]
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp], xmm0
movdqu xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xa0], 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 + 0x128], 2
je 0x14004bda0
mov rdx, qword [rsp + 0x118]
test rdx, rdx
je 0x14004bda0
mov rcx, qword [rsp + 0x110]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14004bda0
mov rcx, qword [rsp + 0x190]
call fcn.1400bc894
mov r10, qword [rsp + 0x68]
movabs r8, 0x3ffffffffffffffe
mov rcx, qword [rsp + 0x108]
mov rax, qword [rcx + 0x50]
mov rcx, qword [rcx + 0x58]
xor edx, edx
test rax, rax
setne dl
cmove r10, rax
mov qword [rsp + 0x1e0], rdx
mov qword [rsp + 0x1e8], 0
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rcx
mov qword [rsp + 0x200], rdx
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x218], rcx
mov qword [rsp + 0x220], r10
lea r12, [rsp + 0x298]
lea r14, [rsp + 0x1e0]
mov r13, qword [0x1400ef008]
inc r8
mov qword [rsp + 0x68], r8
nop word [rax + 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 0x14004c5df
mov rsi, rdx
cmp byte [rdx + 0x18], 2
jne 0x14004c150
mov rsi, qword [rsp + 0x1c0]
test rsi, rsi
je 0x14004bf20
mov r9, qword [rbp]
mov rax, qword [rbp + 0x10]
mov rbp, qword [rsp + 0x1c8]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x190]
mov rdx, rsi
mov r8, rbp
call dbg.search_tree<alloc::collections::btree::node::marker::Mut, std::sys::windows::process::EnvKey, std::ffi::os_str::OsString, std::sys::windows::process::EnvKey>
cmp qword [rsp + 0x190], 0
jne 0x14004bf20
mov rax, qword [rsp + 0x198]
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1a8]
mov byte [rsp + 0x230], 0
test rdx, rdx
je 0x14004c308
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x14004c07e
mov r8, rax
and r8, 7
je 0x14004bfeb
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 0x14004bfd0
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x14004c07e
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 0x14004c000
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x230]
call sym._ZN5alloc11collections5btree6remove259__LT_impl_u20_alloc..collections..btree..node..Handle_LT_alloc..collections..btree..node
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rsp + 0x2c0]
movaps xmmword [rsp + 0x150], xmm0
movdqu xmm0, xmmword [rsp + 0x280]
movups xmm1, xmmword [rsp + 0x290]
movups xmm2, xmmword [rsp + 0x2a0]
movups xmm3, xmmword [rsp + 0x2b0]
movaps xmmword [rsp + 0x140], xmm3
movaps xmmword [rsp + 0x130], xmm2
movaps xmmword [rsp + 0x120], xmm1
movdqa xmmword [rsp + 0x110], xmm0
mov rdx, qword [rsp + 0x2d8]
mov rax, qword [rsp + 0x2e8]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x14004c346
mov rcx, rdx
jmp 0x14004c379
mov rdi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x28]
test r15, r15
je 0x14004c182
js 0x14004f607
movzx eax, byte [r13]
mov edx, 1
mov rcx, r15
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x14004c187
jmp 0x14004f5f5
mov ebx, 1
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call sym.memcpy
movzx eax, byte [rbp + 0x30]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0xa8], al
mov r15, qword [rbp]
mov rbx, qword [rbp + 0x10]
mov ebp, 2
test rbx, rbx
je 0x14004c200
cmp rbx, qword [rsp + 0x68]
ja 0x14004f611
mov rdi, rbx
add rdi, rbx
je 0x14004c200
movzx eax, byte [r13]
mov edx, 2
mov rcx, rdi
call sym.__rust_alloc
test rax, rax
je 0x14004f62d
mov rbp, rax
jmp 0x14004c202
xor edi, edi
mov rcx, rbp
mov rdx, r15
mov r8, rdi
call sym.memcpy
movdqu xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movdqu xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm1
mov qword [rsp + 0x280], rbp
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x290], rbx
mov rdi, qword [rsi]
mov r15, qword [rsi + 0x10]
test r15, r15
je 0x14004c276
js 0x14004f5eb
movzx eax, byte [r13]
mov edx, 1
mov rcx, r15
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x14004c27b
jmp 0x14004f61b
mov ebx, 1
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call sym.memcpy
movzx eax, byte [rsi + 0x18]
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r15
mov byte [rsp + 0xa8], al
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x1c0]
lea r8, [rsp + 0x280]
lea r9, [rsp + 0x90]
call dbg.insert<std::sys::windows::process::EnvKey, std::ffi::os_str::OsString, alloc::alloc::Global>
cmp byte [rsp + 0x128], 2
je 0x14004bf20
mov rdx, qword [rsp + 0x118]
test rdx, rdx
je 0x14004bf20
mov rcx, qword [rsp + 0x110]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14004bf20
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], rcx
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x230]
call sym._ZN5alloc11collections5btree6remove259__LT_impl_u20_alloc..collections..btree..node..Handle_LT_alloc..collections..btree..node
jmp 0x14004c493
mov r8, qword [rsp + 0x2e0]
nop
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x14004c374
movzx eax, word [rdx + 0x3d0]
inc r8
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x14004c350
jmp 0x14004c379
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rsp + 0xc0], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov r8, qword [rsp + 0x140]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rsp + 0x110]
movaps xmm1, xmmword [rsp + 0x120]
movaps xmm2, xmmword [rsp + 0x130]
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 + 0xc8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rsp + 0x148]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x2d0], rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x2c0], xmm0
movdqa xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x2b0], xmm3
movaps xmmword [rsp + 0x2a0], xmm2
movaps xmmword [rsp + 0x290], xmm1
movdqa xmmword [rsp + 0x280], xmm0
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0xe0], rax
movaps xmm0, xmmword [rsp + 0x2c0]
movaps xmmword [rsp + 0xd0], xmm0
movdqa xmm0, xmmword [rsp + 0x280]
movaps xmm1, xmmword [rsp + 0x290]
movaps xmm2, xmmword [rsp + 0x2a0]
movaps xmm3, xmmword [rsp + 0x2b0]
movaps xmmword [rsp + 0xc0], xmm3
movaps xmmword [rsp + 0xb0], xmm2
dec qword [rsp + 0x1d0]
movaps xmmword [rsp + 0xa0], xmm1
movdqa xmmword [rsp + 0x90], xmm0
cmp byte [rsp + 0x230], 0
je 0x14004c548
test rbp, rbp
je 0x14004f63f
mov rax, qword [rsi + 0x3d8]
mov qword [rsp + 0x1c0], rax
dec rbp
mov qword [rsp + 0x1c8], rbp
mov qword [rax + 0x160], 0
mov edx, 0x438
mov r8d, 8
mov rcx, rsi
call sym.__rust_dealloc
cmp byte [rsp + 0xc0], 2
je 0x14004bf20
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xd0]
movzx ebx, byte [rsp + 0xe0]
test rdx, rdx
je 0x14004c59e
mov rcx, qword [rsp + 0xa8]
mov r8d, 1
call sym.__rust_dealloc
test rbp, rbp
je 0x14004c5b7
add rbp, rbp
mov r8d, 2
mov rcx, rdi
mov rdx, rbp
call sym.__rust_dealloc
cmp bl, 2
je 0x14004bf20
test r15, r15
je 0x14004bf20
mov r8d, 1
mov rcx, rsi
mov rdx, r15
call sym.__rust_dealloc
jmp 0x14004bf20
movdqu xmm0, xmmword [rsp + 0x1c0]
movdqu xmmword [rsp + 0x258], xmm0
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x250], 1
movzx eax, byte [r13]
mov r13d, 4
mov ecx, 4
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x14004f65c
mov dword [rax], 0x48544150
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 4
mov qword [rsp + 0xa0], 4
mov byte [rsp + 0xa8], 0
mov rcx, rax
add rcx, 4
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rcx
mov word [rsp + 0x120], 0
lea rcx, [rsp + 0x1e0]
lea rdx, [rsp + 0x110]
call dbg.from_iter<u16, std::sys_common::wtf8::EncodeWide>
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x2a8], xmm1
movups xmmword [rsp + 0x298], xmm0
movdqu xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x280], xmm0
mov r14, qword [rsp + 0x1f0]
mov qword [rsp + 0x290], r14
mov rsi, qword [rsp + 0x280]
mov r12, qword [rsp + 0x258]
test r12, r12
je 0x14004c7a1
mov r13, qword [rsp + 0x260]
lea rcx, [r12 + 0x168]
movzx eax, word [r12 + 0x3d2]
mov qword [rsp + 0x68], rax
imul rbx, rax, 0x38
lea rbp, [r12 - 0x10]
mov r15, 0xffffffffffffffff
nop dword [rax]
test rbx, rbx
je 0x14004c760
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 0x14004c720
cmp eax, 1
jne 0x14004c77c
jmp 0x14004c765
mov r15, qword [rsp + 0x68]
sub r13, 1
jb 0x14004ccc8
mov r12, qword [r12 + r15*8 + 0x3d8]
jmp 0x14004c6f7
cmp eax, 2
jne 0x14004f55b
test r12, r12
je 0x14004c7a1
mov r14, qword [rbp - 0x10]
mov rdi, qword [rbp]
mov rdx, qword [rsp + 0x2a0]
test rdx, rdx
jne 0x14004c7b1
jmp 0x14004c7c4
xor r14d, r14d
mov rdx, qword [rsp + 0x2a0]
test rdx, rdx
je 0x14004c7c4
mov rcx, qword [rsp + 0x298]
mov r8d, 1
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x288]
test rdx, rdx
je 0x14004c7e2
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call sym.__rust_dealloc
mov rax, qword [rsp + 0x108]
mov r13, qword [rax + 0x40]
lea rbx, str.program_path_has_no_file_name
test r13, r13
je 0x14004c849
mov r12, qword [rax + 0x30]
cmp r13, 4
jae 0x14004c80d
lea rax, [dbg.is_sep_byte]
jmp 0x14004c837
mov eax, dword [r12]
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::hf21a0e587be5c3b3]
lea rax, [dbg.is_sep_byte]
cmove rax, rcx
movzx esi, byte [r13 + r12 - 1]
mov ecx, esi
call rax
test al, al
je 0x14004c8ce
cmp r13, 4
jb 0x14004c934
movzx eax, byte [r13 + r12 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x14004c934
movzx eax, byte [r12 + r13 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x14004c934
movzx eax, byte [r12 + r13 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x14004c934
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x14004c936
xor eax, eax
lea rcx, [r12 + r13]
mov qword [rsp + 0x68], rcx
xor ecx, ecx
nop word cs:[rax + rax]
cmp r13, rcx
je 0x14004ca31
movzx edx, byte [r12 + rcx]
cmp edx, 0x5c
je 0x14004c96b
inc rcx
cmp edx, 0x2f
jne 0x14004c950
test al, al
je 0x14004cafe
lea rcx, [rsp + 0x280]
mov rdx, r12
mov r8, r13
call sym.std::sys::windows::to_u16s::inner::h7e66ebc21fd40bcf
mov rcx, qword [rsp + 0x280]
mov rax, qword [rsp + 0x288]
test rcx, rcx
je 0x14004cc52
mov rdx, qword [rsp + 0x290]
mov qword [rsp + 0x280], rcx
mov qword [rsp + 0x288], rax
mov qword [rsp + 0x290], rdx
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x280]
call dbg.from_wide_to_user_path
jmp 0x14004d764
xor r8d, r8d
lea rbx, str.nul_byte_found_in_provided_data
mov rax, r12
jmp 0x14004ca4c
xor r8d, r8d
test cx, cx
je 0x14004c849
mov cx, 1
test r8w, r8w
jne 0x14004ca40
cmp rax, qword [rsp + 0x68]
je 0x14004cc98
movzx r8d, byte [rax]
test r8b, r8b
js 0x14004ca72
inc rax
mov edx, r8d
jmp 0x14004cace
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x14004cac4
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x14004cad8
movzx r8d, byte [rax + 3]
add rax, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
cmp edx, 0xffff
jbe 0x14004cace
jmp 0x14004caea
add rax, 2
shl edx, 6
or edx, r10d
xor r8d, r8d
mov ecx, edx
jmp 0x14004ca43
add rax, 3
shl edx, 0xc
or edx, r9d
cmp edx, 0xffff
jbe 0x14004cace
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x14004ca43
test r13, r13
js 0x14004f738
mov rax, qword [0x1400ef008]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r13
call sym.__rust_alloc
test rax, rax
je 0x14004f65c
mov rsi, rax
mov rcx, rax
mov rdx, r12
mov r8, r13
call sym.memcpy
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov byte [rsp + 0xa8], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x290], rax
movzx eax, byte [rsp + 0xa8]
mov byte [rsp + 0x298], al
mov eax, dword [rsp + 0xa9]
mov dword [rsp + 0x299], eax
movzx eax, word [rsp + 0xad]
mov word [rsp + 0x29d], ax
movzx eax, byte [rsp + 0xaf]
mov byte [rsp + 0x29f], al
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x288], rax
lea rdx, [0x1400c7bd1]
lea rcx, [rsp + 0x280]
mov r8d, 4
call dbg.push_slice
movdqa xmm0, xmmword [rsp + 0x280]
movaps xmm1, xmmword [rsp + 0x290]
movaps xmmword [rsp + 0xa0], xmm1
movdqa xmmword [rsp + 0x90], xmm0
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xa0]
lea rcx, [rsp + 0x110]
mov rdx, rsi
mov r8, rdi
call dbg.program_exists
cmp qword [rsp + 0x110], 0
je 0x14004cc65
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x80], rax
movdqu xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0x70], xmm0
jmp 0x14004d749
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0
jmp 0x14004d764
mov rcx, rsi
mov rdx, rdi
call sym.std::path::Path::file_name::h6bad9ef4892e0865
test rax, rax
je 0x14004d6df
cmp rdx, 2
jne 0x14004cce1
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x14004cce1
mov r8d, 2
mov rcx, rax
jmp 0x14004cd2c
cmp r13, 0xf
ja 0x14004cd33
xor eax, eax
mov qword [rsp + 0x100], rax
xor eax, eax
nop
cmp byte [r12 + rax], 0x2e
je 0x14004cd4f
inc rax
cmp r13, rax
jne 0x14004ccb0
jmp 0x14004cd5c
xor r14d, r14d
mov rdx, qword [rsp + 0x2a0]
test rdx, rdx
jne 0x14004c7b1
jmp 0x14004c7c4
xor ecx, ecx
xor r11d, r11d
mov r8, rax
nop dword [rax]
cmp rdx, r11
je 0x14004cd4a
mov r9, r11
lea r10, [r8 - 1]
inc r11
cmp byte [r8 + rdx - 1], 0x2e
mov r8, r10
jne 0x14004ccf0
mov r8, rdx
sub r8, r11
lea rcx, [r8 + 1]
cmp rcx, rdx
ja 0x14004f773
mov rcx, rax
cmp rdx, r11
jne 0x14004d6ac
mov r8, rdx
xor eax, eax
jmp 0x14004d6b6
mov cl, 0x2e
mov rdx, r12
mov r8, r13
call sym.core::slice::memchr::memchr_aligned::h5f5474ce61bf621a
mov qword [rsp + 0x100], rax
jmp 0x14004cd5c
jmp 0x14004d6b6
mov eax, 1
mov qword [rsp + 0x100], rax
test r14, r14
je 0x14004cdab
add rdi, r14
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], rdi
mov word [rsp + 0x120], 0
mov byte [rsp + 0x128], 1
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x110]
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::he6fa155f5e3efabd
movzx eax, byte [rsp + 0x298]
cmp al, 2
jne 0x14004d0d2
lea rcx, [rsp + 0x90]
call dbg.current_exe
cmp byte [rsp + 0xa8], 2
jne 0x14004cdd4
lea rcx, [rsp + 0x90]
call dbg.drop_in_place<core::result::Result<std::path::PathBuf, std::io::error::Error>>
jmp 0x14004cebe
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov rcx, rsi
mov rdx, rdi
call dbg.parent
cmp rdi, rdx
cmovb rdx, rdi
test rax, rax
cmove rdx, rdi
mov qword [rsp + 0x280], rsi
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x290], rdx
mov qword [rsp + 0x298], r14
lea rcx, [rsp + 0x280]
mov rdx, r12
mov r8, r13
call dbg._push
cmp qword [rsp + 0x100], 1
je 0x14004ce65
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x280]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h211984f9eb8dc1ea
mov rsi, qword [rsp + 0x280]
mov r8, qword [rsp + 0x290]
lea rcx, [rsp + 0x110]
mov rdx, rsi
call dbg.program_exists
mov rdx, qword [rsp + 0x288]
test rdx, rdx
je 0x14004cea0
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x14004cebe
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x118]
jmp 0x14004d4e1
mov qword [rsp + 0x170], r12
mov qword [rsp + 0x190], 2
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x198], 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 0x14004cf1f
jmp 0x14004cf40
jae 0x14004d006
cmp r8, 0x201
jae 0x14004cf40
mov edi, 0x200
lea rsi, [rsp + 0x280]
mov r15, r8
jmp 0x14004cf9c
sub r8, rbp
sub rbx, rbp
cmp rbx, r8
mov rbx, qword [rsp + 0x60]
jae 0x14004cf75
lea rcx, [rsp + 0x190]
mov rdx, rbp
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x198]
cmp rbx, r12
mov ebp, 0xffffffff
cmovb rbp, rbx
mov qword [rsp + 0x1a0], 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 0x14004cfc2
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14004d1fd
mov r8d, r14d
cmp r15, r8
jne 0x14004cf10
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004f66e
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov r12d, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x14004cf40
jmp 0x14004cf1f
cmp rdi, r8
jb 0x14004f75c
lea rcx, [rsp + 0x90]
mov rdx, rsi
mov rdi, qword [rsp + 0x60]
call dbg.from_wide
lea rcx, [rsp + 0x90]
mov rdx, qword [rsp + 0x170]
mov r8, r13
call dbg._push
cmp qword [rsp + 0x100], 1
je 0x14004d061
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x90]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h211984f9eb8dc1ea
mov rsi, qword [rsp + 0x90]
mov r8, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
mov rdx, rsi
call dbg.program_exists
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x14004d09c
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
movdqu xmm0, xmmword [rsp + 0x1e0]
movdqu xmmword [rsp + 0x118], xmm0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x110], 0
mov sil, 1
jmp 0x14004d225
lea r15, [rsp + 0x299]
lea rbp, [rsp + 0xa9]
lea rsi, [rsp + 0x280]
lea rdi, [rsp + 0x110]
lea rbx, [rsp + 0x90]
jmp 0x14004d11b
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::he6fa155f5e3efabd
movzx eax, byte [rsp + 0x298]
cmp al, 2
je 0x14004cdab
mov rcx, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x288]
mov r8, qword [rsp + 0x290]
test r8, r8
jne 0x14004d14a
test rdx, rdx
je 0x14004d100
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14004d100
mov r9d, dword [r15]
mov r10d, dword [r15 + 3]
mov dword [rbp + 3], r10d
mov dword [rbp], r9d
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], r8
mov byte [rsp + 0xa8], al
mov rcx, rbx
mov rdx, r12
mov r8, r13
call dbg._push
cmp qword [rsp + 0x100], 1
je 0x14004d1a6
mov r8d, 3
mov rcx, rbx
lea rdx, str.exeNULexit_code:
call sym.std::path::PathBuf::_set_extension::h211984f9eb8dc1ea
mov r14, qword [rsp + 0x90]
mov r8, qword [rsp + 0xa0]
mov rcx, rsi
mov rdx, r14
call dbg.program_exists
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x14004d1dc
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
mov rax, qword [rsp + 0x280]
test rax, rax
jne 0x14004e304
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::he6fa155f5e3efabd
jmp 0x14004d10b
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x110], 1
xor esi, esi
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x14004d240
add rdi, rdi
mov r8d, 2
mov rcx, qword [rsp + 0x58]
mov rdx, rdi
call sym.__rust_dealloc
test sil, sil
je 0x14004d26e
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x14004d26e
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x120]
mov r13, rcx
mov r12, qword [rsp + 0x170]
jmp 0x14004d4e4
lea rcx, [rsp + 0x110]
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 + 0x190], 2
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x198], 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 0x14004d2cf
jmp 0x14004d2f0
jae 0x14004d3b4
cmp r8, 0x201
jae 0x14004d2f0
mov edi, 0x200
lea r14, [rsp + 0x280]
mov r15, r8
jmp 0x14004d34c
sub r8, rbp
sub r12, rbp
cmp r12, r8
mov r12, qword [rsp + 0x60]
jae 0x14004d325
lea rcx, [rsp + 0x190]
mov rdx, rbp
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0x198]
cmp r12, rbx
mov ebp, 0xffffffff
cmovb rbp, r12
mov qword [rsp + 0x1a0], 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 0x14004d371
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14004d47b
mov r8d, esi
cmp r15, r8
jne 0x14004d2c0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004f68b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov ebx, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x14004d2f0
jmp 0x14004d2cf
cmp rdi, r8
jb 0x14004f781
lea rcx, [rsp + 0x90]
mov rdx, r14
call dbg.from_wide
mov r12, qword [rsp + 0x170]
lea rcx, [rsp + 0x90]
mov rdx, r12
mov r8, r13
call dbg._push
cmp qword [rsp + 0x100], 1
je 0x14004d40d
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x90]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h211984f9eb8dc1ea
mov rdi, qword [rsp + 0x90]
mov r8, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
mov rdx, rdi
call dbg.program_exists
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x14004d448
mov r8d, 1
mov rcx, rdi
call sym.__rust_dealloc
movdqu xmm0, xmmword [rsp + 0x1e0]
movdqu xmmword [rsp + 0x118], xmm0
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x110], 0
mov sil, 1
jmp 0x14004d4a6
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x110], 1
xor esi, esi
mov r12, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14004d4c3
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x58]
call sym.__rust_dealloc
test sil, sil
je 0x14004d507
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x14004d507
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x120]
mov r13, rcx
lea rcx, [rsp + 0x110]
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 + 0x1e0]
mov r8d, 4
call dbg._var_os
cmp byte [rsp + 0x1f8], 2
je 0x14004e25f
mov rsi, qword [rsp + 0x1e0]
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1f0]
add rax, rsi
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x118], rax
mov word [rsp + 0x120], 0
mov byte [rsp + 0x128], 1
lea r15, [rsp + 0x299]
lea rdi, [rsp + 0xa9]
lea rbx, [rsp + 0x280]
lea rbp, [rsp + 0x110]
jmp 0x14004d5b1
lea rax, [r10 + rdx]
inc rax
mov rdx, r9
test rcx, rcx
cmovne rax, rcx
test rax, rax
je 0x14004d6df
test rcx, rcx
cmove r8, rdx
add rax, r8
sub rax, rsi
cmp rdi, rax
jb 0x14004d6df
mov qword [rsp + 0xa0], rax
mov rdi, rax
lea rcx, [rsp + 0x280]
mov rdx, rsi
mov r8, rdi
call sym.std::sys::windows::to_u16s::inner::h7e66ebc21fd40bcf
mov rcx, qword [rsp + 0x280]
mov rax, qword [rsp + 0x288]
test rcx, rcx
je 0x14004d73b
mov rdx, qword [rsp + 0x290]
mov qword [rsp + 0x280], rcx
mov qword [rsp + 0x288], rax
mov qword [rsp + 0x290], rdx
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x280]
call dbg.from_wide_to_user_path
jmp 0x14004d749
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], 0
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x14004d764
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
test r13, r13
je 0x14004c849
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x60], rbx
cmp r8, 5
jb case.0x14004dade.68
movups xmm6, xmmword [rsp + 0x288]
mov r13, rax
jmp 0x14004d4e4
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x110], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hb9d4a1ba898b0a77]
mov qword [rsp + 0x118], rax
lea rax, str.comparing_environment_keys_failed:
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], 1
mov qword [rsp + 0xb0], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 1
lea rdx, str.library_std_src_syswindowsprocess.rs
lea rcx, [rsp + 0x90]
call dbg.panic_fmt
jmp 0x14004f7cf
call dbg.capacity_overflow
jmp 0x14004f7cf
mov ecx, 1
mov rdx, r15
call dbg.handle_alloc_error
jmp 0x14004f7cf
call dbg.capacity_overflow
jmp 0x14004f7cf
call dbg.capacity_overflow
jmp 0x14004f7cf
mov ecx, 1
mov rdx, r15
call dbg.handle_alloc_error
jmp 0x14004f7cf
mov ecx, 2
mov rdx, rdi
call dbg.handle_alloc_error
jmp 0x14004f7cf
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x1400c3148]
mov edx, 0x21
call dbg.panic
jmp 0x14004f7cf
mov ecx, 1
mov rdx, r13
call dbg.handle_alloc_error
jmp 0x14004f7cf
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004f7cf
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004f7cf
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x90], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hb9d4a1ba898b0a77]
mov qword [rsp + 0x98], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x288], 1
mov qword [rsp + 0x2a0], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x298], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x280]
call dbg.panic_fmt
jmp 0x14004f7cf
call dbg.capacity_overflow
jmp 0x14004f7cf
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 0x14004f7cf
lea r8, str.p__f_
call dbg.slice_start_index_len_fail
jmp 0x14004f7cf
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 0x14004f7cf