Function at 0x140047060
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, 0x688
movdqa xmmword [rsp + 0x670], xmm6
mov byte [rsp + 0x198], r9b
mov qword [rsp + 0x200], r8
mov r12, rdx
mov qword [rsp + 0x58], rcx
movzx eax, byte [rdx + 0x68]
mov r9, qword [rdx + 0x60]
test al, al
jne 0x1400470b9
test r9, r9
jne 0x1400470b9
mov qword [rsp + 0x230], 0
xor r14d, r14d
jmp 0x140047b55
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x218], 0
test al, al
mov qword [rsp + 0x90], r12
jne 0x14004726f
mov qword [rsp + 0x68], r9
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14004a76b
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rax
lea rdi, [rsp + 0x270]
lea rbx, [rsp + 0x130]
lea r14, [rsp + 0x150]
lea r12, [rsp + 0x1a0]
nop word cs:[rax + rax]
mov rcx, rdi
lea rdx, [rsp + 0x118]
call sym.__std::sys::windows::os::EnvIterator_as_core::iter::traits::iterator::Iterator_::next::h768889cf7ae5212c
cmp byte [rsp + 0x288], 2
je 0x140047255
mov r15, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x278]
movdqu xmm6, xmmword [rsp + 0x280]
mov rbp, qword [rsp + 0x290]
mov r13, qword [rsp + 0x298]
mov rax, qword [rsp + 0x280]
add rax, r15
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x158], rax
mov word [rsp + 0x160], 0
mov rcx, rbx
mov rdx, r14
call dbg.from_iter<u16, std::sys_common::wtf8::EncodeWide>
mov qword [rsp + 0x1b8], r15
mov qword [rsp + 0x1c0], rsi
movdqu xmmword [rsp + 0x1c8], xmm6
movups xmm0, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x1a0], xmm0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x150], rbp
mov qword [rsp + 0x158], r13
lea rax, [rsp + 0x2a0]
movdqu xmm0, xmmword [rax]
lea rax, [rsp + 0x160]
movdqu xmmword [rax], xmm0
mov rcx, rbx
lea rdx, [rsp + 0x208]
mov r8, r12
mov r9, r14
call dbg.insert<std::sys::windows::process::EnvKey, std::ffi::os_str::OsString, alloc::alloc::Global>
cmp byte [rsp + 0x148], 2
je 0x140047130
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x140047130
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x140047130
mov rcx, qword [rsp + 0x110]
call fcn.140095f2c
mov r12, qword [rsp + 0x90]
mov r9, qword [rsp + 0x68]
movabs r8, 0x3ffffffffffffffe
mov rax, qword [r12 + 0x50]
mov rcx, qword [r12 + 0x58]
xor edx, edx
test rax, rax
setne dl
cmove r9, rax
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rcx
mov qword [rsp + 0x190], r9
inc r8
mov qword [rsp + 0x68], r8
nop word [rax + rax]
lea rcx, [rsp + 0x150]
call dbg.next<std::sys::windows::process::EnvKey, core::option::Option<std::ffi::os_str::OsString>>
mov rdi, rax
test rax, rax
je 0x140047967
mov rbp, rdx
cmp byte [rdx + 0x18], 2
jne 0x140047520
mov rbx, qword [rsp + 0x208]
test rbx, rbx
je 0x1400472f0
mov r9, qword [rdi]
mov rax, qword [rdi + 0x10]
mov rsi, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x130]
mov rdx, rbx
mov r8, rsi
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 + 0x130], 0
jne 0x1400472f0
mov rax, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
mov byte [rsp + 0x260], 0
test rdx, rdx
je 0x1400476d3
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x14004744e
mov r8, rax
and r8, 7
je 0x1400473bb
xor r9d, r9d
nop
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x1400473a0
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x14004744e
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 0x1400473d0
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x110]
lea r8, [rsp + 0x260]
call sym._ZN5alloc11collections5btree6remove259__LT_impl_u20_alloc..collections..btree..node..Handle_LT_alloc..collections..btree..node
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x1f0], rax
movups xmm0, xmmword [rsp + 0x2b0]
movaps xmmword [rsp + 0x1e0], xmm0
movdqu xmm0, xmmword [rsp + 0x270]
movups xmm1, xmmword [rsp + 0x280]
movups xmm2, xmmword [rsp + 0x290]
movups xmm3, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x1d0], xmm3
movaps xmmword [rsp + 0x1c0], xmm2
movaps xmmword [rsp + 0x1b0], xmm1
movdqa xmmword [rsp + 0x1a0], xmm0
mov rdx, qword [rsp + 0x2c8]
mov rax, qword [rsp + 0x2d8]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x140047711
mov rcx, rdx
jmp 0x140047749
mov r14, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x28]
test rsi, rsi
je 0x140047557
js 0x14004a6ca
mov rax, qword [0x1400bd288]
movzx eax, byte [rax]
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x14004755c
jmp 0x14004a6b8
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rsi
call sym.memcpy
movzx r12d, byte [rdi + 0x30]
mov r14, qword [rdi]
mov rdi, qword [rdi + 0x10]
mov r13d, 2
test rdi, rdi
je 0x1400475c0
cmp rdi, qword [rsp + 0x68]
ja 0x14004a6d4
mov r15, rdi
add r15, rdi
je 0x1400475c0
mov rax, qword [0x1400bd288]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r15
call sym.__rust_alloc
test rax, rax
je 0x14004a6f0
mov r13, rax
jmp 0x1400475c3
xor r15d, r15d
mov rcx, r13
mov rdx, r14
mov r8, r15
call sym.memcpy
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x290], rsi
mov qword [rsp + 0x298], rsi
mov byte [rsp + 0x2a0], r12b
mov qword [rsp + 0x270], r13
mov qword [rsp + 0x278], rdi
mov qword [rsp + 0x280], rdi
mov r15, qword [rbp]
mov r14, qword [rbp + 0x10]
test r14, r14
je 0x140047640
js 0x14004a6ae
mov rax, qword [0x1400bd288]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r14
call sym.__rust_alloc
mov r12, rax
test rax, rax
jne 0x140047646
jmp 0x14004a6de
mov r12d, 1
mov rcx, r12
mov rdx, r15
mov r8, r14
call sym.memcpy
movzx eax, byte [rbp + 0x18]
mov qword [rsp + 0x1a0], r12
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x1b0], r14
mov byte [rsp + 0x1b8], al
lea rcx, [rsp + 0x130]
lea rdx, [rsp + 0x208]
lea r8, [rsp + 0x270]
lea r9, [rsp + 0x1a0]
call dbg.insert<std::sys::windows::process::EnvKey, std::ffi::os_str::OsString, alloc::alloc::Global>
cmp byte [rsp + 0x148], 2
je 0x1400472f0
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x1400472f0
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1400472f0
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1a8], 0
mov qword [rsp + 0x1b0], rcx
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x1a0]
lea r8, [rsp + 0x260]
call sym._ZN5alloc11collections5btree6remove259__LT_impl_u20_alloc..collections..btree..node..Handle_LT_alloc..collections..btree..node
jmp 0x140047863
mov r8, qword [rsp + 0x2d0]
nop dword [rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x140047744
inc r8
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140047720
jmp 0x140047749
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rsp + 0xd0], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov r8, qword [rsp + 0x1d0]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rsp + 0x1a0]
movaps xmm1, xmmword [rsp + 0x1b0]
movaps xmm2, xmmword [rsp + 0x1c0]
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 + 0xd8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rsp + 0x1d8]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x2c0], rax
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x2b0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movaps xmm2, xmmword [rsp + 0xc0]
movaps xmm3, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x2a0], xmm3
movaps xmmword [rsp + 0x290], xmm2
movaps xmmword [rsp + 0x280], xmm1
movdqa xmmword [rsp + 0x270], xmm0
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x78], rax
mov r12, qword [rsp + 0x278]
mov r15, qword [rsp + 0x288]
mov r14, qword [rsp + 0x290]
movzx r13d, byte [rsp + 0x2a0]
mov rax, qword [rsp + 0x2a8]
mov qword [rsp + 0x60], rax
dec qword [rsp + 0x218]
mov rdi, qword [rsp + 0x2b0]
movzx ebp, byte [rsp + 0x2c0]
cmp byte [rsp + 0x260], 0
je 0x140047901
test rsi, rsi
je 0x14004a702
mov rax, qword [rbx + 0x3d8]
mov qword [rsp + 0x208], rax
dec rsi
mov qword [rsp + 0x210], rsi
mov qword [rax + 0x160], 0
mov edx, 0x438
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
cmp r13b, 2
je 0x1400472f0
test r14, r14
je 0x140047921
mov r8d, 1
mov rcx, r15
mov rdx, r14
call sym.__rust_dealloc
test r12, r12
je 0x14004793c
add r12, r12
mov r8d, 2
mov rcx, qword [rsp + 0x78]
mov rdx, r12
call sym.__rust_dealloc
cmp bpl, 2
je 0x1400472f0
test rdi, rdi
je 0x1400472f0
mov r8d, 1
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call sym.__rust_dealloc
jmp 0x1400472f0
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
mov rax, qword [0x1400bd288]
movzx eax, byte [rax]
mov r13d, 4
mov ecx, 4
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x14004a71f
mov rsi, rax
mov dword [rax], 0x48544150
add rax, 4
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rax
mov word [rsp + 0xb0], 0
lea rcx, [rsp + 0x1a0]
lea rdx, [rsp + 0xa0]
call dbg.from_iter<u16, std::sys_common::wtf8::EncodeWide>
mov r12, qword [rsp + 0x90]
mov qword [rsp + 0x288], rsi
mov qword [rsp + 0x290], 4
mov qword [rsp + 0x298], 4
mov byte [rsp + 0x2a0], 0
movdqu xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x270], xmm0
mov r15, qword [rsp + 0x1b0]
mov qword [rsp + 0x280], r15
mov rdi, qword [rsp + 0x270]
mov r14, qword [rsp + 0x238]
test r14, r14
je 0x140047b21
mov qword [rsp + 0x78], rsi
mov r12, qword [rsp + 0x240]
lea rcx, [r14 + 0x168]
movzx eax, word [r14 + 0x3d2]
lea r13, [r14 - 0x10]
mov qword [rsp + 0x68], rax
imul rsi, rax, 0x38
mov rbp, 0xffffffffffffffff
nop word cs:[rax + rax]
test rsi, rsi
je 0x140047ae0
lea rbx, [rcx + 0x38]
mov r8, qword [rcx]
mov r9d, dword [rcx + 0x10]
mov dword [rsp + 0x20], 1
mov rcx, rdi
mov edx, r15d
call sub.KERNEL32.dll_CompareStringOrdinal
add r13, 0x20
inc rbp
add rsi, 0xffffffffffffffc8
mov rcx, rbx
cmp eax, 3
je 0x140047aa0
cmp eax, 1
jne 0x140047afc
jmp 0x140047ae5
mov rbp, qword [rsp + 0x68]
sub r12, 1
jb 0x140047fd7
mov r14, qword [r14 + rbp*8 + 0x3d8]
jmp 0x140047a71
cmp eax, 2
jne 0x14004a61e
test r14, r14
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x78]
je 0x140047b21
mov r14, qword [r13 - 0x10]
mov rbx, qword [r13]
jmp 0x140047b24
xor r14d, r14d
mov edx, 4
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
mov rdx, qword [rsp + 0x278]
test rdx, rdx
je 0x140047b55
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call sym.__rust_dealloc
mov r13, qword [r12 + 0x40]
lea rdi, str.program_path_has_no_file_name
test r13, r13
je 0x140047bb9
mov rdx, qword [r12 + 0x30]
cmp r13, 4
jae 0x140047b7a
lea rax, [dbg.is_sep_byte]
jmp 0x140047ba2
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::h2c1b2781ea62292b]
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 0x140047c3b
cmp r13, 4
jb 0x140047ca6
mov rdx, qword [rsp + 0x68]
movzx eax, byte [r13 + rdx - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x140047ca6
movzx eax, byte [rdx + r13 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x140047ca6
movzx eax, byte [rdx + r13 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x140047ca6
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x140047ca8
xor eax, eax
mov rdx, qword [rsp + 0x68]
lea rcx, [rdx + r13]
mov qword [rsp + 0x78], rcx
xor ecx, ecx
nop dword [rax + rax]
cmp r13, rcx
je 0x140047da3
movzx r8d, byte [rdx + rcx]
cmp r8d, 0x5c
je 0x140047cdd
inc rcx
cmp r8d, 0x2f
jne 0x140047cc0
test al, al
je 0x140047e88
lea rcx, [rsp + 0x270]
mov r8, r13
call sym.std::sys::windows::to_u16s::inner::h58f418a16c5682ec
mov rcx, qword [rsp + 0x270]
mov rax, qword [rsp + 0x278]
test rcx, rcx
je 0x140047f5b
mov rdx, qword [rsp + 0x280]
mov qword [rsp + 0x270], rcx
mov qword [rsp + 0x278], rax
mov qword [rsp + 0x280], rdx
lea rcx, [rsp + 0x110]
lea rdx, [rsp + 0x270]
call dbg.from_wide_to_user_path
jmp 0x140048a82
xor r8d, r8d
lea rdi, str.nul_byte_found_in_provided_data
mov rax, rdx
jmp 0x140047dcc
xor r8d, r8d
test cx, cx
je 0x140047bb9
mov cx, 1
test r8w, r8w
jne 0x140047dc0
cmp rax, qword [rsp + 0x78]
je 0x140047fa6
movzx r8d, byte [rax]
test r8b, r8b
js 0x140047df2
inc rax
mov r11d, r8d
jmp 0x140047e53
mov r11d, r8d
and r11d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x140047e48
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x140047e5e
movzx r8d, byte [rax + 3]
add rax, 4
and r11d, 7
shl r11d, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or r11d, r8d
cmp r11d, 0xffff
jbe 0x140047e53
jmp 0x140047e72
add rax, 2
shl r11d, 6
or r11d, r10d
xor r8d, r8d
mov ecx, r11d
jmp 0x140047dc3
add rax, 3
shl r11d, 0xc
or r11d, r9d
cmp r11d, 0xffff
jbe 0x140047e53
and r11d, 0x3ff
or r11d, 0xdc00
mov r8d, r11d
jmp 0x140047dc3
test r13, r13
js 0x14004a7fb
mov rax, qword [0x1400bd288]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r13
call sym.__rust_alloc
test rax, rax
je 0x14004a71f
mov rsi, rax
mov rcx, rax
mov rdx, qword [rsp + 0x68]
mov r8, r13
call sym.memcpy
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x278], r13
mov qword [rsp + 0x280], r13
mov byte [rsp + 0x288], 0
lea rdx, [0x1400a0599]
lea rcx, [rsp + 0x270]
mov r8d, 4
call dbg.push_slice
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x280]
lea rcx, [rsp + 0xa0]
mov rdx, rsi
mov r8, rdi
call dbg.program_exists
cmp qword [rsp + 0xa0], 0
je 0x140047f74
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x120], rax
movdqu xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x110], xmm0
jmp 0x140048a6c
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x110], 0
jmp 0x140048a82
mov rcx, rsi
mov rdx, rdi
call sym.std::path::Path::file_name::h71b32dc5c53e842d
test rax, rax
je 0x1400489f9
cmp rdx, 2
jne 0x140047fec
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x140047fec
mov r8d, 2
xor ecx, ecx
jmp 0x1400489d9
cmp r13, 0xf
ja 0x14004803f
xor eax, eax
mov qword [rsp + 0x80], rax
xor eax, eax
nop dword [rax]
cmp byte [rdx + rax], 0x2e
je 0x14004805d
inc rax
cmp r13, rax
jne 0x140047fc0
jmp 0x14004806a
mov r12, qword [rsp + 0x90]
xor r14d, r14d
mov rsi, qword [rsp + 0x78]
jmp 0x140047b24
xor r11d, r11d
mov rcx, rax
nop word cs:[rax + rax]
cmp rdx, r11
je 0x140048053
mov r9, r11
lea r10, [rcx - 1]
inc r11
cmp byte [rcx + rdx - 1], 0x2e
mov rcx, r10
jne 0x140048000
mov r8, rdx
sub r8, r11
lea rcx, [r8 + 1]
cmp rcx, rdx
ja 0x14004a836
cmp rdx, r11
jne 0x1400489cf
xor ecx, ecx
mov r8, rdx
jmp 0x1400489d9
mov cl, 0x2e
mov r8, r13
call sym.core::slice::memchr::memchr_aligned::he1f2d4bfbe74eb29
mov qword [rsp + 0x80], rax
jmp 0x14004806a
mov rcx, rax
xor eax, eax
jmp 0x1400489d9
mov eax, 1
mov qword [rsp + 0x80], rax
test r14, r14
je 0x1400480b9
add rbx, r14
mov qword [rsp + 0x1a0], r14
mov qword [rsp + 0x1a8], rbx
mov word [rsp + 0x1b0], 0
mov byte [rsp + 0x1b8], 1
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x1a0]
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::hf640032e6ed0c51a
movzx eax, byte [rsp + 0x288]
cmp al, 2
jne 0x1400483e0
lea rcx, [rsp + 0xa0]
call dbg.current_exe
cmp byte [rsp + 0xb8], 2
jne 0x1400480e2
lea rcx, [rsp + 0xa0]
call dbg.drop_in_place<std::io::error::Error>
jmp 0x1400481ce
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
mov rcx, rdi
mov rdx, rbx
call dbg.parent
cmp rbx, rdx
cmovb rdx, rbx
test rax, rax
cmove rdx, rbx
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x278], rsi
mov qword [rsp + 0x280], rdx
mov qword [rsp + 0x288], r14
lea rcx, [rsp + 0x270]
mov rdx, qword [rsp + 0x68]
mov r8, r13
call dbg._push
cmp qword [rsp + 0x80], 1
je 0x140048175
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x270]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h1064df2a2b63a4fe
mov rsi, qword [rsp + 0x270]
mov r8, qword [rsp + 0x280]
lea rcx, [rsp + 0x1a0]
mov rdx, rsi
call dbg.program_exists
mov rdx, qword [rsp + 0x278]
test rdx, rdx
je 0x1400481b0
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x1a0]
test rcx, rcx
je 0x1400481ce
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x1a8]
jmp 0x1400487fc
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x130], 2
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x138], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x88], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov r12d, 0xffffffff
xor esi, esi
xor ebp, ebp
cmp r8, 0x201
jb 0x14004822f
jmp 0x140048250
jae 0x14004831c
cmp r8, 0x201
jae 0x140048250
mov ebx, 0x200
lea rdi, [rsp + 0x270]
mov r15, r8
jmp 0x1400482b2
sub r8, rbp
sub rsi, rbp
cmp rsi, r8
mov rsi, qword [rsp + 0x60]
jae 0x140048288
lea rcx, [rsp + 0x130]
mov rdx, rbp
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x88], rax
mov rsi, qword [rsp + 0x138]
cmp rsi, r12
mov ebp, 0xffffffff
cmovb rbp, rsi
mov qword [rsp + 0x140], rbp
mov rax, rsi
mov qword [rsp + 0x60], rsi
mov rbx, rbp
mov rdi, qword [rsp + 0x88]
mov r15, rbp
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov edx, r15d
call sub.KERNEL32.dll_GetSystemDirectoryW
mov r14d, eax
test eax, eax
jne 0x1400482d8
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14004850f
mov r8d, r14d
cmp r15, r8
jne 0x140048220
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004a731
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov r12d, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x140048250
jmp 0x14004822f
cmp rbx, r8
jb 0x14004a81f
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call dbg.from_wide
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov r8, r13
call dbg._push
cmp qword [rsp + 0x80], 1
je 0x14004836f
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0xa0]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h1064df2a2b63a4fe
mov rdi, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x150]
mov rdx, rdi
call dbg.program_exists
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x1400483aa
mov r8d, 1
mov rcx, rdi
call sym.__rust_dealloc
movdqu xmm0, xmmword [rsp + 0x150]
movdqu xmmword [rsp + 0x1a8], xmm0
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1a0], 0
mov sil, 1
jmp 0x140048532
lea r15, [rsp + 0x289]
lea rbp, [rsp + 0xb9]
lea rsi, [rsp + 0x270]
lea rdi, [rsp + 0x1a0]
lea rbx, [rsp + 0xa0]
jmp 0x14004842b
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::hf640032e6ed0c51a
movzx eax, byte [rsp + 0x288]
cmp al, 2
je 0x1400480b9
mov rcx, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x278]
mov r8, qword [rsp + 0x280]
test r8, r8
jne 0x14004845a
test rdx, rdx
je 0x140048410
mov r8d, 1
call sym.__rust_dealloc
jmp 0x140048410
mov r9d, dword [r15]
mov r10d, dword [r15 + 3]
mov dword [rbp + 3], r10d
mov dword [rbp], r9d
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], r8
mov byte [rsp + 0xb8], al
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
mov r8, r13
call dbg._push
cmp qword [rsp + 0x80], 1
je 0x1400484b8
mov r8d, 3
mov rcx, rbx
lea rdx, str.exeNULexit_code:
call sym.std::path::PathBuf::_set_extension::h1064df2a2b63a4fe
mov r14, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
mov rcx, rsi
mov rdx, r14
call dbg.program_exists
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x1400484ee
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
mov rax, qword [rsp + 0x270]
test rax, rax
jne 0x14004990b
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::hf640032e6ed0c51a
jmp 0x14004841b
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1a0], 1
xor esi, esi
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x140048552
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x88]
call sym.__rust_dealloc
test sil, sil
je 0x140048572
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
mov r12, qword [rsp + 0x90]
jne 0x1400487f0
jmp 0x14004857f
lea rcx, [rsp + 0x1a8]
call dbg.drop_in_place<std::io::error::Error>
mov qword [rsp + 0x130], 2
pxor xmm0, xmm0
movdqu xmmword [rsp + 0x138], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x88], rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov esi, 0xffffffff
xor r12d, r12d
xor ebp, ebp
cmp r8, 0x201
jb 0x1400485df
jmp 0x140048600
jae 0x1400486ca
cmp r8, 0x201
jae 0x140048600
mov ebx, 0x200
lea r14, [rsp + 0x270]
mov r15, r8
jmp 0x140048662
sub r8, rbp
sub r12, rbp
cmp r12, r8
mov r12, qword [rsp + 0x60]
jae 0x140048638
lea rcx, [rsp + 0x130]
mov rdx, rbp
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x88], rax
mov r12, qword [rsp + 0x138]
cmp r12, rsi
mov ebp, 0xffffffff
cmovb rbp, r12
mov qword [rsp + 0x140], rbp
mov rax, r12
mov qword [rsp + 0x60], r12
mov rbx, rbp
mov r14, qword [rsp + 0x88]
mov r15, rbp
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r14
mov edx, r15d
call sub.KERNEL32.dll_GetWindowsDirectoryW
mov edi, eax
test eax, eax
jne 0x140048687
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140048793
mov r8d, edi
cmp r15, r8
jne 0x1400485d0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004a74e
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov esi, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x140048600
jmp 0x1400485df
cmp rbx, r8
jb 0x14004a844
lea rcx, [rsp + 0xa0]
mov rdx, r14
call dbg.from_wide
mov r12, qword [rsp + 0x90]
lea rcx, [rsp + 0xa0]
mov rdx, qword [rsp + 0x68]
mov r8, r13
call dbg._push
cmp qword [rsp + 0x80], 1
je 0x140048725
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0xa0]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h1064df2a2b63a4fe
mov rbx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x150]
mov rdx, rbx
call dbg.program_exists
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x140048760
mov r8d, 1
mov rcx, rbx
call sym.__rust_dealloc
movdqu xmm0, xmmword [rsp + 0x150]
movdqu xmmword [rsp + 0x1a8], xmm0
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1a0], 0
mov dil, 1
jmp 0x1400487be
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1a0], 1
xor edi, edi
mov r12, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x1400487de
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x88]
and al, 0x88
add byte [rax], al
add al, ch
invalid
invalid
sti
invalid
test dil, dil
je 0x140048822
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x14004882f
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x1b0]
mov r13, rcx
lea rcx, [rsp + 0x1a8]
call dbg.drop_in_place<std::io::error::Error>
lea rdx, str.PATHlibrary_std_src_sys_commonprocess.rs
lea rcx, [rsp + 0x150]
mov r8d, 4
call dbg._var_os
cmp byte [rsp + 0x168], 2
je 0x140049517
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x160]
add rax, rcx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x1a0], rcx
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x1a8], eax
lea rcx, [r10 + rdx]
inc rcx
mov rdx, r9
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x1400489f9
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, rsi
sub ecx, esi
movups xmm6, xmmword [rsp + 0x278]
mov r13, rax
jmp 0x1400487ff
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x1a0], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf61a9982636bd69d]
mov qword [rsp + 0x1a8], rax
lea rax, str.comparing_environment_keys_failed:
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], 1
mov qword [rsp + 0xc0], 0
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 1
lea rdx, str.library_std_src_syswindowsprocess.rs
lea rcx, [rsp + 0xa0]
call dbg.panic_fmt
jmp 0x14004a894
call dbg.capacity_overflow
jmp 0x14004a894
mov ecx, 1
mov rdx, rsi
call dbg.handle_alloc_error
jmp 0x14004a894
call dbg.capacity_overflow
jmp 0x14004a894
call dbg.capacity_overflow
jmp 0x14004a894
mov ecx, 1
mov rdx, r14
call dbg.handle_alloc_error
jmp 0x14004a894
mov ecx, 2
mov rdx, r15
call dbg.handle_alloc_error
jmp 0x14004a894
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x14009c2a8]
mov edx, 0x21
call dbg.panic
jmp 0x14004a894
mov ecx, 1
mov rdx, r13
call dbg.handle_alloc_error
jmp 0x14004a894
lea rcx, str.internal_error:_entered_unreachable_codeX
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004a894
lea rcx, str.internal_error:_entered_unreachable_codeX
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004a894
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x1a0], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::hf61a9982636bd69d]
mov qword [rsp + 0x1a8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x278], 1
mov qword [rsp + 0x290], 0
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x288], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x270]
call dbg.panic_fmt
jmp 0x14004a894
call dbg.capacity_overflow
jmp 0x14004a894
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call dbg.slice_end_index_len_fail
jmp 0x14004a894
lea r8, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_src_sliceiter.rs
call dbg.slice_start_index_len_fail
jmp 0x14004a894
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call dbg.slice_end_index_len_fail
jmp 0x14004a894