Function at 0x140038800
Capabilities:
Create process on windows
Encrypt data using speck
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, 0x658
movdqa xmmword [rsp + 0x640], xmm6
mov qword [rsp + 0x1d0], r8
mov r15, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0xa0]
mov rbp, qword [rdx + 0x98]
test al, al
jne 0x140038860
test rbp, rbp
jne 0x140038860
mov qword [rsp + 0x1f0], 0
xor eax, eax
mov qword [rsp + 0x80], rax
xor ebp, ebp
jmp 0x140039542
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x140], 0
test al, al
mov qword [rsp + 0xa8], r15
jne 0x140038ab6
mov qword [rsp + 0x80], rbp
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14003bfd3
lea rdi, [rsp + 0x170]
lea r14, [rsp + 0x230]
mov qword [rsp + 0x58], rax
mov r15, rax
nop word cs:[rax + rax]
cmp word [r15], 0
je 0x140038a9c
mov r13, r15
mov rcx, 0xfffffffffffffffe
xor edx, edx
nop word [rax + rax]
mov rbx, rdx
mov rax, rcx
inc rdx
add rcx, 2
cmp word [r13 + rbx*2], 0
jne 0x1400388e0
lea r15, [rdx*2]
add r15, r13
cmp rbx, 1
je 0x1400388c0
test rbx, rbx
je 0x14003bf3e
xor ebp, ebp
nop word cs:[rax + rax]
cmp word [r13 + rbp*2 + 2], 0x3d
je 0x140038940
inc rbp
add rax, 0xfffffffffffffffe
jne 0x140038920
jmp 0x1400388c0
lea r8, [rbp + 1]
cmp rbp, rbx
jae 0x14003bf56
mov rcx, rdi
mov rdx, r13
call fcn.140019800
add rbp, 2
mov r8, rbx
sub r8, rbp
jb 0x14003bf70
lea rdx, [rbp*2]
add rdx, r13
mov rcx, r14
call fcn.140019800
mov rsi, qword [rsp + 0x170]
mov r13, qword [rsp + 0x178]
movdqu xmm6, xmmword [rsp + 0x180]
mov rbp, qword [rsp + 0x230]
mov rbx, qword [rsp + 0x238]
lea rax, [rsp + 0x250]
movups xmm0, xmmword [rax - 0x10]
movaps xmmword [rsp + 0x150], xmm0
movabs rax, 0x8000000000000000
cmp rsi, rax
je 0x140038a9c
movq rax, xmm6
add rax, r13
mov qword [rsp + 0x170], r13
mov qword [rsp + 0x178], rax
mov word [rsp + 0x180], 0
lea r12, [rsp + 0x88]
mov rcx, r12
mov rdx, rdi
call fcn.14003c870
mov qword [rsp + 0x230], rsi
mov qword [rsp + 0x238], r13
movdqu xmmword [rsp + 0x240], xmm6
mov rax, qword [rsp + 0x98]
lea rcx, [rsp + 0x250]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rcx], xmm0
mov qword [rsp + 0x170], rbp
mov qword [rsp + 0x178], rbx
movaps xmm0, xmmword [rsp + 0x150]
lea rax, [rsp + 0x180]
movups xmmword [rax], xmm0
mov rcx, r12
lea rdx, [rsp + 0x130]
mov r8, r14
mov r9, rdi
call fcn.14003ca80
mov rax, qword [rsp + 0x88]
shl rax, 1
test rax, rax
je 0x1400388c0
mov rcx, qword [rsp + 0x90]
mov edx, 1
call fcn.1400052d0
jmp 0x1400388c0
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_FreeEnvironmentStringsW
mov r15, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0x80]
movabs rcx, 0x3ffffffffffffffe
mov rax, qword [r15 + 0x88]
mov rsi, qword [r15 + 0x90]
xor r13d, r13d
test rax, rax
setne r13b
cmove rbp, rax
xor r15d, r15d
inc rcx
mov qword [rsp + 0x68], rcx
jmp 0x140038af2
xor eax, eax
test rbp, rbp
je 0x14003935e
test r13, r13
je 0x140038b50
test r15, r15
jne 0x140038b50
mov r13d, 1
test rsi, rsi
je 0x140038b5a
mov rdx, rsi
and rdx, 7
je 0x140038b5f
mov rcx, rsi
and rcx, 0xfffffffffffffff8
mov r15, rax
nop word cs:[rax + rax]
mov r15, qword [r15 + 0x3d8]
dec rdx
jne 0x140038b30
cmp rsi, 8
jae 0x140038b70
jmp 0x140038bae
test r13, r13
jne 0x140038bb2
jmp 0x14003becd
mov r15, rax
jmp 0x140038bae
mov r15, rax
mov rcx, rsi
cmp rsi, 8
jb 0x140038bae
nop dword [rax + rax]
mov rax, qword [r15 + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov r15, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140038b70
xor esi, esi
xor eax, eax
movzx ecx, word [r15 + 0x3d2]
mov r14, r15
mov r12, rsi
cmp rsi, rcx
jb 0x140038bf8
nop word cs:[rax + rax]
mov rcx, qword [r14 + 0x160]
test rcx, rcx
je 0x14003b9aa
inc rax
movzx r12d, word [r14 + 0x3d0]
mov r14, rcx
cmp r12w, word [rcx + 0x3d2]
jae 0x140038bd0
test rax, rax
je 0x140038c90
mov r15, qword [r14 + r12*8 + 0x3e0]
mov rcx, rax
dec rcx
je 0x140038c7e
mov rdx, rcx
and rdx, 7
je 0x140038c35
mov rcx, rdx
nop dword [rax]
mov r15, qword [r15 + 0x3d8]
dec rcx
jne 0x140038c20
not rdx
add rdx, rax
mov rcx, rdx
add rax, 0xfffffffffffffffe
cmp rax, 7
jb 0x140038c7e
nop
mov rax, qword [r15 + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov rax, qword [rax + 0x3d8]
mov r15, qword [rax + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140038c40
xor esi, esi
jmp 0x140038c98
lea rsi, [r12 + 1]
mov r15, r14
dec rbp
imul rax, r12, 0x38
lea rbx, [r14 + rax]
add rbx, 0x168
shl r12, 5
movabs rax, 0x8000000000000000
cmp qword [r14 + r12], rax
jne 0x140038d30
mov rdi, qword [rsp + 0x130]
mov eax, 0
test rdi, rdi
je 0x140038af2
mov r12, rsi
mov rsi, r13
mov r13, rbp
mov r9, qword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov rbp, qword [rsp + 0x138]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x88]
mov rdx, rdi
mov r8, rbp
call fcn.14003de30
cmp qword [rsp + 0x88], 0
je 0x140038efd
xor eax, eax
mov rbp, r13
mov r13, rsi
mov rsi, r12
jmp 0x140038af2
mov qword [rsp + 0x78], rsi
mov rsi, qword [rbx + 8]
mov rdi, qword [rbx + 0x10]
test rdi, rdi
mov qword [rsp + 0x80], rbp
je 0x140038d6e
js 0x14003bf34
movzx eax, byte [0x1402b4128]
mov edx, 1
mov rcx, rdi
call fcn.140005290
test rax, rax
jne 0x140038d73
jmp 0x14003bf22
mov eax, 1
mov qword [rsp + 0x58], rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call sub.msvcrt.dll_memcpy
movzx eax, byte [rbx + 0x18]
mov byte [rsp + 0x60], al
mov rsi, qword [rbx + 0x28]
mov rbp, qword [rbx + 0x30]
test rbp, rbp
mov qword [rsp + 0x70], r13
je 0x140038dd5
cmp rbp, qword [rsp + 0x68]
ja 0x14003befc
lea r13, [rbp*2]
movzx eax, byte [0x1402b4128]
mov edx, 2
mov rcx, r13
call fcn.140005290
test rax, rax
je 0x14003beea
mov rbx, rax
jmp 0x140038ddd
mov ebx, 2
xor r13d, r13d
add r14, r12
mov rcx, rbx
mov rdx, rsi
mov r8, r13
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x230], rdi
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x240], rdi
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x248], al
mov qword [rsp + 0x250], rbp
mov qword [rsp + 0x258], rbx
mov qword [rsp + 0x260], rbp
mov r13, qword [r14 + 8]
mov rsi, qword [r14 + 0x10]
test rsi, rsi
je 0x140038e63
js 0x14003bf18
movzx eax, byte [0x1402b4128]
mov edx, 1
mov rcx, rsi
call fcn.140005290
mov r12, rax
test rax, rax
jne 0x140038e69
jmp 0x14003bf06
mov r12d, 1
mov rcx, r12
mov rdx, r13
mov r8, rsi
call sub.msvcrt.dll_memcpy
movzx eax, byte [r14 + 0x18]
mov qword [rsp + 0x170], rsi
mov qword [rsp + 0x178], r12
mov qword [rsp + 0x180], rsi
mov byte [rsp + 0x188], al
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x130]
lea r8, [rsp + 0x230]
lea r9, [rsp + 0x170]
call fcn.14003ca80
mov rax, qword [rsp + 0x88]
shl rax, 1
test rax, rax
mov rbp, qword [rsp + 0x80]
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
je 0x140038af0
mov rcx, qword [rsp + 0x90]
mov edx, 1
call fcn.1400052d0
jmp 0x140038af0
mov rax, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
mov byte [rsp + 0x210], 0
test rdx, rdx
je 0x1400390c2
mov rax, qword [rax + rcx*8 + 0x3d8]
mov rcx, rdx
dec rcx
je 0x140038ffe
mov r8, rcx
and r8, 7
je 0x140038f6e
mov rcx, r8
nop word cs:[rax + rax]
movzx r9d, word [rax + 0x3d2]
mov rax, qword [rax + r9*8 + 0x3d8]
dec rcx
jne 0x140038f50
not r8
add r8, rdx
mov rcx, r8
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x140038ffe
nop dword [rax]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
movzx edx, word [rax + 0x3d2]
mov rax, qword [rax + rdx*8 + 0x3d8]
add rcx, 0xfffffffffffffff8
jne 0x140038f80
movzx ecx, word [rax + 0x3d2]
dec rcx
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x160], rcx
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x150]
lea r8, [rsp + 0x210]
call fcn.14003df80
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x1c0], rax
movups xmm0, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [rsp + 0x230]
movups xmm1, xmmword [rsp + 0x240]
movups xmm2, xmmword [rsp + 0x250]
movups xmm3, xmmword [rsp + 0x260]
movaps xmmword [rsp + 0x1a0], xmm3
movaps xmmword [rsp + 0x190], xmm2
movaps xmmword [rsp + 0x180], xmm1
movaps xmmword [rsp + 0x170], xmm0
mov rdx, qword [rsp + 0x288]
mov rax, qword [rsp + 0x298]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x140039100
mov rcx, rdx
jmp 0x140039139
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], rcx
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x170]
lea r8, [rsp + 0x210]
call fcn.14003df80
jmp 0x140039251
mov r8, qword [rsp + 0x290]
nop dword [rax + rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x140039134
inc r8
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140039110
jmp 0x140039139
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rsp + 0xf0], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov r8, qword [rsp + 0x1a0]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rsp + 0x170]
movaps xmm1, xmmword [rsp + 0x180]
movaps xmm2, xmmword [rsp + 0x190]
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 + 0xf8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rsp + 0x1a8]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x280], rax
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x270], xmm0
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movaps xmm2, xmmword [rsp + 0xe0]
movaps xmm3, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x260], xmm3
movaps xmmword [rsp + 0x250], xmm2
movaps xmmword [rsp + 0x240], xmm1
movaps xmmword [rsp + 0x230], xmm0
mov rbx, qword [rsp + 0x230]
mov r14, qword [rsp + 0x238]
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0x78], rax
dec qword [rsp + 0x140]
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0xb0], rax
cmp byte [rsp + 0x210], 0
je 0x1400392e5
test rbp, rbp
je 0x14003bf87
mov rax, qword [rdi + 0x3d8]
mov qword [rsp + 0x130], rax
dec rbp
mov qword [rsp + 0x138], rbp
mov qword [rax + 0x160], 0
mov edx, 8
mov rcx, rdi
call fcn.1400052d0
mov eax, 0
movabs rcx, 0x8000000000000000
cmp rbx, rcx
mov rbp, r13
mov r13, rsi
mov rsi, r12
je 0x140038af2
test rbx, rbx
je 0x140039318
mov edx, 1
mov rcx, r14
call fcn.1400052d0
cmp qword [rsp + 0x58], 0
je 0x14003932f
mov edx, 2
mov rcx, qword [rsp + 0x78]
call fcn.1400052d0
mov rcx, qword [rsp + 0x60]
shl rcx, 1
mov eax, 0
test rcx, rcx
je 0x140038af2
mov edx, 1
mov rcx, qword [rsp + 0xb0]
call fcn.1400052d0
xor eax, eax
jmp 0x140038af2
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x208], rax
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rsp + 0x1f8], xmm0
mov qword [rsp + 0x1f0], 1
movzx eax, byte [0x1402b4128]
mov r12d, 4
mov ecx, 4
mov edx, 1
call fcn.140005290
test rax, rax
je 0x14003bfa4
mov rsi, rax
mov dword [rax], 0x48544150
add rax, 4
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rax
mov word [rsp + 0xd0], 0
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0xc0]
call fcn.14003c870
mov qword [rsp + 0x230], 4
mov qword [rsp + 0x238], rsi
mov qword [rsp + 0x240], 4
mov byte [rsp + 0x248], 0
movups xmm0, xmmword [rsp + 0x170]
movups xmmword [rsp + 0x250], xmm0
mov r15, qword [rsp + 0x180]
mov qword [rsp + 0x260], r15
mov rdi, qword [rsp + 0x258]
mov r14, qword [rsp + 0x1f8]
test r14, r14
mov qword [rsp + 0x58], rsi
je 0x140039500
mov r12, qword [rsp + 0x200]
lea rcx, [r14 + 0x168]
movzx r13d, word [r14 + 0x3d2]
imul rbx, r13, 0x38
mov rbp, 0xffffffffffffffff
nop word cs:[rax + rax]
test rbx, rbx
je 0x1400394c0
lea rsi, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rdi
mov edx, r15d
call sub.KERNEL32.dll_CompareStringOrdinal
inc rbp
add rbx, 0xffffffffffffffc8
mov rcx, rsi
cmp eax, 3
je 0x140039480
cmp eax, 1
jne 0x1400394d7
jmp 0x1400394c3
mov rbp, r13
sub r12, 1
jb 0x140039915
mov r14, qword [r14 + rbp*8 + 0x3d8]
jmp 0x140039459
cmp eax, 2
jne 0x14003be3d
test r14, r14
mov r15, qword [rsp + 0xa8]
je 0x14003950c
shl rbp, 5
mov rax, qword [r14 + rbp + 8]
mov rbx, qword [r14 + rbp + 0x10]
mov rbp, rax
jmp 0x14003950e
xor ebp, ebp
mov r15, qword [rsp + 0xa8]
jmp 0x14003950e
xor ebp, ebp
mov eax, 1
mov qword [rsp + 0x80], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.1400052d0
cmp qword [rsp + 0x250], 0
je 0x140039542
mov edx, 2
mov rcx, rdi
call fcn.1400052d0
mov r12, qword [r15 + 0x10]
lea rdi, str.program_path_has_no_file_name
test r12, r12
je 0x140039f05
mov rdx, qword [r15 + 8]
cmp r12, 4
jae 0x140039569
lea rax, [0x14003e4c0]
jmp 0x140039591
mov eax, dword [rdx]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x14003e4b0]
lea rax, [0x14003e4c0]
cmove rax, rcx
mov qword [rsp + 0x60], rdx
movzx esi, byte [r12 + rdx - 1]
mov ecx, esi
call rax
test al, al
jne 0x140039f05
cmp r12, 4
jb 0x140039613
mov r14, qword [rsp + 0x60]
movzx eax, byte [r12 + r14 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x14003961c
movzx eax, byte [r14 + r12 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x14003961c
movzx eax, byte [r14 + r12 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x14003961c
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x14003961e
xor eax, eax
mov r14, qword [rsp + 0x60]
jmp 0x14003961e
xor eax, eax
movabs r13, 0x8000000000000000
lea rcx, [r14 + r12]
mov qword [rsp + 0x58], rcx
xor ecx, ecx
nop word cs:[rax + rax]
cmp r12, rcx
je 0x1400396a0
movzx edx, byte [r14 + rcx]
cmp edx, 0x5c
je 0x140039657
inc rcx
cmp edx, 0x2f
jne 0x140039640
test al, al
je 0x140039770
lea rcx, [rsp + 0x230]
mov rdx, r14
mov r8, r12
call fcn.140017b40
mov rcx, qword [rsp + 0x230]
mov rax, qword [rsp + 0x238]
cmp rcx, r13
jne 0x140039851
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x130], r13
jmp 0x140039eec
xor r8d, r8d
lea rdi, str.nul_byte_found_in_provided_data
mov rax, r14
jmp 0x1400396bc
xor r8d, r8d
test cx, cx
je 0x140039f05
mov cx, 1
test r8w, r8w
jne 0x1400396b0
cmp rax, qword [rsp + 0x58]
je 0x1400398b0
movzx edx, byte [rax]
test dl, dl
js 0x1400396dd
inc rax
jmp 0x14003973c
mov r8d, edx
and r8d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp dl, 0xdf
jbe 0x14003972e
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp dl, 0xf0
jb 0x140039746
movzx edx, byte [rax + 3]
add rax, 4
and r8d, 7
shl r8d, 0x12
shl r9d, 6
and edx, 0x3f
or edx, r9d
or edx, r8d
cmp edx, 0xffff
jbe 0x14003973c
jmp 0x14003975c
add rax, 2
shl r8d, 6
or r8d, r10d
mov edx, r8d
xor r8d, r8d
mov ecx, edx
jmp 0x1400396b3
add rax, 3
shl r8d, 0xc
or r9d, r8d
mov edx, r9d
cmp edx, 0xffff
jbe 0x14003973c
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x1400396b3
test r12, r12
js 0x14003c080
movzx eax, byte [0x1402b4128]
mov edx, 1
mov rcx, r12
call fcn.140005290
test rax, rax
je 0x14003bfa4
mov rsi, rax
mov rcx, rax
mov rdx, r14
mov r8, r12
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x230], r12
mov qword [rsp + 0x238], rsi
mov qword [rsp + 0x240], r12
mov byte [rsp + 0x248], 0
lea rdx, str..exeprogram_not_found
lea rcx, [rsp + 0x230]
mov r8d, 4
call fcn.140035330
mov rbx, qword [rsp + 0x230]
mov rsi, qword [rsp + 0x238]
mov rdi, qword [rsp + 0x240]
lea rcx, [rsp + 0xc0]
mov rdx, rsi
mov r8, rdi
call fcn.14003e5a0
cmp qword [rsp + 0xc0], r13
jne 0x14003988b
mov rcx, rsi
mov rdx, rdi
call fcn.140037e50
test rax, rax
je 0x140039e6b
cmp rdx, 2
jne 0x1400398d1
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x1400398d1
mov r8d, 2
xor r9d, r9d
jmp 0x140039e4b
mov rdx, qword [rsp + 0x240]
mov qword [rsp + 0x230], rcx
mov qword [rsp + 0x238], rax
mov qword [rsp + 0x240], rdx
lea rcx, [rsp + 0x130]
lea rdx, [rsp + 0x230]
call fcn.14003e4d0
jmp 0x140039eec
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x140], rax
movups xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x130], xmm0
jmp 0x140039eda
cmp r12, 0xf
ja 0x140039924
xor eax, eax
mov qword [rsp + 0x68], rax
xor eax, eax
nop
cmp byte [r14 + rax], 0x2e
je 0x14003993d
inc rax
cmp r12, rax
jne 0x1400398c0
jmp 0x140039947
mov r8, rdx
nop word cs:[rax + rax]
test r8, r8
je 0x140039933
mov rcx, r8
dec r8
cmp byte [rax + rcx - 1], 0x2e
jne 0x1400398e0
mov r10, rdx
sub r10, rcx
jb 0x14003c0a4
test r8, r8
je 0x140039e45
mov r9, rax
add r9, rcx
mov rdx, r10
jmp 0x140039e4b
mov r15, qword [rsp + 0xa8]
xor ebp, ebp
jmp 0x14003950e
mov cl, 0x2e
mov rdx, r14
mov r8, r12
call fcn.14000a460
jmp 0x140039942
mov r9, rax
xor eax, eax
jmp 0x140039e4b
mov eax, 1
mov qword [rsp + 0x68], rax
test rbp, rbp
je 0x14003999c
add rbx, rbp
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xc8], rbx
mov word [rsp + 0xd0], 0
mov byte [rsp + 0xd8], 1
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0xc0]
call fcn.140034ee0
mov rax, qword [rsp + 0x230]
cmp rax, r13
mov r14, qword [rsp + 0x60]
jne 0x140039c8c
lea rcx, [rsp + 0xc0]
call fcn.140035120
mov rbx, qword [rsp + 0xc0]
cmp rbx, r13
jne 0x1400399c8
lea rcx, [rsp + 0xc8]
call fcn.1400153f0
jmp 0x140039a8c
mov rsi, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xd8]
mov rcx, rsi
mov rdx, rdi
call fcn.140037170
cmp rdi, rdx
cmovb rdx, rdi
test rax, rax
cmove rdx, rdi
mov qword [rsp + 0x230], rbx
mov qword [rsp + 0x238], rsi
mov qword [rsp + 0x240], rdx
mov qword [rsp + 0x248], r14
lea rcx, [rsp + 0x230]
mov rdx, qword [rsp + 0x60]
mov r8, r12
call fcn.140035b30
cmp qword [rsp + 0x68], 1
je 0x140039a43
lea rcx, [rsp + 0x230]
call fcn.140037f80
mov rsi, qword [rsp + 0x238]
mov r8, qword [rsp + 0x240]
lea rcx, [rsp + 0x170]
mov rdx, rsi
call fcn.14003e5a0
cmp qword [rsp + 0x230], 0
je 0x140039a7b
mov edx, 1
mov rcx, rsi
call fcn.1400052d0
mov r14, qword [rsp + 0x170]
cmp r14, r13
jne 0x140039d99
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 2
mov qword [rsp + 0x98], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov r15d, 0xffffffff
xor esi, esi
xor r13d, r13d
cmp r8, 0x201
jb 0x140039aff
jmp 0x140039b20
jae 0x140039be2
cmp r8, 0x201
jae 0x140039b20
mov r14d, 0x200
lea rbp, [rsp + 0x230]
mov rbx, r8
jmp 0x140039b7a
sub r8, r13
sub rsi, r13
cmp rsi, r8
jae 0x140039b55
lea rcx, [rsp + 0x88]
mov rdx, r13
call fcn.140018050
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov rsi, qword [rsp + 0x78]
cmp rsi, r15
mov r13d, 0xffffffff
cmovb r13, rsi
mov qword [rsp + 0x98], r13
mov r14, r13
mov rbp, qword [rsp + 0x70]
mov rbx, r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbp
mov edx, ebx
call sub.KERNEL32.dll_GetSystemDirectoryW
mov edi, eax
test eax, eax
jne 0x140039b9e
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140039dae
mov r8d, edi
cmp rbx, r8
jne 0x140039af0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14003bfb6
add rbx, rbx
mov eax, 0xffffffff
cmp rbx, rax
mov r15d, 0xffffffff
cmovae rbx, rax
mov r8, rbx
cmp r8, 0x201
jae 0x140039b20
jmp 0x140039aff
cmp r14, r8
jb 0x14003c0b2
lea rcx, [rsp + 0xc0]
mov rdx, rbp
call fcn.140019800
movabs r13, 0x8000000000000000
lea rcx, [rsp + 0xc0]
mov rdx, qword [rsp + 0x60]
mov r8, r12
call fcn.140035b30
cmp qword [rsp + 0x68], 1
je 0x140039c2f
lea rcx, [rsp + 0xc0]
call fcn.140037f80
mov rdi, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
lea rcx, [rsp + 0x170]
mov rdx, rdi
call fcn.14003e5a0
cmp qword [rsp + 0xc0], 0
je 0x140039c67
mov edx, 1
mov rcx, rdi
call fcn.1400052d0
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x150], xmm0
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x160], rax
jmp 0x140039dd9
lea rsi, [rsp + 0x230]
lea rdi, [rsp + 0xc0]
lea rbx, [rsp + 0x170]
mov rcx, qword [rsp + 0x238]
mov rdx, qword [rsp + 0x240]
test rdx, rdx
je 0x140039d69
mov r8, qword [rsp + 0x248]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x238], rcx
mov qword [rsp + 0x240], rdx
mov qword [rsp + 0x248], r8
mov rcx, rsi
mov rdx, r14
mov r8, r12
call fcn.140035b30
cmp qword [rsp + 0x68], 1
je 0x140039d03
mov rcx, rsi
call fcn.140037f80
mov r14, qword [rsp + 0x238]
mov r8, qword [rsp + 0x240]
mov rcx, rbx
mov rdx, r14
call fcn.14003e5a0
cmp qword [rsp + 0x230], 0
je 0x140039d36
mov edx, 1
mov rcx, r14
call fcn.1400052d0
mov r14, qword [rsp + 0x170]
cmp r14, r13
jne 0x140039d99
mov rcx, rsi
mov rdx, rdi
call fcn.140034ee0
mov rax, qword [rsp + 0x230]
cmp rax, r13
mov r14, qword [rsp + 0x60]
jne 0x140039ca4
jmp 0x14003999c
test rax, rax
je 0x140039d78
mov edx, 1
call fcn.1400052d0
mov rcx, rsi
mov rdx, rdi
call fcn.140034ee0
mov rax, qword [rsp + 0x230]
cmp rax, r13
jne 0x140039ca4
jmp 0x14003999c
mov rdi, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
jmp 0x140039fe5
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x158], rax
movabs r13, 0x8000000000000000
lea rax, [r13 + 1]
mov qword [rsp + 0x150], rax
invalid
cmp qword [rsp + 0x78], 0
xor r9d, r9d
mov r8, rdx
test rax, rax
cmovne r9, rax
test r9, r9
je 0x140039e6b
test rax, rax
cmove r8, rdx
ret 0x14d
ror dword [rcx + 0x29], 0xf1
cmp rdi, r9
cmovae rdi, r9
lea rcx, [rsp + 0x230]
mov rdx, rsi
mov edx, esi
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rs
lea r8, [0x1402ab0a0]
mov edx, 0x2b
call fcn.140007a70
jmp 0x14003c119
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x170], rax
lea rax, [0x140034a80]
mov qword [rsp + 0x178], rax
lea rax, str.comparing_environment_keys_failed:
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xe0], 0
lea rax, [rsp + 0x170]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 1
lea rdx, str.library_std_src_syswindowsprocess.rs
lea rcx, [rsp + 0xc0]
call fcn.140006d30
jmp 0x14003c119
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rs
lea r8, [0x1402aa3d0]
mov edx, 0x2b
call fcn.140007a70
jmp 0x14003c119
mov ecx, 2
mov rdx, r13
call fcn.1400062e0
jmp 0x14003c119
call fcn.1400062a0
jmp 0x14003c119
mov ecx, 1
mov rdx, rsi
call fcn.1400062e0
jmp 0x14003c119
call fcn.1400062a0
jmp 0x14003c119
mov ecx, 1
mov rdx, rdi
call fcn.1400062e0
jmp 0x14003c119
call fcn.1400062a0
jmp 0x14003c119
lea r8, str.library_std_src_syswindowsos.rs
mov ecx, 1
xor edx, edx
call fcn.140006d70
jmp 0x14003c119
lea rax, str.library_std_src_syswindowsos.rs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.1400076d0
jmp 0x14003c119
lea r8, str.library_std_src_syswindowsos.rs
mov rcx, rbp
mov rdx, rbx
call fcn.140006d70
jmp 0x14003c119
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x1402aad48]
mov edx, 0x21
call fcn.140007a70
jmp 0x14003c119
mov ecx, 1
mov rdx, r12
call fcn.1400062e0
jmp 0x14003c119
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140007a70
jmp 0x14003c119
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x170], rax
lea rax, [0x140034a80]
mov qword [rsp + 0x178], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x238], 1
mov qword [rsp + 0x250], 0
lea rax, [rsp + 0x170]
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x248], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x230]
call fcn.140006d30
jmp 0x14003c119
call fcn.1400062a0
jmp 0x14003c119
lea r8, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sliceiter.rs
call fcn.140006d70
jmp 0x14003c119
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1400076d0
jmp 0x14003c119