Function at 0x140056310
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 0x140056369
test r9, r9
jne 0x140056369
mov qword [rsp + 0x230], 0
xor r14d, r14d
jmp 0x140056e05
mov qword [rsp + 0x208], 0
mov qword [rsp + 0x218], 0
test al, al
mov qword [rsp + 0x90], r12
jne 0x14005651f
mov qword [rsp + 0x68], r9
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x140059a1b
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 fcn.140052090
cmp byte [rsp + 0x288], 2
je 0x140056505
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 fcn.140028620
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 fcn.140018180
cmp byte [rsp + 0x148], 2
je 0x1400563e0
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x1400563e0
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call fcn.140010810
jmp 0x1400563e0
mov rcx, qword [rsp + 0x110]
call sub.KERNEL32.dll_FreeEnvironmentStringsW
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 fcn.140010890
mov rdi, rax
test rax, rax
je 0x140056c17
mov rbp, rdx
cmp byte [rdx + 0x18], 2
jne 0x1400567d0
mov rbx, qword [rsp + 0x208]
test rbx, rbx
je 0x1400565a0
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 fcn.14001caa0
cmp qword [rsp + 0x130], 0
jne 0x1400565a0
mov rax, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
mov byte [rsp + 0x260], 0
test rdx, rdx
je 0x140056983
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x1400566fe
mov r8, rax
and r8, 7
je 0x14005666b
xor r9d, r9d
nop
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140056650
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x1400566fe
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 0x140056680
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 fcn.14001c5b0
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 0x1400569c1
mov rcx, rdx
jmp 0x1400569f9
mov r14, qword [rdi + 0x18]
mov rsi, qword [rdi + 0x28]
test rsi, rsi
je 0x140056807
js 0x14005997a
mov rax, qword [0x1400cd318]
movzx eax, byte [rax]
mov edx, 1
mov rcx, rsi
call fcn.140010800
mov rbx, rax
test rax, rax
jne 0x14005680c
jmp 0x140059968
mov ebx, 1
mov rcx, rbx
mov rdx, r14
mov r8, rsi
call sub.msvcrt.dll_memcpy
movzx r12d, byte [rdi + 0x30]
mov r14, qword [rdi]
mov rdi, qword [rdi + 0x10]
mov r13d, 2
test rdi, rdi
je 0x140056870
cmp rdi, qword [rsp + 0x68]
ja 0x140059984
mov r15, rdi
add r15, rdi
je 0x140056870
mov rax, qword [0x1400cd318]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r15
call fcn.140010800
test rax, rax
je 0x1400599a0
mov r13, rax
jmp 0x140056873
xor r15d, r15d
mov rcx, r13
mov rdx, r14
mov r8, r15
call sub.msvcrt.dll_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 0x1400568f0
js 0x14005995e
mov rax, qword [0x1400cd318]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r14
call fcn.140010800
mov r12, rax
test rax, rax
jne 0x1400568f6
jmp 0x14005998e
mov r12d, 1
mov rcx, r12
mov rdx, r15
mov r8, r14
call sub.msvcrt.dll_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 fcn.140018180
cmp byte [rsp + 0x148], 2
je 0x1400565a0
mov rdx, qword [rsp + 0x138]
test rdx, rdx
je 0x1400565a0
mov rcx, qword [rsp + 0x130]
mov r8d, 1
call fcn.140010810
jmp 0x1400565a0
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 fcn.14001c5b0
jmp 0x140056b13
mov r8, qword [rsp + 0x2d0]
nop dword [rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x1400569f4
inc r8
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x1400569d0
jmp 0x1400569f9
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 0x140056bb1
test rsi, rsi
je 0x1400599b2
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 fcn.140010810
cmp r13b, 2
je 0x1400565a0
test r14, r14
je 0x140056bd1
mov r8d, 1
mov rcx, r15
mov rdx, r14
call fcn.140010810
test r12, r12
je 0x140056bec
add r12, r12
mov r8d, 2
mov rcx, qword [rsp + 0x78]
mov rdx, r12
call fcn.140010810
cmp bpl, 2
je 0x1400565a0
test rdi, rdi
je 0x1400565a0
mov r8d, 1
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call fcn.140010810
jmp 0x1400565a0
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 [0x1400cd318]
movzx eax, byte [rax]
mov r13d, 4
mov ecx, 4
mov edx, 1
call fcn.140010800
test rax, rax
je 0x1400599cf
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 fcn.140028620
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 0x140056dd1
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 0x140056d90
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 0x140056d50
cmp eax, 1
jne 0x140056dac
jmp 0x140056d95
mov rbp, qword [rsp + 0x68]
sub r12, 1
jb 0x140057287
mov r14, qword [r14 + rbp*8 + 0x3d8]
jmp 0x140056d21
cmp eax, 2
jne 0x1400598ce
test r14, r14
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x78]
je 0x140056dd1
mov r14, qword [r13 - 0x10]
mov rbx, qword [r13]
jmp 0x140056dd4
xor r14d, r14d
mov edx, 4
mov r8d, 1
mov rcx, rsi
call fcn.140010810
mov rdx, qword [rsp + 0x278]
test rdx, rdx
je 0x140056e05
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140010810
mov r13, qword [r12 + 0x40]
lea rdi, str.program_path_has_no_file_name
test r13, r13
je 0x140056e69
mov rdx, qword [r12 + 0x30]
cmp r13, 4
jae 0x140056e2a
lea rax, [0x1400532c0]
jmp 0x140056e52
mov eax, dword [rdx]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x1400532d0]
lea rax, [0x1400532c0]
cmove rax, rcx
mov qword [rsp + 0x68], rdx
movzx esi, byte [r13 + rdx - 1]
mov ecx, esi
call rax
test al, al
je 0x140056eeb
cmp r13, 4
jb 0x140056f56
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 0x140056f56
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 0x140056f56
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 0x140056f56
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x140056f58
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 0x140057053
movzx r8d, byte [rdx + rcx]
cmp r8d, 0x5c
je 0x140056f8d
inc rcx
cmp r8d, 0x2f
jne 0x140056f70
test al, al
je 0x140057138
lea rcx, [rsp + 0x270]
mov r8, r13
call fcn.14005cab0
mov rcx, qword [rsp + 0x270]
mov rax, qword [rsp + 0x278]
test rcx, rcx
je 0x14005720b
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 fcn.14004bdb0
jmp 0x140057d32
xor r8d, r8d
lea rdi, str.nul_byte_found_in_provided_data
mov rax, rdx
jmp 0x14005707c
xor r8d, r8d
test cx, cx
je 0x140056e69
mov cx, 1
test r8w, r8w
jne 0x140057070
cmp rax, qword [rsp + 0x78]
je 0x140057256
movzx r8d, byte [rax]
test r8b, r8b
js 0x1400570a2
inc rax
mov r11d, r8d
jmp 0x140057103
mov r11d, r8d
and r11d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x1400570f8
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x14005710e
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 0x140057103
jmp 0x140057122
add rax, 2
shl r11d, 6
or r11d, r10d
xor r8d, r8d
mov ecx, r11d
jmp 0x140057073
add rax, 3
shl r11d, 0xc
or r11d, r9d
cmp r11d, 0xffff
jbe 0x140057103
and r11d, 0x3ff
or r11d, 0xdc00
mov r8d, r11d
jmp 0x140057073
test r13, r13
js 0x140059aab
mov rax, qword [0x1400cd318]
movzx eax, byte [rax]
mov edx, 1
mov rcx, r13
call fcn.140010800
test rax, rax
je 0x1400599cf
mov rsi, rax
mov rcx, rax
mov rdx, qword [rsp + 0x68]
mov r8, r13
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x278], r13
mov qword [rsp + 0x280], r13
mov byte [rsp + 0x288], 0
lea rdx, [0x1400b0619]
lea rcx, [rsp + 0x270]
mov r8d, 4
call fcn.1400528f0
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 fcn.14005a430
cmp qword [rsp + 0xa0], 0
je 0x140057224
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x120], rax
movdqu xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x110], xmm0
jmp 0x140057d1c
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x110], 0
jmp 0x140057d32
mov rcx, rsi
mov rdx, rdi
call case.0x14003f8c5.156
test rax, rax
je 0x140057ca9
cmp rdx, 2
jne 0x14005729c
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x14005729c
mov r8d, 2
xor ecx, ecx
jmp 0x140057c89
cmp r13, 0xf
ja 0x1400572ef
xor eax, eax
mov qword [rsp + 0x80], rax
xor eax, eax
nop dword [rax]
cmp byte [rdx + rax], 0x2e
je 0x14005730d
inc rax
cmp r13, rax
jne 0x140057270
jmp 0x14005731a
mov r12, qword [rsp + 0x90]
xor r14d, r14d
mov rsi, qword [rsp + 0x78]
jmp 0x140056dd4
xor r11d, r11d
mov rcx, rax
nop word cs:[rax + rax]
cmp rdx, r11
je 0x140057303
mov r9, r11
lea r10, [rcx - 1]
inc r11
cmp byte [rcx + rdx - 1], 0x2e
mov rcx, r10
jne 0x1400572b0
mov r8, rdx
sub r8, r11
lea rcx, [r8 + 1]
cmp rcx, rdx
ja 0x140059ae6
cmp rdx, r11
jne 0x140057c7f
xor ecx, ecx
mov r8, rdx
jmp 0x140057c89
mov cl, 0x2e
mov r8, r13
call fcn.140097070
mov qword [rsp + 0x80], rax
jmp 0x14005731a
mov rcx, rax
xor eax, eax
jmp 0x140057c89
mov eax, 1
mov qword [rsp + 0x80], rax
test r14, r14
je 0x140057369
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 fcn.140052240
movzx eax, byte [rsp + 0x288]
cmp al, 2
jne 0x140057690
lea rcx, [rsp + 0xa0]
call fcn.140052480
cmp byte [rsp + 0xb8], 2
jne 0x140057392
lea rcx, [rsp + 0xa0]
call fcn.1400132f0
jmp 0x14005747e
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 fcn.140041cb0
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 fcn.140040c30
cmp qword [rsp + 0x80], 1
je 0x140057425
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0x270]
mov r8d, 3
call fcn.140041850
mov rsi, qword [rsp + 0x270]
mov r8, qword [rsp + 0x280]
lea rcx, [rsp + 0x1a0]
mov rdx, rsi
call fcn.14005a430
mov rdx, qword [rsp + 0x278]
test rdx, rdx
je 0x140057460
mov r8d, 1
mov rcx, rsi
call fcn.140010810
mov rcx, qword [rsp + 0x1a0]
test rcx, rcx
je 0x14005747e
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x1a8]
jmp 0x140057aac
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 0x1400574df
jmp 0x140057500
jae 0x1400575cc
cmp r8, 0x201
jae 0x140057500
mov ebx, 0x200
lea rdi, [rsp + 0x270]
mov r15, r8
jmp 0x140057562
sub r8, rbp
sub rsi, rbp
cmp rsi, r8
mov rsi, qword [rsp + 0x60]
jae 0x140057538
lea rcx, [rsp + 0x130]
mov rdx, rbp
call fcn.14001de20
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 0x140057588
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1400577bf
mov r8d, r14d
cmp r15, r8
jne 0x1400574d0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400599e1
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov r12d, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x140057500
jmp 0x1400574df
cmp rbx, r8
jb 0x140059acf
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.14003ee90
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov r8, r13
call fcn.140040c30
cmp qword [rsp + 0x80], 1
je 0x14005761f
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0xa0]
mov r8d, 3
call fcn.140041850
mov rdi, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x150]
mov rdx, rdi
call fcn.14005a430
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14005765a
mov r8d, 1
mov rcx, rdi
call fcn.140010810
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 0x1400577e2
lea r15, [rsp + 0x289]
lea rbp, [rsp + 0xb9]
lea rsi, [rsp + 0x270]
lea rdi, [rsp + 0x1a0]
lea rbx, [rsp + 0xa0]
jmp 0x1400576db
mov rcx, rsi
mov rdx, rdi
call fcn.140052240
movzx eax, byte [rsp + 0x288]
cmp al, 2
je 0x140057369
mov rcx, qword [rsp + 0x270]
mov rdx, qword [rsp + 0x278]
mov r8, qword [rsp + 0x280]
test r8, r8
jne 0x14005770a
test rdx, rdx
je 0x1400576c0
mov r8d, 1
call fcn.140010810
jmp 0x1400576c0
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 fcn.140040c30
cmp qword [rsp + 0x80], 1
je 0x140057768
mov r8d, 3
mov rcx, rbx
lea rdx, str.exeNULexit_code:
call fcn.140041850
mov r14, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
mov rcx, rsi
mov rdx, r14
call fcn.14005a430
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x14005779e
mov r8d, 1
mov rcx, r14
call fcn.140010810
mov rax, qword [rsp + 0x270]
test rax, rax
jne 0x140058bbb
mov rcx, rsi
mov rdx, rdi
call fcn.140052240
jmp 0x1400576cb
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 0x140057802
add rdx, rdx
mov r8d, 2
mov rcx, qword [rsp + 0x88]
call fcn.140010810
test sil, sil
je 0x140057822
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
mov r12, qword [rsp + 0x90]
jne 0x140057aa0
jmp 0x14005782f
lea rcx, [rsp + 0x1a8]
call fcn.1400132f0
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 0x14005788f
jmp 0x1400578b0
jae 0x14005797a
cmp r8, 0x201
jae 0x1400578b0
mov ebx, 0x200
lea r14, [rsp + 0x270]
mov r15, r8
jmp 0x140057912
sub r8, rbp
sub r12, rbp
cmp r12, r8
mov r12, qword [rsp + 0x60]
jae 0x1400578e8
lea rcx, [rsp + 0x130]
mov rdx, rbp
call fcn.14001de20
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 0x140057937
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140057a43
mov r8d, edi
cmp r15, r8
jne 0x140057880
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400599fe
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
mov esi, 0xffffffff
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jae 0x1400578b0
jmp 0x14005788f
cmp rbx, r8
jb 0x140059af4
lea rcx, [rsp + 0xa0]
mov rdx, r14
call fcn.14003ee90
mov r12, qword [rsp + 0x90]
lea rcx, [rsp + 0xa0]
mov rdx, qword [rsp + 0x68]
mov r8, r13
call fcn.140040c30
cmp qword [rsp + 0x80], 1
je 0x1400579d5
lea rdx, str.exeNULexit_code:
lea rcx, [rsp + 0xa0]
mov r8d, 3
call fcn.140041850
mov rbx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x150]
mov rdx, rbx
call fcn.14005a430
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x140057a10
mov r8d, 1
mov rcx, rbx
call fcn.140010810
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 0x140057a6e
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 0x140057a8e
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 0x140057ad2
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x140057adf
mov rax, rcx
movdqu xmm6, xmmword [rsp + 0x1b0]
mov r13, rcx
lea rcx, [rsp + 0x1a8]
call fcn.1400132f0
lea rdx, str.PATHlibrary_std_src_sys_commonprocess.rs
lea rcx, [rsp + 0x150]
mov r8d, 4
call fcn.140032f10
cmp byte [rsp + 0x168], 2
je 0x1400587c7
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 0x140057ca9
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, rsi
sub ecx, esi
movups xmm6, xmmword [rsp + 0x278]
mov r13, rax
jmp 0x140057aaf
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, [0x140037670]
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 fcn.1400913d0
jmp 0x140059b44
call fcn.140082300
jmp 0x140059b44
mov ecx, 1
mov rdx, rsi
call fcn.140082340
jmp 0x140059b44
call fcn.140082300
jmp 0x140059b44
call fcn.140082300
jmp 0x140059b44
mov ecx, 1
mov rdx, r14
call fcn.140082340
jmp 0x140059b44
mov ecx, 2
mov rdx, r15
call fcn.140082340
jmp 0x140059b44
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x1400ac328]
mov edx, 0x21
call fcn.140091460
jmp 0x140059b44
mov ecx, 1
mov rdx, r13
call fcn.140082340
jmp 0x140059b44
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140091460
jmp 0x140059b44
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140091460
jmp 0x140059b44
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, [0x140037670]
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 fcn.1400913d0
jmp 0x140059b44
call fcn.140082300
jmp 0x140059b44
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.140097880
jmp 0x140059b44
lea r8, str._rustc_82e1608dfa6e0b5569232559e3d385fea5a93112librarycore_src_sliceiter.rs
call fcn.140097800
jmp 0x140059b44
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.140097880
jmp 0x140059b44