Function at 0x1400497b0
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 0x140049809
test r9, r9
jne 0x140049809
mov qword [rsp + 0x230], 0
xor r14d, r14d
jmp 0x14004a2a5
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x218], 0
test al, al
mov qword [rsp + 0x90], r12
jne 0x1400499bf
mov qword [rsp + 0x68], r9
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14004cebb
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 0x1400499a5
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 0x140049880
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x140049880
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x140049880
mov rcx, qword [rsp + 0x110]
call fcn.14009867c
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 0x14004a0b7
mov rbp, rdx
cmp byte [rdx + 0x18], 2
jne 0x140049c70
mov rbx, qword [rsp + 0x208]
test rbx, rbx
je 0x140049a40
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 0x140049a40
mov rax, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
mov byte [rsp + 0x260], 0
test rdx, rdx
je 0x140049e23
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x140049b9e
mov r8, rax
and r8, 7
je 0x140049b0b
xor r9d, r9d
nop
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140049af0
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x140049b9e
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 0x140049b20
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 0x140049e61
mov rcx, rdx
jmp 0x140049e99
mov r14, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x28]
test rsi, rsi
je 0x140049ca7
js 0x14004ce1a
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 0x140049cac
jmp 0x14004ce08
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 0x140049d10
cmp rdi, qword [rsp + 0x68]
ja 0x14004ce24
mov r15, rdi
add r15, rdi
je 0x140049d10
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r15
call sym.__rust_alloc
test rax, rax
je 0x14004ce40
mov r13, rax
jmp 0x140049d13
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 0x140049d90
js 0x14004cdfe
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 0x140049d96
jmp 0x14004ce2e
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 0x140049a40
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x140049a40
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x140049a40
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 0x140049fb3
mov r8, qword [rsp + 0x2d0]
nop dword [rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x140049e94
inc r8
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140049e70
jmp 0x140049e99
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 0x14004a051
test rsi, rsi
je 0x14004ce52
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 0x140049a40
test r14, r14
je 0x14004a071
mov r8d, 1
mov rcx, r15
mov rdx, r14
call sym.__rust_dealloc
test r12, r12
je 0x14004a08c
add r12, r12
mov r8d, 2
mov rcx, qword [rsp + 0x78]
mov rdx, r12
call sym.__rust_dealloc
cmp bpl, 2
je 0x140049a40
test rdi, rdi
je 0x140049a40
mov r8d, 1
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call sym.__rust_dealloc
jmp 0x140049a40
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 0x14004ce6f
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 0x14004a271
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 0x14004a230
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 0x14004a1f0
cmp eax, 1
jne 0x14004a24c
jmp 0x14004a235
mov rbp, qword [rsp + 0x68]
sub r12, 1
jb 0x14004a727
mov r14, qword [r14 + rbp*8 + 0x3d8]
jmp 0x14004a1c1
cmp eax, 2
jne 0x14004cd6e
test r14, r14
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x78]
je 0x14004a271
mov r14, qword [r13 - 0x10]
mov rbx, qword [r13]
jmp 0x14004a274
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 0x14004a2a5
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 0x14004a309
mov rdx, qword [r12 + 0x30]
cmp r13, 4
jae 0x14004a2ca
lea rax, [dbg.is_sep_byte]
jmp 0x14004a2f2
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 0x14004a38b
cmp r13, 4
jb 0x14004a3f6
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 0x14004a3f6
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 0x14004a3f6
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 0x14004a3f6
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x14004a3f8
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 0x14004a4f3
movzx r8d, byte [rdx + rcx]
cmp r8d, 0x5c
je 0x14004a42d
inc rcx
cmp r8d, 0x2f
jne 0x14004a410
test al, al
je 0x14004a5d8
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 0x14004a6ab
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 0x14004b1d2
xor r8d, r8d
lea rdi, str.nul_byte_found_in_provided_data
mov rax, rdx
jmp 0x14004a51c
xor r8d, r8d
test cx, cx
je 0x14004a309
mov cx, 1
test r8w, r8w
jne 0x14004a510
cmp rax, qword [rsp + 0x78]
je 0x14004a6f6
movzx r8d, byte [rax]
test r8b, r8b
js 0x14004a542
inc rax
mov r11d, r8d
jmp 0x14004a5a3
mov r11d, r8d
and r11d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x14004a598
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x14004a5ae
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 0x14004a5a3
jmp 0x14004a5c2
add rax, 2
shl r11d, 6
or r11d, r10d
xor r8d, r8d
mov ecx, r11d
jmp 0x14004a513
add rax, 3
shl r11d, 0xc
or r11d, r9d
cmp r11d, 0xffff
jbe 0x14004a5a3
and r11d, 0x3ff
or r11d, 0xdc00
mov r8d, r11d
jmp 0x14004a513
test r13, r13
js 0x14004cf4b
mov rax, qword [0x1400c06a8]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r13
call sym.__rust_alloc
test rax, rax
je 0x14004ce6f
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, [0x1400a39c9]
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 0x14004a6c4
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x120], rax
movdqu xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x110], xmm0
jmp 0x14004b1bc
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x110], 0
jmp 0x14004b1d2
mov rcx, rsi
mov rdx, rdi
call sym.std::path::Path::file_name::h71b32dc5c53e842d
test rax, rax
je 0x14004b149
cmp rdx, 2
jne 0x14004a73c
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x14004a73c
mov r8d, 2
xor ecx, ecx
jmp 0x14004b129
cmp r13, 0xf
ja 0x14004a78f
xor eax, eax
mov qword [rsp + 0x80], rax
xor eax, eax
nop dword [rax]
cmp byte [rdx + rax], 0x2e
je 0x14004a7ad
inc rax
cmp r13, rax
jne 0x14004a710
jmp 0x14004a7ba
mov r12, qword [rsp + 0x90]
xor r14d, r14d
mov rsi, qword [rsp + 0x78]
jmp 0x14004a274
xor r11d, r11d
mov rcx, rax
nop word cs:[rax + rax]
cmp rdx, r11
je 0x14004a7a3
mov r9, r11
lea r10, [rcx - 1]
inc r11
cmp byte [rcx + rdx - 1], 0x2e
mov rcx, r10
jne 0x14004a750
mov r8, rdx
sub r8, r11
lea rcx, [r8 + 1]
cmp rcx, rdx
ja 0x14004cf86
cmp rdx, r11
jne 0x14004b11f
xor ecx, ecx
mov r8, rdx
jmp 0x14004b129
mov cl, 0x2e
mov r8, r13
call sym.core::slice::memchr::memchr_aligned::he1f2d4bfbe74eb29
mov qword [rsp + 0x80], rax
jmp 0x14004a7ba
mov rcx, rax
xor eax, eax
jmp 0x14004b129
mov eax, 1
mov qword [rsp + 0x80], rax
test r14, r14
je 0x14004a809
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 0x14004ab30
lea rcx, [rsp + 0xa0]
call dbg.current_exe
cmp byte [rsp + 0xb8], 2
jne 0x14004a832
lea rcx, [rsp + 0xa0]
call dbg.drop_in_place<std::io::error::Error>
jmp 0x14004a91e
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 0x14004a8c5
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 0x14004a900
mov r8d, 1
mov rcx, rsi
call sym.__rust_dealloc
mov rcx, qword [rsp + 0x1a0]
test rcx, rcx
je 0x14004a91e
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x1a8]
jmp 0x14004af4c
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 0x14004a97f
jmp 0x14004a9a0
jae 0x14004aa6c
cmp r8, 0x201
jae 0x14004a9a0
mov ebx, 0x200
lea rdi, [rsp + 0x270]
mov r15, r8
jmp 0x14004aa02
sub r8, rbp
sub rsi, rbp
cmp rsi, r8
mov rsi, qword [rsp + 0x60]
jae 0x14004a9d8
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 0x14004aa28
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14004ac5f
mov r8d, r14d
cmp r15, r8
jne 0x14004a970
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004ce81
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov r12d, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x14004a9a0
jmp 0x14004a97f
cmp rbx, r8
jb 0x14004cf6f
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 0x14004aabf
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 0x14004aafa
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 0x14004ac82
lea r15, [rsp + 0x289]
lea rbp, [rsp + 0xb9]
lea rsi, [rsp + 0x270]
lea rdi, [rsp + 0x1a0]
lea rbx, [rsp + 0xa0]
jmp 0x14004ab7b
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 0x14004a809
mov rcx, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x278]
mov r8, qword [rsp + 0x280]
test r8, r8
jne 0x14004abaa
test rdx, rdx
je 0x14004ab60
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14004ab60
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 0x14004ac08
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 0x14004ac3e
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
mov rax, qword [rsp + 0x270]
test rax, rax
jne 0x14004c05b
mov rcx, rsi
mov rdx, rdi
call sym.__std::sys::windows::os::SplitPaths_as_core::iter::traits::iterator::Iterator_::next::hf640032e6ed0c51a
jmp 0x14004ab6b
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 0x14004aca2
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x88]
call sym.__rust_dealloc
test sil, sil
je 0x14004acc2
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
mov r12, qword [rsp + 0x90]
jne 0x14004af40
jmp 0x14004accf
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 0x14004ad2f
jmp 0x14004ad50
jae 0x14004ae1a
cmp r8, 0x201
jae 0x14004ad50
mov ebx, 0x200
lea r14, [rsp + 0x270]
mov r15, r8
jmp 0x14004adb2
sub r8, rbp
sub r12, rbp
cmp r12, r8
mov r12, qword [rsp + 0x60]
jae 0x14004ad88
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 0x14004add7
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14004aee3
mov r8d, edi
cmp r15, r8
jne 0x14004ad20
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004ce9e
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov esi, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x14004ad50
jmp 0x14004ad2f
cmp rbx, r8
jb 0x14004cf94
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 0x14004ae75
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 0x14004aeb0
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 0x14004af0e
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 0x14004af2e
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x88]
and al, 0x88
add byte [rax], al
add al, ch
mov edi, ebx
invalid
test dil, dil
je 0x14004af72
mov rcx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x1a8]
call dbg.drop_in_place<std::io::error::Error>
lea rcx, [r10 + rdx]
inc rcx
mov rdx, r9
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x14004b149
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, rsi
sub ecx, esi
movups xmm6, xmmword [rsp + 0x278]
mov r13, rax
jmp 0x14004af4f
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.P9_n_
lea rcx, [rsp + 0xa0]
call dbg.panic_fmt
jmp 0x14004cfe4
call dbg.capacity_overflow
jmp 0x14004cfe4
mov ecx, 1
mov rdx, rsi
call dbg.handle_alloc_error
jmp 0x14004cfe4
call dbg.capacity_overflow
jmp 0x14004cfe4
call dbg.capacity_overflow
jmp 0x14004cfe4
mov ecx, 1
mov rdx, r14
call dbg.handle_alloc_error
jmp 0x14004cfe4
mov ecx, 2
mov rdx, r15
call dbg.handle_alloc_error
jmp 0x14004cfe4
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x14009f6d8]
mov edx, 0x21
call dbg.panic
jmp 0x14004cfe4
mov ecx, 1
mov rdx, r13
call dbg.handle_alloc_error
jmp 0x14004cfe4
lea rcx, [0x14009f840]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004cfe4
lea rcx, [0x14009f840]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x14004cfe4
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 0x14004cfe4
call dbg.capacity_overflow
jmp 0x14004cfe4
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 0x14004cfe4
lea r8, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_src_sliceiter.rs
call dbg.slice_start_index_len_fail
jmp 0x14004cfe4
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 0x14004cfe4