Function at 0x140051280
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Encode data using base64
Encrypt data using speck
Get common file path
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x688
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x5f0], xmm6
mov byte [rbp + 0x428], r9b
mov r14, r8
mov qword [rbp + 0x5a0], rcx
movzx eax, byte [rdx + 0xa0]
mov qword [rbp + 0x5b0], rdx
mov r8, qword [rdx + 0x98]
test al, al
jne 0x1400512eb
test r8, r8
jne 0x1400512eb
mov qword [rbp + 0x3d8], 0
lea rcx, [rbp + 0x3e0]
xor r15d, r15d
jmp 0x140051cea
mov qword [rbp + 0x5e8], r14
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x408], 0
test al, al
jne 0x140051457
mov qword [rbp + 0x5e0], r8
call sub.kernel32.dll_GetEnvironmentStringsW
test rax, rax
je 0x140054264
mov qword [rbp + 0x490], rax
mov qword [rbp + 0x498], rax
lea r12, [rbp + 0x550]
lea rbx, [rbp + 0x4d8]
lea r14, [rbp + 0x430]
nop dword [rax + rax]
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x498]
call fcn.14004e880
mov r15, qword [rbp - 0x30]
movabs rax, 0x8000000000000000
cmp r15, rax
je 0x140051444
mov rdi, qword [rbp - 0x28]
movups xmm6, xmmword [rbp - 0x20]
mov r13, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
mov rax, qword [rbp - 0x20]
add rax, rdi
mov qword [rbp + 0x430], rdi
mov qword [rbp + 0x438], rax
mov word [rbp + 0x440], 0
mov rcx, rbx
mov rdx, r14
call fcn.140025d80
mov qword [rbp + 0x530], r15
mov qword [rbp + 0x538], rdi
movups xmmword [rbp + 0x540], xmm6
mov rax, qword [rbp + 0x4e8]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rbp + 0x4d8]
movups xmmword [r12], xmm0
mov qword [rbp + 0x430], r13
mov qword [rbp + 0x438], rsi
lea rax, [rbp]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x440]
movups xmmword [rax], xmm0
mov rcx, rbx
lea rdx, [rbp + 0x3f8]
lea r8, [rbp + 0x530]
mov r9, r14
call fcn.1400162e0
mov rdx, qword [rbp + 0x4d8]
lea rax, [rdx*2]
test rax, rax
je 0x140051350
mov rcx, qword [rbp + 0x4e0]
mov r8d, 1
call fcn.140003340
jmp 0x140051350
mov rcx, qword [rbp + 0x490]
call sub.kernel32.dll_FreeEnvironmentStringsW
mov r8, qword [rbp + 0x5e0]
mov rcx, qword [rbp + 0x5b0]
mov rax, qword [rcx + 0x88]
mov rcx, qword [rcx + 0x90]
xor edx, edx
test rax, rax
setne dl
cmove r8, rax
mov qword [rbp + 0x4d8], rdx
mov qword [rbp + 0x4e0], 0
mov qword [rbp + 0x4e8], rax
mov qword [rbp + 0x4f0], rcx
mov qword [rbp + 0x4f8], rdx
mov qword [rbp + 0x500], 0
mov qword [rbp + 0x508], rax
mov qword [rbp + 0x510], rcx
mov qword [rbp + 0x518], r8
lea r12, [rbp + 0x4d8]
nop word cs:[rax + rax]
mov rcx, r12
call fcn.14000a550
mov rbx, rax
test rax, rax
je 0x140051b07
mov rsi, rdx
movabs rax, 0x8000000000000000
cmp qword [rdx], rax
jne 0x1400516d0
mov rsi, qword [rbp + 0x3f8]
test rsi, rsi
je 0x1400514d0
mov r9, qword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov r14, qword [rbp + 0x400]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x490]
mov rdx, rsi
mov r8, r14
call fcn.14001ba70
cmp qword [rbp + 0x490], 0
jne 0x1400514d0
mov rax, qword [rbp + 0x498]
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x4a8]
mov byte [rbp + 0x418], 0
test rdx, rdx
je 0x140051893
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x14005162e
mov r8, rax
and r8, 7
je 0x14005159b
xor r9d, r9d
nop dword [rax + rax]
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140051580
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x14005162e
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 0x1400515b0
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rbp + 0x4b0], rcx
mov qword [rbp + 0x4b8], 0
mov qword [rbp + 0x4c0], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x4b0]
lea r8, [rbp + 0x418]
call fcn.14001a6f0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x480], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x470], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x460], xmm3
movaps xmmword [rbp + 0x450], xmm2
movaps xmmword [rbp + 0x440], xmm1
movaps xmmword [rbp + 0x430], xmm0
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x1400518c8
mov rcx, rdx
jmp 0x1400518f9
mov r13, qword [rbx + 8]
mov r14, qword [rbx + 0x10]
test r14, r14
je 0x14005170e
js 0x1400541d4
mov rax, qword [0x14024eac8]
movzx eax, byte [rax]
mov r12d, 1
mov edx, 1
mov rcx, r14
call fcn.140003330
test rax, rax
je 0x1400541d7
mov rdi, rax
jmp 0x140051713
mov edi, 1
mov rcx, rdi
mov rdx, r13
mov qword [rbp + 0x5e0], r14
mov r8, r14
call sub.msvcrt.dll_memcpy
movzx r15d, byte [rbx + 0x18]
mov rdx, qword [rbx + 0x28]
mov r13, qword [rbx + 0x30]
test r13, r13
je 0x140051791
mov qword [rbp + 0x5d8], rdi
mov rax, r13
shr rax, 0x3e
lea rbx, [r13*2]
test rax, rax
jne 0x1400541e7
mov rdi, rdx
mov rax, qword [0x14024eac8]
movzx eax, byte [rax]
mov r14d, 2
mov edx, 2
mov rcx, rbx
call fcn.140003330
test rax, rax
je 0x1400541ea
mov r12, rax
mov rdx, rdi
mov rdi, qword [rbp + 0x5d8]
jmp 0x140051799
mov r12d, 2
xor ebx, ebx
mov rcx, r12
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x5e0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rax
mov byte [rbp - 0x18], r15b
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r12
mov qword [rbp], r13
mov rbx, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x14005180c
lea r12, [rbp + 0x4d8]
js 0x1400541fa
mov rax, qword [0x14024eac8]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, rdi
call fcn.140003330
test rax, rax
je 0x1400541fd
mov r14, rax
jmp 0x140051819
mov r14d, 1
lea r12, [rbp + 0x4d8]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movzx eax, byte [rsi + 0x18]
mov qword [rbp + 0x530], rdi
mov qword [rbp + 0x538], r14
mov qword [rbp + 0x540], rdi
mov byte [rbp + 0x548], al
lea rcx, [rbp + 0x430]
lea rdx, [rbp + 0x3f8]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x530]
call fcn.1400162e0
mov rdx, qword [rbp + 0x430]
lea rax, [rdx*2]
test rax, rax
je 0x1400514d0
mov rcx, qword [rbp + 0x438]
mov r8d, 1
call fcn.140003340
jmp 0x1400514d0
mov qword [rbp + 0x530], rax
mov qword [rbp + 0x538], 0
mov qword [rbp + 0x540], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x530]
lea r8, [rbp + 0x418]
call fcn.14001a6f0
jmp 0x1400519e9
mov r8, qword [rbp + 0x30]
nop dword [rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x1400518f4
inc r8
movzx eax, word [rdx + 0x3d0]
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x1400518d0
jmp 0x1400518f9
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rbp + 0x560], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rbp + 0x550], xmm2
movaps xmmword [rbp + 0x540], xmm1
movaps xmmword [rbp + 0x530], xmm0
mov r8, qword [rbp + 0x460]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x430]
movaps xmm1, xmmword [rbp + 0x440]
movaps xmm2, xmmword [rbp + 0x450]
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, [rbp + 0x568]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x468]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
movaps xmm0, xmmword [rbp + 0x530]
movaps xmm1, xmmword [rbp + 0x540]
movaps xmm2, xmmword [rbp + 0x550]
movaps xmm3, xmmword [rbp + 0x560]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm3
movaps xmm0, xmmword [rbp + 0x570]
movaps xmmword [rbp + 0x10], xmm0
mov rax, qword [rbp + 0x580]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x580], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x570], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x560], xmm3
movaps xmmword [rbp + 0x550], xmm2
dec qword [rbp + 0x408]
movaps xmmword [rbp + 0x540], xmm1
movaps xmmword [rbp + 0x530], xmm0
cmp byte [rbp + 0x418], 0
je 0x140051a7a
test r14, r14
je 0x14005420d
mov rax, qword [rsi + 0x3d8]
mov qword [rbp + 0x3f8], rax
dec r14
mov qword [rbp + 0x400], r14
mov qword [rax + 0x160], 0
mov edx, 0x438
mov r8d, 8
mov rcx, rsi
call fcn.140003340
mov rdx, qword [rbp + 0x530]
mov rcx, qword [rbp + 0x538]
mov rbx, qword [rbp + 0x550]
mov r14, qword [rbp + 0x558]
mov rsi, qword [rbp + 0x568]
mov rdi, qword [rbp + 0x570]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x1400514d0
test rdx, rdx
je 0x140051ac7
mov r8d, 1
call fcn.140003340
test rbx, rbx
je 0x140051ae0
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call fcn.140003340
lea rax, [rsi*2]
test rax, rax
je 0x1400514d0
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140003340
jmp 0x1400514d0
movups xmm0, xmmword [rbp + 0x3f8]
movups xmmword [rbp + 0x3e0], xmm0
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x3f0], rax
mov qword [rbp + 0x3d8], 1
mov rax, qword [0x14024eac8]
movzx eax, byte [rax]
mov ebx, 4
mov edi, 1
mov ecx, 4
mov edx, 1
call fcn.140003330
test rax, rax
je 0x1400542e9
mov rsi, rax
mov dword [rax], 0x48544150
add rax, 4
mov qword [rbp + 0x530], rsi
mov qword [rbp + 0x538], rax
mov word [rbp + 0x540], 0
lea rcx, [rbp + 0x430]
lea rdx, [rbp + 0x530]
call fcn.140025d80
mov qword [rbp - 0x30], 4
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 0
movups xmm0, xmmword [rbp + 0x430]
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [rbp + 0x440]
mov qword [rbp], rax
mov r15, qword [rbp + 0x3e0]
mov rdi, qword [rbp - 8]
test r15, r15
je 0x140051cac
mov qword [rbp + 0x5a8], rsi
mov r14d, dword [rbp]
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x5e0], rax
lea rcx, [r15 + 0x168]
movzx eax, word [r15 + 0x3d2]
mov qword [rbp + 0x5d8], rax
imul rsi, rax, 0x38
lea rbx, [r15 - 0x10]
mov r12, 0xffffffffffffffff
nop word cs:[rax + rax]
test rsi, rsi
je 0x140051c60
lea r13, [rcx + 0x38]
mov r8, qword [rcx + 0x28]
mov r9d, dword [rcx + 0x30]
mov dword [rsp + 0x20], 1
mov rcx, rdi
mov edx, r14d
call sub.kernel32.dll_CompareStringOrdinal
add rsi, 0xffffffffffffffc8
add rbx, 0x20
inc r12
mov rcx, r13
cmp eax, 3
je 0x140051c20
cmp eax, 1
jne 0x140051c8c
jmp 0x140051c67
mov r12, qword [rbp + 0x5d8]
mov rax, qword [rbp + 0x5e0]
sub rax, 1
jb 0x1400520cc
mov qword [rbp + 0x5e0], rax
mov r15, qword [r15 + r12*8 + 0x3d8]
jmp 0x140051bf0
cmp eax, 2
jne 0x14005414f
mov r15, qword [rbx - 8]
mov rbx, qword [rbx]
mov r14, qword [rbp + 0x5e8]
mov rsi, qword [rbp + 0x5a8]
jmp 0x140051cb6
xor r15d, r15d
mov r14, qword [rbp + 0x5e8]
mov edx, 4
mov r8d, 1
mov rcx, rsi
call fcn.140003340
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140051ce3
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140003340
lea rcx, [rbp + 0x3e0]
mov rax, qword [rbp + 0x5b0]
mov rdi, qword [rax + 0x10]
lea r12, [0x1402304c0]
test rdi, rdi
je 0x1400521d1
mov rdx, qword [rax + 8]
cmp rdi, 4
mov qword [rbp + 0x5a8], rcx
jae 0x140051d1f
lea rax, [0x140058a50]
jmp 0x140051d47
mov eax, dword [rdx]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140058a70]
lea rax, [0x140058a50]
cmove rax, rcx
mov qword [rbp + 0x5d8], rdx
movzx esi, byte [rdi + rdx - 1]
mov ecx, esi
call rax
test al, al
jne 0x1400521d1
mov r9, r15
movabs r13, 0x8000000000000000
mov r15, qword [rbp + 0x5d8]
lea rdx, [r15 + rdi]
cmp rdi, 3
mov qword [rbp + 0x5e0], rdx
jbe 0x140051dde
movzx eax, byte [rdx - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x140051dfd
movzx eax, byte [rdx - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x140051dfd
movzx eax, byte [rdx - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x140051dfd
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x140051dff
xor eax, eax
cmp rdi, rax
je 0x140051f33
movzx ecx, byte [r15 + rax]
cmp ecx, 0x2f
je 0x140051e62
inc rax
cmp ecx, 0x5c
jne 0x140051de0
jmp 0x140051e62
xor eax, eax
xor ecx, ecx
nop word cs:[rax + rax]
cmp rdi, rcx
je 0x140051f33
movzx edx, byte [r15 + rcx]
cmp edx, 0x2f
je 0x140051e2b
inc rcx
cmp edx, 0x5c
jne 0x140051e10
test al, al
je 0x140051e62
lea rcx, [rbp - 0x30]
mov rdx, r15
mov r8, rdi
call fcn.140056a20
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
cmp rcx, r13
jne 0x1400520a7
mov qword [rbp + 0x4b8], rax
mov qword [rbp + 0x4b0], r13
jmp 0x1400521ba
test rdi, rdi
mov rbx, rdi
js 0x1400542d7
mov rax, qword [0x14024eac8]
movzx eax, byte [rax]
mov edi, 1
mov edx, 1
mov rcx, rbx
call fcn.140003330
test rax, rax
je 0x1400542e2
mov rsi, rax
mov rcx, rax
mov rdx, r15
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 0
lea rdx, str..exeprogram_not_found
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.140057f90
mov rsi, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
lea rcx, [rbp + 0x530]
mov rdx, rbx
mov r8, rdi
call fcn.140054a70
cmp qword [rbp + 0x530], r13
jne 0x140052010
mov rcx, rbx
mov rdx, rdi
call fcn.14003fca0
test rax, rax
je 0x140052158
cmp rdx, 2
jne 0x140052031
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x140052031
mov r8d, 2
xor ecx, ecx
jmp 0x14005210b
xor r8d, r8d
lea r12, str.nul_byte_found_in_provided_data
mov rsi, r9
mov esi, ecx
jmp 0x140051f5c
xor r8d, r8d
test cx, cx
je 0x1400521d1
mov cx, 1
test r8w, r8w
jne 0x140051f50
cmp r15, qword [rbp + 0x5e0]
je 0x140052074
movzx r8d, byte [r15]
test r8b, r8b
js 0x140051f84
inc r15
mov edx, r8d
jmp 0x140051fe0
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [r15 + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x140051fd6
movzx r9d, byte [r15 + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x140051fea
movzx r8d, byte [r15 + 3]
add r15, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
cmp edx, 0xffff
jbe 0x140051fe0
jmp 0x140051ffc
add r15, 2
shl edx, 6
or edx, r10d
xor r8d, r8d
mov ecx, edx
jmp 0x140051f53
add r15, 3
shl edx, 0xc
or edx, r9d
or edx, ecx
cmp edx, 0xffff
jbe 0x140051fe0
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x140051f53
mov rax, qword [rbp + 0x540]
mov qword [rbp + 0x4c0], rax
movups xmm0, xmmword [rbp + 0x530]
movaps xmmword [rbp + 0x4b0], xmm0
jmp 0x1400521a4
xor r10d, r10d
mov r8, rax
nop word [rax + rax]
cmp rdx, r10
je 0x1400520db
mov r9, r10
lea rcx, [r8 - 1]
inc r10
cmp byte [r8 + rdx - 1], 0x2e
mov r8, rcx
jne 0x140052040
mov r8, rdx
sub r8, r10
jne 0x140052102
xor ecx, ecx
mov r8, rdx
jmp 0x14005210b
cmp rdi, 0xf
ja 0x1400520e5
xor eax, eax
mov qword [rbp + 0x5c8], rax
xor eax, eax
mov rcx, qword [rbp + 0x5d8]
nop dword [rax]
cmp byte [rcx + rax], 0x2e
je 0x14005277c
inc rax
cmp rdi, rax
jne 0x140052090
jmp 0x140052788
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rcx, [rbp + 0x4b0]
lea rdx, [rbp - 0x30]
call fcn.140048f60
jmp 0x1400521ba
mov r14, qword [rbp + 0x5e8]
xor r15d, r15d
jmp 0x140051ca3
mov rcx, rax
mov r8, rdx
xor eax, eax
jmp 0x14005210b
mov cl, 0x2e
mov rdx, qword [rbp + 0x5d8]
mov r8, rdi
call fcn.140091f20
mov qword [rbp + 0x5c8], rax
jmp 0x140052788
add rcx, rdx
inc rcx
mov rdx, r9
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x140052158
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, rbx
je 0x140052155
cmp rdi, rcx
jbe 0x14005214e
cmp byte [rbx + rcx], 0xbf
jg 0x140052150
lea rcx, [0x14022ef52]
lea r8, str.library_std_src_sys_commonwtf8.rsassertion_failed:_is_code_point_boundary_self__new_len_
mov edx, 0x37
call fcn.14008c470
jmp 0x140054366
jne 0x140052131
cmp rdi, rcx
jb 0x140052158
mov rdi, rcx
lea rcx, [rbp - 0x30]
mov rdx, rbx
mov r8, rdi
call fcn.140056a20
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
cmp rcx, r13
jne 0x140052184
mov qword [rbp + 0x4b8], rax
mov qword [rbp + 0x4b0], r13
jmp 0x1400521a4
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rcx, [rbp + 0x4b0]
lea rdx, [rbp - 0x30]
call fcn.140048f60
test rsi, rsi
je 0x1400521ba
mov r8d, 1
mov rcx, rbx
mov rdx, rsi
call fcn.140003340
mov r15, qword [rbp + 0x4b0]
mov r12, qword [rbp + 0x4b8]
cmp r15, r13
jne 0x140052271
mov rax, qword [rbp + 0x5a0]
mov qword [rax], r12
mov qword [rax + 0x10], 2
mov rdi, qword [rbp + 0x4c0]
mov qword [rbp + 0x5c0], r15
mov qword [rbp + 0x5e8], r14
cmp rdi, 5
jb case.0x140052558.68
cmp word [r12 + rdi*2 - 0xa], 0x2e
jne case.0x140052558.68
cmp word [r12 + rdi*2 - 2], 0
je 0x140052538
mov rax, qword [rbp + 0x5b0]
mov rsi, qword [rax + 0x28]
mov esi, dword [rax + 0x28]
mov rdi, qword [rax + 0x30]
movzx ebx, byte [rax + 0xc9]
mov qword [rbp + 0x530], 0
mov qword [rbp + 0x538], 2
mov qword [rbp + 0x540], 0
test dword [rax + 5], eax
add byte [rax], al
add byte [rax], al
add byte [rax], al
lea rcx, [rbp + 0x530]
call fcn.14001cb60
mov rax, qword [rbp + 0x538]
mov word [rax], 0x22
mov qword [rbp + 0x540], 1
mov rax, qword [rbp + 0x5d8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x5e0]
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x530]
lea rdx, [rbp - 0x30]
call fcn.140025c00
mov r14, qword [rbp + 0x540]
cmp r14, qword [rbp + 0x530]
jne 0x140052344
lea rcx, [rbp + 0x530]
call fcn.14001cb60
mov rax, qword [rbp + 0x538]
mov word [rax + r14*2], 0x22
inc r14
mov qword [rbp + 0x540], r14
shl rdi, 3
lea r14, [rdi + rdi*4]
lea rdi, [rbp + 0x530]
nop dword [rax + rax]
test r14, r14
je 0x1400523e9
mov r15, qword [rbp + 0x540]
cmp r15, qword [rbp + 0x530]
jne 0x14005238d
mov rcx, rdi
call fcn.14001cb60
mov rax, qword [rbp + 0x538]
mov word [rax + r15*2], 0x20
inc r15
mov qword [rbp + 0x540], r15
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
call fcn.140048080
add rsi, 0x28
add r14, 0xffffffffffffffd8
test rax, rax
je 0x140052370
mov rdx, qword [rbp + 0x530]
test rdx, rdx
je 0x1400523fc
mov rcx, qword [rbp + 0x538]
add rdx, rdx
mov r8d, 2
mov rsi, rax
call fcn.140003340
mov rax, rsi
jmp 0x1400523fc
mov rcx, qword [rbp + 0x530]
mov rax, qword [rbp + 0x538]
cmp rcx, r13
jne 0x140052445
mov r14, qword [rbp + 0x5e8]
mov r15, qword [rbp + 0x5c0]
mov rcx, qword [rbp + 0x5a0]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
xor esi, esi
mov rsi, qword [rbp + 0x540]
mov dl, 1
mov dword [rbp + 0x48c], edx
mov dword [rbp + 0x5d8], 0
mov r15, qword [rbp + 0x5c0]
mov qword [rbp + 0x5e0], r15
mov qword [rbp + 0x5c8], r12
mov qword [rbp + 0x4b0], rcx
mov qword [rbp + 0x4b8], rax
mov qword [rbp + 0x4c0], rsi
cmp rsi, rcx
jne 0x1400524a0
lea rcx, [rbp + 0x4b0]
call fcn.14001cb60
mov rax, qword [rbp + 0x4b8]
mov word [rax + rsi*2], 0
movzx eax, word [r12 + rdi*2 - 8]
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x140052558.68
lea rdx, [0x14022b42c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
movzx ecx, word [r12 + rdi*2 - 6]
or ecx, 0x20
cmp ecx, 0x61
jne 0x140052576
movzx ecx, word [r12 + rdi*2 - 4]
or ecx, 0x20
cmp ecx, 0x74
je 0x1400525a4
cmp ax, 0x43
jne case.0x140052558.68
movzx eax, word [r12 + rdi*2 - 6]
or eax, 0x20
cmp eax, 0x6d
jne case.0x140052558.68
movzx eax, word [r12 + rdi*2 - 4]
or eax, 0x20
cmp eax, 0x64
jne case.0x140052558.68
mov qword [rbp + 0x5d0], rdi
mov qword [rbp + 0x5b8], r12
mov qword [rbp + 0x530], 0
lea rax, [rbp + 0x538]
mov qword [rbp + 0x5c8], rax
mov qword [rbp + 0x538], 2
mov qword [rbp + 0x540], 0
mov r12d, 0x200
mov eax, 2
mov qword [rbp + 0x5e0], rax
xor eax, eax
mov qword [rbp + 0x5d8], rax
xor r15d, r15d
xor ebx, ebx
cmp r12, 0x201
jb 0x14005261b
jmp 0x140052629
jae 0x140052e5b
cmp r12, 0x201
jae 0x140052629
mov edi, 0x200
lea r13, [rbp - 0x30]
mov rsi, r12
jmp 0x14005268e
sub r12, rbx
sub r15, rbx
cmp r12, r15
jbe 0x140052662
lea rcx, [rbp + 0x530]
mov rdx, rbx
mov r8, r12
call fcn.14001c0e0
mov rax, qword [rbp + 0x530]
mov qword [rbp + 0x5d8], rax
mov rax, qword [rbp + 0x538]
mov qword [rbp + 0x5e0], rax
mov eax, 0xffffffff
mov r15, qword [rbp + 0x5d8]
cmp r15, rax
mov ebx, 0xffffffff
cmovb rbx, r15
mov qword [rbp + 0x540], rbx
mov rdi, rbx
mov r13, qword [rbp + 0x5e0]
mov rsi, rbx
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, r13
mov edx, esi
call sub.kernel32.dll_GetSystemDirectoryW
mov r14d, eax
test eax, eax
jne 0x1400526b3
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x14005372c
mov r12d, r14d
cmp rsi, r12
jne 0x14005260c
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400542fd
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r12, rsi
cmp r12, 0x201
jae 0x140052629
jmp 0x14005261b
mov eax, 1
mov qword [rbp + 0x5c8], rax
test rsi, rsi
mov qword [rbp + 0x5d0], rdi
je 0x1400527d9
add rbx, rsi
mov qword [rbp + 0x530], rsi
mov qword [rbp + 0x538], rbx
mov word [rbp + 0x540], 0
mov byte [rbp + 0x548], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x530]
call fcn.14004ea20
mov rdx, qword [rbp - 0x30]
cmp rdx, r13
mov r12, qword [rbp + 0x5d8]
jne 0x140052872
lea rcx, [rbp + 0x530]
call fcn.14004ec80
mov rsi, qword [rbp + 0x530]
cmp rsi, r13
mov qword [rbp + 0x5e8], r14
jne 0x140052809
lea rcx, [rbp + 0x538]
call fcn.14000d100
jmp 0x140053038
mov rdi, qword [rbp + 0x538]
mov rbx, qword [rbp + 0x540]
mov r14, qword [rbp + 0x548]
mov rcx, rdi
mov rdx, rbx
call case.0x14003eee7.21
test rax, rax
mov rax, qword [rbp + 0x5d8]
je 0x140052fb0
test rdx, rdx
je 0x140052fad
cmp rbx, rdx
jbe 0x140052fa2
cmp byte [rdi + rdx], 0xbf
jg 0x140052fa8
lea rcx, [0x14022ef52]
lea r8, str.library_std_src_sys_commonwtf8.rsassertion_failed:_is_code_point_boundary_self__new_len_
mov edx, 0x37
call fcn.14008c470
jmp 0x140054366
lea rsi, [rbp - 0x30]
lea rdi, [rbp + 0x530]
lea rbx, [rbp + 0x430]
lea r15, str.exe.NULexit_code:
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x14005293b
mov r8, qword [rbp - 0x18]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r8
mov rcx, rsi
mov rdx, r12
mov r8, qword [rbp + 0x5d0]
call fcn.14003e880
cmp qword [rbp + 0x5c8], 1
je 0x1400528dd
mov r8d, 3
mov rcx, rsi
mov rdx, r15
call fcn.14003f570
mov r12, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
mov rcx, rbx
mov rdx, r12
call fcn.140054a70
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x140052907
mov r8d, 1
mov rcx, r12
call fcn.140003340
mov rax, qword [rbp + 0x430]
cmp rax, r13
jne 0x140052e45
mov rcx, rsi
mov rdx, rdi
call fcn.14004ea20
mov rdx, qword [rbp - 0x30]
cmp rdx, r13
mov r12, qword [rbp + 0x5d8]
jne 0x14005288b
jmp 0x1400527d9
test rdx, rdx
je 0x14005294b
mov r8d, 1
call fcn.140003340
mov rcx, rsi
mov rdx, rdi
call fcn.14004ea20
mov rdx, qword [rbp - 0x30]
cmp rdx, r13
jne 0x14005288b
jmp 0x1400527d9
mov r12, qword [rbp + 0x438]
mov rdi, qword [rbp + 0x440]
mov r15, rax
jmp 0x140052278
cmp rdi, r12
jb 0x140054345
test r14d, r14d
je 0x1400537cc
lea rsi, [r12 + r12]
mov rax, qword [0x14024eac8]
movzx eax, byte [rax]
mov edx, 2
mov rcx, rsi
call fcn.140003330
test rax, rax
je 0x140054359
mov rdi, rax
jmp 0x1400537d3
jne 0x140052855
cmp rbx, rdx
jb 0x140052fb0
mov rbx, rdx
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], r14
lea rcx, [rbp - 0x30]
mov rdx, rax
mov r8, qword [rbp + 0x5d0]
call fcn.14003e880
cmp qword [rbp + 0x5c8], 1
je 0x140052ff3
lea rdx, str.exe.NULexit_code:
lea rcx, [rbp - 0x30]
mov r8d, 3
call fcn.14003f570
mov rsi, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x430]
mov rdx, rsi
call fcn.140054a70
mov rdx, qword [rbp - 0x30]
test rdx, rdx
mov r14, qword [rbp + 0x5e8]
je 0x140053028
mov r8d, 1
mov rcx, rsi
call fcn.140003340
mov r15, qword [rbp + 0x430]
cmp r15, r13
jne 0x14005352d
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5c0], rax
xor r14d, r14d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jb 0x14005308f
jmp 0x1400530a0
jae 0x14005315a
cmp r8, 0x201
jae 0x1400530a0
mov ebx, 0x200
lea r15, [rbp - 0x30]
mov r12, r8
jmp 0x1400530f7
sub r8, rdi
sub r13, rdi
cmp r8, r13
jbe 0x1400530cf
lea rcx, [rbp + 0x4d8]
mov rdx, rdi
call fcn.14001c0e0
mov r14, qword [rbp + 0x4d8]
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x5c0], rax
mov eax, 0xffffffff
cmp r14, rax
mov edi, 0xffffffff
cmovb rdi, r14
mov qword [rbp + 0x4e8], rdi
mov r13, r14
mov rbx, rdi
mov r15, qword [rbp + 0x5c0]
mov r12, rdi
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, r15
mov edx, r12d
call sub.kernel32.dll_GetSystemDirectoryW
mov esi, eax
test eax, eax
jne 0x14005311c
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x140053273
mov r8d, esi
cmp r12, r8
jne 0x140053080
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x14005422a
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jae 0x1400530a0
jmp 0x14005308f
cmp rbx, r8
mov rsi, qword [rbp + 0x5d8]
jb 0x140054317
lea rcx, [rbp + 0x530]
mov rdx, r15
mov r14, qword [rbp + 0x5e8]
call fcn.14003c800
movabs r13, 0x8000000000000000
mov r8, qword [rbp + 0x5d0]
lea rcx, [rbp + 0x530]
mov rdx, rsi
call fcn.14003e880
cmp qword [rbp + 0x5c8], 1
je 0x1400531c3
lea rdx, str.exe.NULexit_code:
lea rcx, [rbp + 0x530]
mov r8d, 3
call fcn.14003f570
mov rsi, qword [rbp + 0x538]
mov r8, qword [rbp + 0x540]
lea rcx, [rbp + 0x430]
mov rdx, rsi
call fcn.140054a70
mov rdx, qword [rbp + 0x530]
test rdx, rdx
je 0x1400531fa
mov r8d, 1
mov rcx, rsi
call fcn.140003340
movups xmm0, xmmword [rbp + 0x430]
movaps xmmword [rbp + 0x490], xmm0
mov rax, qword [rbp + 0x440]
mov qword [rbp + 0x4a0], rax
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x140053237
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140003340
mov r15, qword [rbp + 0x490]
lea rax, [r13 + 2]
cmp r15, rax
jge 0x14005351a
cmp r15, r13
je 0x1400532cf
movabs rax, 0x8000000000000001
cmp r15, rax
je 0x1400532c3
mov rcx, qword [rbp + 0x498]
mov r8d, 2
call fcn.140003340
jmp 0x1400532cf
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x498], rax
movabs rax, 0x8000000000000000
inc rax
mov qword [rbp + 0x490], rax
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x1400532bc
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140003340
mov r14, qword [rbp + 0x5e8]
lea rcx, [rbp + 0x498]
call fcn.14000d100
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5c0], rax
xor r13d, r13d
xor r14d, r14d
xor edi, edi
cmp r8, 0x201
jb 0x14005332f
jmp 0x140053340
jae 0x1400533fa
cmp r8, 0x201
jae 0x140053340
mov ebx, 0x200
lea r15, [rbp - 0x30]
mov r12, r8
jmp 0x140053397
sub r8, rdi
sub r14, rdi
cmp r8, r14
jbe 0x14005336f
lea rcx, [rbp + 0x4d8]
mov rdx, rdi
call fcn.14001c0e0
mov r13, qword [rbp + 0x4d8]
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x5c0], rax
mov eax, 0xffffffff
cmp r13, rax
mov edi, 0xffffffff
cmovb rdi, r13
mov qword [rbp + 0x4e8], rdi
mov r14, r13
mov rbx, rdi
mov r15, qword [rbp + 0x5c0]
mov r12, rdi
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, r15
mov edx, r12d
call sub.kernel32.dll_GetWindowsDirectoryW
mov esi, eax
test eax, eax
jne 0x1400533bc
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x140053540
mov r8d, esi
cmp r12, r8
jne 0x140053320
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x140054247
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jae 0x140053340
jmp 0x14005332f
cmp rbx, r8
mov rsi, qword [rbp + 0x5d8]
jb 0x14005432e
lea rcx, [rbp + 0x530]
mov rdx, r15
mov r14, qword [rbp + 0x5e8]
call fcn.14003c800
movabs r13, 0x8000000000000000
mov r8, qword [rbp + 0x5d0]
lea rcx, [rbp + 0x530]
mov rdx, rsi
call fcn.14003e880
cmp qword [rbp + 0x5c8], 1
je 0x140053463
lea rdx, str.exe.NULexit_code:
lea rcx, [rbp + 0x530]
mov r8d, 3
call fcn.14003f570
mov rsi, qword [rbp + 0x538]
mov r8, qword [rbp + 0x540]
lea rcx, [rbp + 0x430]
mov rdx, rsi
call fcn.140054a70
mov rdx, qword [rbp + 0x530]
test rdx, rdx
je 0x14005349a
mov r8d, 1
mov rcx, rsi
call fcn.140003340
movups xmm0, xmmword [rbp + 0x430]
movaps xmmword [rbp + 0x490], xmm0
mov rax, qword [rbp + 0x440]
mov qword [rbp + 0x4a0], rax
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x1400534d7
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140003340
mov r15, qword [rbp + 0x490]
lea rax, [r13 + 2]
cmp r15, rax
jge 0x14005351a
cmp r15, r13
je 0x14005359d
movabs rax, 0x8000000000000001
cmp r15, rax
je 0x140053591
mov rcx, qword [rbp + 0x498]
mov r8d, 2
call fcn.140003340
jmp 0x14005359d
mov r12, qword [rbp + 0x498]
mov rdi, qword [rbp + 0x4a0]
jmp 0x140052278
mov r12, qword [rbp + 0x438]
mov rdi, qword [rbp + 0x440]
jmp 0x140052278
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x498], rax
movabs r13, 0x8000000000000000
lea rax, [r13 + 1]
mov qword [rbp + 0x490], rax
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14005358a
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140003340
mov r14, qword [rbp + 0x5e8]
lea rcx, [rbp + 0x498]
call fcn.14000d100
lea rdx, [0x14022eebc]
lea rcx, [rbp + 0x430]
mov r8d, 4
call fcn.14002ee50
mov rsi, qword [rbp + 0x430]
cmp rsi, r13
je 0x140053720
mov rcx, qword [rbp + 0x438]
mov rax, qword [rbp + 0x440]
add rax, rcx
mov qword [rbp + 0x5c0], rcx
mov qword [rbp + 0x530], rcx
mov qword [rbp + 0x538], rax
mov word [rbp + 0x540], 0
mov byte [rbp + 0x548], 1
lea rdi, [rbp - 0x30]
lea rbx, [rbp + 0x530]
mov r12, qword [rbp + 0x5d8]
mov rcx, rdi
mov rdx, rbx
call fcn.14004ea20
jmp 0x140053626
mov rcx, rdi
mov rdx, rbx
call fcn.14004ea20
mov rdx, qword [rbp - 0x30]
cmp rdx, r13
je 0x140053706
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140053652
test rdx, rdx
je 0x14005361b
mov r8d, 1
call fcn.140003340
jmp 0x14005361b
mov r8, qword [rbp - 0x18]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r8
mov rcx, rdi
mov rdx, r12
mov r8, qword [rbp + 0x5d0]
call fcn.14003e880
cmp qword [rbp + 0x5c8], 1
je 0x140053697
mov r8d, 3
mov rcx, rdi
lea rdx, str.exe.NULexit_code:
call fcn.14003f570
mov r15, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x4d8]
mov rdx, r15
call fcn.140054a70
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x1400536c5
mov r8d, 1
mov rcx, r15
call fcn.140003340
mov r15, qword [rbp + 0x4d8]
cmp r15, r13
je 0x14005360e
mov r12, qword [rbp + 0x4e0]
mov rdi, qword [rbp + 0x4e8]
test rsi, rsi
je 0x140052278
mov r8d, 1
mov rcx, qword [rbp + 0x5c0]
mov rdx, rsi
call fcn.140003340
jmp 0x140052278
test rsi, rsi
je 0x140053720
mov r8d, 1
mov rcx, qword [rbp + 0x5c0]
mov rdx, rsi
call fcn.140003340
lea r12, [0x1402304f0]
jmp 0x1400521d1
call sub.kernel32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
mov rdx, qword [rbp + 0x530]
test rdx, rdx
je 0x140053758
mov rcx, qword [rbp + 0x538]
add rdx, rdx
mov r8d, 2
call fcn.140003340
or rsi, 2
mov r14, qword [rbp + 0x5e8]
mov r12, qword [rbp + 0x5b8]
mov r15, qword [rbp + 0x5c0]
jmp 0x1400539f7
mov edi, 2
xor esi, esi
mov rcx, rdi
mov rdx, r13
mov r8, rsi
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp + 0x530]
test rdx, rdx
je 0x140053802
mov rcx, qword [rbp + 0x538]
add rdx, rdx
mov r8d, 2
call fcn.140003340
mov qword [rbp + 0x430], r12
lea rax, [rbp + 0x438]
mov qword [rbp + 0x5c8], rax
mov qword [rbp + 0x438], rdi
mov qword [rbp + 0x440], r12
lea rsi, str.cmd.exemaximum_number_of_ProcThreadAttributes_exceeded
xor r14d, r14d
lea rbx, [rbp + 0x430]
xor r15d, r15d
mov rax, qword [rbp + 0x5b0]
jmp 0x140053854
mov r15d, ecx
mov word [rdi + r12*2], r13w
inc r12
mov qword [rbp + 0x440], r12
movabs r13, 0x8000000000000000
test rsi, rsi
je 0x1400538cb
test r15w, r15w
je 0x1400538ae
xor ecx, ecx
mov r13d, r15d
cmp r12, qword [rbp + 0x430]
jne 0x140053842
lea rax, str.cmd.exemaximum_number_of_ProcThreadAttributes_exceeded
sub rax, rsi
add rax, 0xa
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
mov r8, rdx
shr r8, 1
cmp cx, 1
mov rax, r14
adc rax, 0xffffffffffffffff
sub r8, rax
inc r8
mov r15d, ecx
jmp 0x1400538f6
lea rcx, [0x140230538]
cmp rsi, rcx
je 0x1400538cb
movzx ecx, byte [rsi]
test cl, cl
js 0x140053917
inc rsi
mov r13d, ecx
xor ecx, ecx
jmp 0x14005386e
cmp r14, 1
je 0x1400539c1
mov r14d, 1
xor r13d, r13d
mov esi, 0
mov r8d, 0
cmp r12, qword [rbp + 0x430]
jne 0x140053845
inc r8
mov rcx, rbx
mov rdx, r12
call fcn.14001c0e0
mov rdi, qword [rbp + 0x438]
mov rax, qword [rbp + 0x5b0]
jmp 0x140053845
mov r13d, ecx
and r13d, 0x1f
movzx edx, byte [rsi + 1]
and edx, 0x3f
cmp cl, 0xdf
jbe 0x14005395b
movzx eax, byte [rsi + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x14005396d
movzx ecx, byte [rsi + 3]
add rsi, 4
and r13d, 7
shl r13d, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, r13d
mov r13d, ecx
jmp 0x14005397b
add rsi, 2
shl r13d, 6
or r13d, edx
xor ecx, ecx
jmp 0x14005386e
add rsi, 3
shl r13d, 0xc
or eax, r13d
mov r13d, eax
cmp r13d, 0xffff
jbe 0x1400539b3
lea eax, [r13 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r13d, 0x3ff
or r13d, 0xdc00
mov ecx, r13d
mov r13d, eax
mov rax, qword [rbp + 0x5b0]
jmp 0x14005386e
mov rax, qword [rbp + 0x5b0]
xor ecx, ecx
jmp 0x14005386e
mov rcx, qword [rbp + 0x430]
mov rdx, qword [rbp + 0x438]
mov qword [rbp + 0x5c8], rdx
cmp rcx, r13
jne 0x140053a0e
mov r14, qword [rbp + 0x5e8]
mov r12, qword [rbp + 0x5b8]
mov r15, qword [rbp + 0x5c0]
mov rsi, qword [rbp + 0x5c8]
mov rax, qword [rbp + 0x5a0]
mov qword [rax], rsi
mov qword [rax + 0x10], 2
jmp 0x14005241c
mov qword [rbp + 0x5e0], rcx
mov r9, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [rax + 0x30]
movzx ecx, byte [rcx + 0xc9]
mov byte [rsp + 0x28], cl
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x30]
mov r12, qword [rbp + 0x5b8]
mov rdx, r12
mov r8, qword [rbp + 0x5d0]
mov r14, qword [rbp + 0x5e8]
mov r15, qword [rbp + 0x5c0]
call fcn.140048520
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
cmp rcx, r13
jne 0x140053ad5
mov rcx, qword [rbp + 0x5a0]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rdx, qword [rbp + 0x5e0]
test rdx, rdx
je 0x14005241c
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5c8]
call fcn.140003340
jmp 0x14005241c
mov dword [rbp + 0x48c], 0
mov rsi, qword [rbp - 0x20]
mov dl, 1
mov dword [rbp + 0x5d8], edx
jmp 0x140052473
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4d8], rax
lea rax, [rbp + 0x4d8]
mov qword [rbp + 0x430], rax
lea rax, [0x140033730]
mov qword [rbp + 0x438], rax
lea rax, str.comparing_environment_keys_failed:
mov qword [rbp + 0x530], rax
mov qword [rbp + 0x538], 1
mov qword [rbp + 0x550], 0
lea rax, [rbp + 0x430]
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], 1
lea rdx, str.library_std_src_syspalwindowsprocess.rs
lea rcx, [rbp + 0x530]
call fcn.14008c3f0
jmp 0x140054366
xor r12d, r12d
mov rcx, r12
mov rdx, r14
call fcn.14007f630
jmp 0x140054366
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.14007f630
jmp 0x140054366
xor r15d, r15d
mov rcx, r15
mov rdx, rdi
call fcn.14007f630
jmp 0x140054366
lea rcx, str.assertion_failed:_self.height___0
lea r8, [0x14022c560]
mov edx, 0x21
call fcn.14008c470
jmp 0x140054366
lea rcx, str.internal_error:_entered_unreachable_code_
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14008c470
jmp 0x140054366
lea rcx, str.internal_error:_entered_unreachable_code_
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14008c470
jmp 0x140054366
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x430], rax
lea rax, [rbp + 0x430]
mov qword [rbp + 0x530], rax
lea rax, [0x140033730]
mov qword [rbp + 0x538], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x530]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, str.library_std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x30]
call fcn.14008c3f0
jmp 0x140054366
mov qword [rbp + 0x5e8], r14
xor edi, edi
jmp 0x1400542e9
mov qword [rbp + 0x5e8], r14
mov rcx, rdi
mov rdx, rbx
mov r14, qword [rbp + 0x5e8]
call fcn.14007f630
jmp 0x140054366
lea rcx, str.internal_error:_entered_unreachable_code_
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14008c470
jmp 0x140054366
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.1400926a0
jmp 0x140054366
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.1400926a0
jmp 0x140054366
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r12
mov rdx, rdi
call fcn.1400926a0
jmp 0x140054366
mov ecx, 2
mov rdx, rsi
call fcn.14007f630
ud2