Function at 0x140049be0
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 0x140049c39
test r9, r9
jne 0x140049c39
mov qword [rsp + 0x230], 0
xor r14d, r14d
jmp 0x14004a6d5
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x218], 0
test al, al
mov qword [rsp + 0x90], r12
jne 0x140049def
mov qword [rsp + 0x68], r9
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14004d2eb
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 0x140049dd5
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 0x140049cb0
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x140049cb0
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x140049cb0
mov rcx, qword [rsp + 0x110]
call fcn.140098aac
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 0x14004a4e7
mov rbp, rdx
cmp byte [rdx + 0x18], 2
jne 0x14004a0a0
mov rbx, qword [rsp + 0x208]
test rbx, rbx
je 0x140049e70
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 0x140049e70
mov rax, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
mov byte [rsp + 0x260], 0
test rdx, rdx
je 0x14004a253
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x140049fce
mov r8, rax
and r8, 7
je 0x140049f3b
xor r9d, r9d
nop
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140049f20
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x140049fce
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 0x140049f50
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 0x14004a291
mov rcx, rdx
jmp 0x14004a2c9
mov r14, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x28]
test rsi, rsi
je 0x14004a0d7
js 0x14004d24a
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x14004a0dc
jmp 0x14004d238
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 0x14004a140
cmp rdi, qword [rsp + 0x68]
ja 0x14004d254
mov r15, rdi
add r15, rdi
je 0x14004a140
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r15
call sym.__rust_alloc
test rax, rax
je 0x14004d270
mov r13, rax
jmp 0x14004a143
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 0x14004a1c0
js 0x14004d22e
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r14
call sym.__rust_alloc
mov r12, rax
test rax, rax
jne 0x14004a1c6
jmp 0x14004d25e
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 0x140049e70
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x140049e70
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x140049e70
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 0x14004a3e3
mov r8, qword [rsp + 0x2d0]
nop dword [rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x14004a2c4
inc r8
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x14004a2a0
jmp 0x14004a2c9
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 0x14004a481
test rsi, rsi
je 0x14004d282
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 0x140049e70
test r14, r14
je 0x14004a4a1
mov r8d, 1
mov rcx, r15
mov rdx, r14
call sym.__rust_dealloc
test r12, r12
je 0x14004a4bc
add r12, r12
mov r8d, 2
mov rcx, qword [rsp + 0x78]
mov rdx, r12
call sym.__rust_dealloc
cmp bpl, 2
je 0x140049e70
test rdi, rdi
je 0x140049e70
mov r8d, 1
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call sym.__rust_dealloc
jmp 0x140049e70
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 [0x1400c06a8]
movzx eax, byte [rax]
mov r13d, 4
mov ecx, 4
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x14004d29f
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 0x14004a6a1
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 0x14004a660
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 0x14004a620
cmp eax, 1
jne 0x14004a67c
jmp 0x14004a665
mov rbp, qword [rsp + 0x68]
sub r12, 1
jb 0x14004ab57
mov r14, qword [r14 + rbp*8 + 0x3d8]
jmp 0x14004a5f1
cmp eax, 2
jne 0x14004d19e
test r14, r14
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x78]
je 0x14004a6a1
mov r14, qword [r13 - 0x10]
mov rbx, qword [r13]
jmp 0x14004a6a4
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 0x14004a6d5
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 0x14004a739
mov rdx, qword [r12 + 0x30]
cmp r13, 4
jae 0x14004a6fa
lea rax, [dbg.is_sep_byte]
jmp 0x14004a722
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 0x14004a7bb
cmp r13, 4
jb 0x14004a826
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 0x14004a826
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 0x14004a826
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 0x14004a826
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x14004a828
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 0x14004a923
movzx r8d, byte [rdx + rcx]
cmp r8d, 0x5c
je 0x14004a85d
inc rcx
cmp r8d, 0x2f
jne 0x14004a840
test al, al
je 0x14004aa08
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 0x14004aadb
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 0x14004b602
xor r8d, r8d
lea rdi, str.nul_byte_found_in_provided_data
mov rax, rdx
jmp 0x14004a94c
xor r8d, r8d
test cx, cx
je 0x14004a739
mov cx, 1
test r8w, r8w
jne 0x14004a940
cmp rax, qword [rsp + 0x78]
je 0x14004ab26
movzx r8d, byte [rax]
test r8b, r8b
js 0x14004a972
inc rax
mov r11d, r8d
jmp 0x14004a9d3
mov r11d, r8d
and r11d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x14004a9c8
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x14004a9de
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 0x14004a9d3
jmp 0x14004a9f2
add rax, 2
shl r11d, 6
or r11d, r10d
xor r8d, r8d
mov ecx, r11d
jmp 0x14004a943
add rax, 3
shl r11d, 0xc
or r11d, r9d
cmp r11d, 0xffff
jbe 0x14004a9d3
and r11d, 0x3ff
or r11d, 0xdc00
mov r8d, r11d
jmp 0x14004a943
test r13, r13
js 0x14004d37b
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r13
call sym.__rust_alloc
test rax, rax
je 0x14004d29f
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, [0x1400a39b9]
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 0x14004aaf4
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x120], rax
movdqu xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x110], xmm0
jmp 0x14004b5ec
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x110], 0
jmp 0x14004b602
mov rcx, rsi
mov rdx, rdi
call sym.std::path::Path::file_name::h71b32dc5c53e842d
test rax, rax
je 0x14004b579
cmp rdx, 2
jne 0x14004ab6c
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x14004ab6c
mov r8d, 2
xor ecx, ecx
jmp 0x14004b559
cmp r13, 0xf
ja 0x14004abbf
xor eax, eax
mov qword [rsp + 0x80], rax
xor eax, eax
nop dword [rax]
cmp byte [rdx + rax], 0x2e
je 0x14004abdd
inc rax
cmp r13, rax
jne 0x14004ab40
jmp 0x14004abea
mov r12, qword [rsp + 0x90]
xor r14d, r14d
mov rsi, qword [rsp + 0x78]
jmp 0x14004a6a4
xor r11d, r11d
mov rcx, rax
nop word cs:[rax + rax]
cmp rdx, r11
je 0x14004abd3
mov r9, r11
lea r10, [rcx - 1]
inc r11
cmp byte [rcx + rdx - 1], 0x2e
mov rcx, r10
jne 0x14004ab80
mov r8, rdx
sub r8, r11
lea rcx, [r8 + 1]
cmp rcx, rdx
ja 0x14004d3b6
cmp rdx, r11
jne 0x14004b54f
xor ecx, ecx
mov r8, rdx
jmp 0x14004b559
mov cl, 0x2e
mov r8, r13
call sym.core::slice::memchr::memchr_aligned::he1f2d4bfbe74eb29
mov qword [rsp + 0x80], rax
jmp 0x14004abea
mov rcx, rax
xor eax, eax
jmp 0x14004b559
mov eax, 1
mov qword [rsp + 0x80], rax
test r14, r14
je 0x14004ac39
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 0x14004af60
lea rcx, [rsp + 0xa0]
call dbg.current_exe
cmp byte [rsp + 0xb8], 2
jne 0x14004ac62
lea rcx, [rsp + 0xa0]
call dbg.drop_in_place<std::io::error::Error>
jmp 0x14004ad4e
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 0x14004acf5
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 0x14004ad30
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x1a0]
test rcx, rcx
je 0x14004ad4e
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x1a8]
jmp 0x14004b37c
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 0x14004adaf
jmp 0x14004add0
jae 0x14004ae9c
cmp r8, 0x201
jae 0x14004add0
mov ebx, 0x200
lea rdi, [rsp + 0x270]
mov r15, r8
jmp 0x14004ae32
sub r8, rbp
sub rsi, rbp
cmp rsi, r8
mov rsi, qword [rsp + 0x60]
jae 0x14004ae08
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 0x14004ae58
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14004b08f
mov r8d, r14d
cmp r15, r8
jne 0x14004ada0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004d2b1
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov r12d, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x14004add0
jmp 0x14004adaf
cmp rbx, r8
jb 0x14004d39f
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 0x14004aeef
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 0x14004af2a
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 0x14004b0b2
lea r15, [rsp + 0x289]
lea rbp, [rsp + 0xb9]
lea rsi, [rsp + 0x270]
lea rdi, [rsp + 0x1a0]
lea rbx, [rsp + 0xa0]
jmp 0x14004afab
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 0x14004ac39
mov rcx, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x278]
mov r8, qword [rsp + 0x280]
test r8, r8
jne 0x14004afda
test rdx, rdx
je 0x14004af90
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14004af90
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 0x14004b038
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 0x14004b06e
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
mov rax, qword [rsp + 0x270]
test rax, rax
jne 0x14004c48b
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::hf640032e6ed0c51a
jmp 0x14004af9b
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 0x14004b0d2
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x88]
call sym.__rust_dealloc
test sil, sil
je 0x14004b0f2
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
mov r12, qword [rsp + 0x90]
jne 0x14004b370
jmp 0x14004b0ff
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 0x14004b15f
jmp 0x14004b180
jae 0x14004b24a
cmp r8, 0x201
jae 0x14004b180
mov ebx, 0x200
lea r14, [rsp + 0x270]
mov r15, r8
jmp 0x14004b1e2
sub r8, rbp
sub r12, rbp
cmp r12, r8
mov r12, qword [rsp + 0x60]
jae 0x14004b1b8
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 0x14004b207
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14004b313
mov r8d, edi
cmp r15, r8
jne 0x14004b150
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004d2ce
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov esi, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x14004b180
jmp 0x14004b15f
cmp rbx, r8
jb 0x14004d3c4
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 0x14004b2a5
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 0x14004b2e0
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 0x14004b33e
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 0x14004b35e
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 0x14004b3a2
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x14004b3af
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 0x14004c097
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 0x14004b579
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, rsi
sub ecx, esi
movups xmm6, xmmword [rsp + 0x278]
mov r13, rax
jmp 0x14004b37f
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._b9_n_
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._9_n_
lea rcx, [rsp + 0xa0]
call dbg.panic_fmt
jmp 0x14004d414
call dbg.capacity_overflow
jmp 0x14004d414
mov ecx, 1
mov rdx, rsi
call dbg.handle_alloc_error
jmp 0x14004d414
call dbg.capacity_overflow
jmp 0x14004d414
call dbg.capacity_overflow
jmp 0x14004d414
mov ecx, 1
mov rdx, r14
call dbg.handle_alloc_error
jmp 0x14004d414
mov ecx, 2
mov rdx, r15
call dbg.handle_alloc_error
jmp 0x14004d414
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x14009f6c8]
mov edx, 0x21
call dbg.panic
jmp 0x14004d414
mov ecx, 1
mov rdx, r13
call dbg.handle_alloc_error
jmp 0x14004d414
lea rcx, str.internal_error:_entered_unreachable_codex
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004d414
lea rcx, str.internal_error:_entered_unreachable_codex
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004d414
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 0x14004d414
call dbg.capacity_overflow
jmp 0x14004d414
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 0x14004d414
lea r8, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_src_sliceiter.rs
call dbg.slice_start_index_len_fail
jmp 0x14004d414
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 0x14004d414