Function at 0x140047ac0
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, 0x678
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x5e0], xmm6
mov byte [rbp + 0x4c0], r9b
mov qword [rbp + 0x438], r8
mov r12, rdx
mov qword [rbp + 0x530], rcx
movzx eax, byte [rdx + 0xa0]
mov r8, qword [rdx + 0x98]
test r8, r8
setne cl
or cl, al
mov qword [rbp + 0x5c0], rdx
je 0x140047c74
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x408], 0
test al, al
jne 0x140047cbd
mov qword [rbp + 0x5d8], r8
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x14004ba73
mov qword [rbp + 0x440], rax
mov qword [rbp + 0x448], rax
lea r12, [rbp + 0x570]
lea rbx, [rbp + 0x4d8]
lea r14, [rbp + 0x460]
nop word cs:[rax + rax]
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x448]
call fcn.140045900
mov r15, qword [rbp - 0x30]
movabs rax, 0x8000000000000000
cmp r15, rax
je 0x140047ca3
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 + 0x460], rdi
mov qword [rbp + 0x468], rax
mov word [rbp + 0x470], 0
mov rcx, rbx
mov rdx, r14
call fcn.14001d5d0
mov qword [rbp + 0x550], r15
mov qword [rbp + 0x558], rdi
movups xmmword [rbp + 0x560], xmm6
mov rax, qword [rbp + 0x4e8]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rbp + 0x4d8]
movups xmmword [r12], xmm0
mov qword [rbp + 0x460], r13
mov qword [rbp + 0x468], rsi
lea rax, [rbp]
movups xmm0, xmmword [rax]
lea rax, [rbp + 0x470]
movups xmmword [rax], xmm0
mov rcx, rbx
lea rdx, [rbp + 0x3f8]
lea r8, [rbp + 0x550]
mov r9, r14
call fcn.14000ecb0
mov rdx, qword [rbp + 0x4d8]
lea rax, [rdx*2]
test rax, rax
je 0x140047b80
mov rcx, qword [rbp + 0x4e0]
mov r8d, 1
call fcn.140001750
jmp 0x140047b80
mov qword [rbp + 0x3d8], 0
lea rax, [rbp + 0x3e0]
xor r15d, r15d
mov r14, qword [r12 + 0x10]
lea rdi, [0x1400a3b18]
test r14, r14
jne 0x140048525
jmp 0x140048a2a
mov rcx, qword [rbp + 0x440]
call sub.KERNEL32.dll_FreeEnvironmentStringsW
mov r12, qword [rbp + 0x5c0]
mov r8, qword [rbp + 0x5d8]
mov rax, qword [r12 + 0x88]
mov rcx, qword [r12 + 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 r15, [rbp + 0x4d8]
nop word [rax + rax]
mov rcx, r15
call fcn.140001960
mov rdi, rax
test rax, rax
je 0x14004833c
mov rsi, rdx
movabs rax, 0x8000000000000000
cmp qword [rdx], rax
jne 0x140048030
mov rsi, qword [rbp + 0x3f8]
test rsi, rsi
je 0x140047d30
mov r9, qword [rdi + 0x28]
mov rax, qword [rdi + 0x30]
mov r14, qword [rbp + 0x400]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x440]
mov rdx, rsi
mov r8, r14
call fcn.1400133f0
cmp dword [rbp + 0x440], 1
je 0x140047d30
mov rax, qword [rbp + 0x448]
mov rdx, qword [rbp + 0x450]
mov rcx, qword [rbp + 0x458]
mov byte [rbp + 0x428], 0
test rdx, rdx
je 0x1400481f8
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x140047e8e
mov r8, rax
and r8, 7
je 0x140047dfb
xor r9d, r9d
nop word [rax + rax]
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x140047de0
sub rax, r9
add rdx, 0xfffffffffffffffe
cmp rdx, 7
jb 0x140047e8e
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 0x140047e10
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rbp + 0x410], rcx
mov qword [rbp + 0x418], 0
mov qword [rbp + 0x420], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x410]
lea r8, [rbp + 0x428]
call fcn.140012a30
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x4b0], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x4a0], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x490], xmm3
movaps xmmword [rbp + 0x480], xmm2
movaps xmmword [rbp + 0x470], xmm1
movaps xmmword [rbp + 0x460], xmm0
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
movzx edx, word [rax + 0x3d2]
cmp rcx, rdx
jb 0x140047f37
nop
movzx ecx, word [rax + 0x3d0]
mov rax, qword [rax + 0x160]
cmp cx, word [rax + 0x3d2]
jae 0x140047f20
imul rdx, rcx, 0x38
shl rcx, 5
mov r8, qword [rax + rdx + 0x198]
mov qword [rbp + 0x580], r8
movups xmm0, xmmword [rax + rdx + 0x168]
movups xmm1, xmmword [rax + rdx + 0x178]
movups xmm2, xmmword [rax + rdx + 0x188]
movaps xmmword [rbp + 0x570], xmm2
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x550], xmm0
mov r8, qword [rbp + 0x490]
mov qword [rax + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x460]
movaps xmm1, xmmword [rbp + 0x470]
movaps xmm2, xmmword [rbp + 0x480]
movups xmmword [rax + rdx + 0x188], xmm2
movups xmmword [rax + rdx + 0x178], xmm1
movups xmmword [rax + rdx + 0x168], xmm0
movups xmm0, xmmword [rax + rcx]
movups xmm1, xmmword [rax + rcx + 0x10]
lea rdx, [rbp + 0x588]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x498]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + rcx], xmm0
movups xmmword [rax + rcx + 0x10], xmm1
movaps xmm0, xmmword [rbp + 0x550]
movaps xmm1, xmmword [rbp + 0x560]
movaps xmm2, xmmword [rbp + 0x570]
movaps xmm3, xmmword [rbp + 0x580]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp], xmm3
movaps xmm0, xmmword [rbp + 0x590]
movaps xmmword [rbp + 0x10], xmm0
mov rax, qword [rbp + 0x5a0]
mov qword [rbp + 0x20], rax
jmp 0x140048228
mov r14, qword [rdi + 0x10]
test r14, r14
js 0x14004b9a9
mov r12, qword [rdi + 8]
je 0x14004806a
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, r14
call fcn.140001740
test rax, rax
jne 0x14004806f
jmp 0x14004b9ac
mov eax, 1
mov qword [rbp + 0x5d8], rax
mov rcx, rax
mov rdx, r12
mov r8, r14
call sub.msvcrt.dll_memcpy
mov rbx, qword [rdi + 0x30]
lea r13, [rbx + rbx]
test rbx, rbx
js 0x14004b9cf
movabs rax, 0x8000000000000000
add rax, 0xfffffffffffffffe
mov r15d, 0
cmp r13, rax
ja 0x14004b9d2
movzx eax, byte [rdi + 0x18]
mov byte [rbp + 0x5d0], al
mov rdx, qword [rdi + 0x28]
test r13, r13
je 0x1400480f8
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov r15d, 2
mov rdi, rdx
mov edx, 2
mov rcx, r13
call fcn.140001740
mov rdx, rdi
mov r12, rax
mov rdi, rbx
test rax, rax
jne 0x140048100
jmp 0x14004b9d2
mov r12d, 2
xor edi, edi
mov rcx, r12
mov r8, r13
call sub.msvcrt.dll_memcpy
mov qword [rbp - 0x30], r14
mov rax, qword [rbp + 0x5d8]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r14
movzx eax, byte [rbp + 0x5d0]
mov byte [rbp - 0x18], al
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], r12
mov qword [rbp], rbx
mov rdi, qword [rsi + 0x10]
test rdi, rdi
js 0x14004b9bc
mov rbx, qword [rsi + 8]
je 0x140048171
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov r15d, 1
mov edx, 1
mov rcx, rdi
call fcn.140001740
mov r14, rax
test rax, rax
jne 0x140048177
jmp 0x14004b9bf
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
movzx eax, byte [rsi + 0x18]
mov qword [rbp + 0x550], rdi
mov qword [rbp + 0x558], r14
mov qword [rbp + 0x560], rdi
mov byte [rbp + 0x568], al
lea rcx, [rbp + 0x460]
lea rdx, [rbp + 0x3f8]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x550]
call fcn.14000ecb0
mov rdx, qword [rbp + 0x460]
lea rax, [rdx*2]
test rax, rax
lea r15, [rbp + 0x4d8]
je 0x140047d30
mov rcx, qword [rbp + 0x468]
mov r8d, 1
call fcn.140001750
jmp 0x140047d30
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 0
mov qword [rbp + 0x560], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x550]
lea r8, [rbp + 0x428]
call fcn.140012a30
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x5a0], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x590], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x580], xmm3
movaps xmmword [rbp + 0x570], xmm2
dec qword [rbp + 0x408]
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x550], xmm0
cmp byte [rbp + 0x428], 0
je 0x1400482b9
test r14, r14
je 0x14004b9ff
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.140001750
mov rdx, qword [rbp + 0x550]
mov rcx, qword [rbp + 0x558]
mov rbx, qword [rbp + 0x570]
mov r14, qword [rbp + 0x578]
mov rsi, qword [rbp + 0x588]
mov rdi, qword [rbp + 0x590]
mov rax, rdx
neg rax
jo 0x140047d30
jae 0x1400482fc
mov r8d, 1
call fcn.140001750
test rbx, rbx
je 0x140048315
add rbx, rbx
mov r8d, 2
mov rcx, r14
mov rdx, rbx
call fcn.140001750
lea rax, [rsi*2]
test rax, rax
je 0x140047d30
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140001750
jmp 0x140047d30
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 [str.10_r_]
movzx eax, byte [rax]
mov r14d, 4
mov edi, 1
mov ecx, 4
mov edx, 1
call fcn.140001740
test rax, rax
je 0x14004bae5
mov rsi, rax
mov dword [rax], 0x48544150
add rax, 4
mov qword [rbp + 0x550], rsi
mov qword [rbp + 0x558], rax
mov word [rbp + 0x560], 0
lea rcx, [rbp + 0x460]
lea rdx, [rbp + 0x550]
call fcn.14001d5d0
mov qword [rbp - 0x30], 4
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], 0
movups xmm0, xmmword [rbp + 0x460]
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [rbp + 0x470]
mov qword [rbp], rax
mov r12, qword [rbp + 0x3e0]
mov rdi, qword [rbp - 8]
test r12, r12
mov qword [rbp + 0x5c8], rsi
je 0x1400484ce
mov r14d, dword [rbp]
mov rax, qword [rbp + 0x3e8]
mov qword [rbp + 0x5d8], rax
lea rcx, [r12 + 0x168]
movzx eax, word [r12 + 0x3d2]
mov qword [rbp + 0x5d0], rax
imul rsi, rax, 0x38
lea rbx, [r12 - 0x10]
mov r15, 0xffffffffffffffff
nop
test rsi, rsi
je 0x140048490
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 r15
mov rcx, r13
cmp eax, 3
je 0x140048450
cmp eax, 1
jne 0x1400484bc
jmp 0x140048497
mov r15, qword [rbp + 0x5d0]
mov rax, qword [rbp + 0x5d8]
sub rax, 1
jb 0x140048915
mov qword [rbp + 0x5d8], rax
mov r12, qword [r12 + r15*8 + 0x3d8]
jmp 0x140048426
cmp eax, 2
jne 0x14004b924
mov r15, qword [rbx - 8]
mov rbx, qword [rbx]
jmp 0x1400484d1
xor r15d, r15d
mov r12, qword [rbp + 0x5c0]
mov edx, 4
mov r8d, 1
mov rcx, qword [rbp + 0x5c8]
call fcn.140001750
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140048509
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140001750
lea rax, [rbp + 0x3e0]
mov r14, qword [r12 + 0x10]
lea rdi, [0x1400a3b18]
test r14, r14
je 0x140048a2a
mov r13, qword [r12 + 8]
cmp r14, 4
mov qword [rbp + 0x520], rax
jae 0x140048540
lea rax, [0x140050550]
jmp 0x14004856a
mov eax, dword [r13]
bswap eax
xor ecx, ecx
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
adc ecx, 0xffffffff
lea rcx, [0x140050570]
lea rax, [0x140050550]
cmove rax, rcx
movzx esi, byte [r14 + r13 - 1]
mov ecx, esi
call rax
test al, al
jne 0x140048a2a
lea r11, [r14 + r13]
cmp r14, 3
mov qword [rbp + 0x540], r11
jbe 0x1400485ea
movzx eax, byte [r11 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x140048622
movzx eax, byte [r11 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x140048622
movzx eax, byte [r11 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x140048622
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x140048624
xor eax, eax
movabs rsi, 0x8000000000000000
nop word cs:[rax + rax]
cmp r14, rax
je 0x14004876e
movzx ecx, byte [r13 + rax]
cmp ecx, 0x2f
je 0x14004869a
inc rax
cmp ecx, 0x5c
jne 0x140048600
jmp 0x14004869a
xor eax, eax
xor ecx, ecx
movabs rsi, 0x8000000000000000
cmp r14, rcx
je 0x14004876e
movzx edx, byte [r13 + rcx]
cmp edx, 0x2f
je 0x14004864c
inc rcx
cmp edx, 0x5c
jne 0x140048630
test al, al
je 0x14004869a
lea rcx, [rbp - 0x30]
mov rdx, r13
mov r8, r14
call fcn.14004e410
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
cmp rcx, rsi
jne 0x1400488d9
mov qword [rbp + 0x448], rax
mov qword [rbp + 0x440], rsi
mov rax, qword [rbp + 0x440]
mov rdi, qword [rbp + 0x448]
cmp rax, rsi
jne 0x140048ad0
jmp 0x140048a2a
test r14, r14
js 0x14004bae3
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov edi, 1
mov edx, 1
mov rcx, r14
call fcn.140001740
test rax, rax
je 0x14004bae5
mov rsi, rax
mov rcx, rax
mov rdx, r13
mov r8, r14
call sub.msvcrt.dll_memcpy
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0
lea rdx, str..exeprogram_not_found
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.14004fa10
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x20]
lea rcx, [rbp + 0x550]
mov rdx, rdi
mov r8, rbx
call fcn.14004c250
movabs rax, 0x8000000000000000
cmp qword [rbp + 0x550], rax
jne 0x14004883c
mov rcx, rdi
mov rdx, rbx
call fcn.140037160
test rax, rax
je 0x14004899d
cmp rdx, 2
jne 0x14004885d
cmp word [rax], 0x2e2e
jne 0x14004885d
mov r8d, 2
xor ecx, ecx
jmp 0x140048950
xor r8d, r8d
lea rdi, str.nul_byte_found_in_provided_data
mov rax, r13
jmp 0x14004878c
xor r8d, r8d
test cx, cx
je 0x140048a2a
mov cx, 1
test r8w, r8w
jne 0x140048780
cmp rax, r11
je 0x1400488a4
movzx r8d, byte [rax]
test r8b, r8b
js 0x1400487b0
inc rax
mov edx, r8d
jmp 0x14004880c
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x140048802
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x140048816
movzx r8d, byte [rax + 3]
add rax, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
cmp edx, 0xffff
jbe 0x14004880c
jmp 0x140048828
add rax, 2
shl edx, 6
or edx, r10d
xor r8d, r8d
mov ecx, edx
jmp 0x140048783
add rax, 3
shl edx, 0xc
or edx, r9d
cmp edx, 0xffff
jbe 0x14004880c
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x140048783
mov rax, qword [rbp + 0x560]
mov qword [rbp + 0x450], rax
movups xmm0, xmmword [rbp + 0x550]
movaps xmmword [rbp + 0x440], xmm0
jmp 0x1400489f3
xor r10d, r10d
mov r8, rax
nop word cs:[rax + rax]
cmp rdx, r10
je 0x140048924
mov r9, r10
lea rcx, [r8 - 1]
inc r10
cmp byte [r8 + rdx - 1], 0x2e
mov r8, rcx
jne 0x140048870
mov r8, rdx
sub r8, r10
jne 0x140048947
xor ecx, ecx
mov r8, rdx
jmp 0x140048950
cmp r14, 0xf
ja 0x14004892e
mov qword [rbp + 0x538], 0
xor eax, eax
nop dword [rax + rax]
cmp byte [r13 + rax], 0x2e
je 0x140048ebb
inc rax
cmp r14, rax
jne 0x1400488c0
jmp 0x140048ec7
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rcx, [rbp + 0x440]
lea rdx, [rbp - 0x30]
call fcn.14003fde0
mov rax, qword [rbp + 0x440]
mov rdi, qword [rbp + 0x448]
cmp rax, rsi
je 0x140048a2a
jmp 0x140048ad0
mov r12, qword [rbp + 0x5c0]
xor r15d, r15d
jmp 0x1400484d8
mov rcx, rax
mov r8, rdx
xor eax, eax
jmp 0x140048950
mov cl, 0x2e
mov rdx, r13
mov r8, r14
call fcn.140089950
mov qword [rbp + 0x538], rax
jmp 0x140048ec7
add rcx, rdx
inc rcx
mov rdx, r9
test rax, rax
cmovne rcx, rax
test rcx, rcx
je 0x14004899d
test rax, rax
cmove r8, rdx
add rcx, r8
sub rcx, rdi
je 0x14004899a
cmp rbx, rcx
jbe 0x140048993
cmp byte [rdi + rcx], 0xbf
jg 0x140048995
lea rcx, [0x1400a269a]
lea r8, str.std_src_sys_commonwtf8.rsassertion_failed:_is_code_point_boundary_self__new_len_
mov edx, 0x37
call fcn.140083860
jmp 0x14004bb58
jne 0x140048976
cmp rbx, rcx
jb 0x14004899d
mov rbx, rcx
lea rcx, [rbp - 0x30]
mov rdx, rdi
mov r8, rbx
call fcn.14004e410
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
movabs rdx, 0x8000000000000000
cmp rcx, rdx
jne 0x1400489d3
mov qword [rbp + 0x448], rax
mov qword [rbp + 0x440], rdx
jmp 0x1400489f3
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rcx, [rbp + 0x440]
lea rdx, [rbp - 0x30]
call fcn.14003fde0
test rsi, rsi
je 0x140048a09
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140001750
movabs rsi, 0x8000000000000000
mov rax, qword [rbp + 0x440]
mov rdi, qword [rbp + 0x448]
cmp rax, rsi
jne 0x140048ad0
mov rax, qword [rbp + 0x530]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
cmp qword [rbp + 0x3d8], 0
je 0x140048aa0
mov rcx, qword [rbp + 0x3e0]
test rcx, rcx
je 0x140048a87
mov rdx, qword [rbp + 0x3e8]
mov rax, qword [rbp + 0x3f0]
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 8], 0
mov qword [rbp], rcx
mov qword [rbp + 8], rdx
mov ecx, 1
jmp 0x140048a8b
xor ecx, ecx
xor eax, eax
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x30]
call fcn.1400039d0
mov rax, qword [rbp + 0x438]
cmp dword [rax], 4
jb 0x140048ab5
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_CloseHandle
movaps xmm6, xmmword [rbp + 0x5e0]
add rsp, 0x678
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0x5c8], r13
mov qword [rbp + 0x538], rax
mov rbx, qword [rbp + 0x450]
mov rsi, rdi
cmp rbx, 4
mov qword [rbp + 0x5d8], rsi
mov qword [rbp + 0x528], rbx
jb 0x140049b75
movabs rax, 0x5c003f003f005c
lea rcx, [rax + 0x1d0000]
cmp rcx, qword [rsi]
je 0x140048b1f
cmp rax, qword [rsi]
jne 0x140049b75
cmp rbx, 4
mov r14, qword [rbp + 0x5c8]
je case.0x140048b65.68
mov rax, qword [rbp + 0x5d8]
cmp word [rax + rbx*2 - 0xa], 0x2e
jne case.0x140048b65.68
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 8]
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x140048b65.68
lea rdx, [0x14009ead8]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rcx, qword [rbp + 0x5d8]
movzx ecx, word [rcx + rbx*2 - 6]
or ecx, 0x20
cmp ecx, 0x61
jne 0x140048b93
mov rcx, qword [rbp + 0x5d8]
movzx ecx, word [rcx + rbx*2 - 4]
or ecx, 0x20
cmp ecx, 0x74
je 0x140049db6
cmp ax, 0x43
jne case.0x140048b65.68
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 6]
or eax, 0x20
cmp eax, 0x6d
jne case.0x140048b65.68
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 4]
add eax, 0xffffffbc
test eax, 0xffdf
je 0x140049db6
mov rsi, qword [r12 + 0x28]
mov rdi, qword [r12 + 0x30]
movzx ebx, byte [r12 + 0xc9]
mov qword [rbp + 0x550], 0
mov qword [rbp + 0x558], 2
mov qword [rbp + 0x560], 0
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov rax, qword [rbp + 0x558]
mov word [rax], 0x22
mov qword [rbp + 0x560], 1
mov qword [rbp - 0x30], r14
mov rax, qword [rbp + 0x540]
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x550]
lea rdx, [rbp - 0x30]
call fcn.14001d440
mov r14, qword [rbp + 0x560]
cmp r14, qword [rbp + 0x550]
jne 0x140048c5f
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov rax, qword [rbp + 0x558]
mov word [rax + r14*2], 0x22
inc r14
mov qword [rbp + 0x560], r14
shl rdi, 3
lea r15, [rdi + rdi*4]
lea rdi, [rbp + 0x550]
nop word cs:[rax + rax]
test r15, r15
je 0x140048d06
mov r14, qword [rbp + 0x560]
cmp r14, qword [rbp + 0x550]
jne 0x140048cad
mov rcx, rdi
call fcn.1400144f0
mov rax, qword [rbp + 0x558]
mov word [rax + r14*2], 0x20
inc r14
mov qword [rbp + 0x560], r14
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
call fcn.14003f910
mov r14, rax
add rsi, 0x28
add r15, 0xffffffffffffffd8
test rax, rax
je 0x140048c90
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x140048d23
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140001750
jmp 0x140048d23
mov rax, qword [rbp + 0x550]
mov r14, qword [rbp + 0x558]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x140048d32
mov rax, qword [rbp + 0x530]
mov qword [rax], r14
jmp 0x14004a1ac
mov rsi, qword [rbp + 0x560]
mov dword [rbp + 0x540], 0
mov rcx, qword [rbp + 0x538]
mov qword [rbp + 0x5c8], rcx
mov rcx, qword [rbp + 0x5d8]
mov qword [rbp + 0x5d0], rcx
mov qword [rbp + 0x410], rax
mov qword [rbp + 0x418], r14
mov qword [rbp + 0x420], rsi
cmp rsi, rax
jne 0x140048d8c
lea rcx, [rbp + 0x410]
call fcn.1400144f0
mov r14, qword [rbp + 0x418]
mov word [r14 + rsi*2], 0
inc rsi
mov qword [rbp + 0x420], rsi
cmp byte [r12 + 0xc8], 0
mov eax, 0x608
mov rcx, r12
mov r12d, 0x400
cmovne r12d, eax
or r12d, dword [rcx + 0xc4]
test byte [rbp + 0x3d8], 1
je 0x140048e26
mov rax, qword [rbp + 0x520]
mov rdi, qword [rax + 0x10]
mov qword [rbp + 0x450], rdi
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x440], xmm0
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
test rdi, rdi
movabs rsi, 0x8000000000000000
je 0x14004a484
mov r15d, 2
xor r13d, r13d
jmp 0x14004a4bb
mov eax, 2
mov qword [rbp + 0x520], rax
xor r15d, r15d
xor r14d, r14d
movabs rax, 0x8000000000000000
mov rcx, qword [rbp + 0x5c0]
cmp qword [rcx + 0x38], rax
jne 0x14004b25b
mov eax, 2
mov qword [rbp + 0x528], rax
xor esi, esi
xor r13d, r13d
xorps xmm0, xmm0
movaps xmmword [rbp + 0x440], xmm0
mov qword [rbp + 0x450], 0
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x1400d3148], cl
jne 0x14004b3d4
mov rax, qword [0x1400d3120]
movabs rcx, 0x8000000000000000
dec rcx
mov qword [rbp + 0x548], rcx
test rax, rcx
je 0x14004a8e3
call fcn.14003e100
xor al, 1
jmp 0x14004a8e5
mov eax, 1
mov qword [rbp + 0x538], rax
test r15, r15
mov qword [rbp + 0x5d0], r14
mov qword [rbp + 0x5c8], r13
je 0x1400492b2
add rbx, r15
mov qword [rbp + 0x460], r15
mov qword [rbp + 0x468], rbx
mov word [rbp + 0x470], 0
mov byte [rbp + 0x478], 1
lea rcx, [rbp + 0x550]
lea rdx, [rbp + 0x460]
call fcn.140045aa0
mov rdx, qword [rbp + 0x550]
cmp rdx, rsi
je 0x1400492b2
movzx eax, byte [rbp + 0x478]
movzx edi, word [rbp + 0x470]
mov r15, qword [rbp + 0x460]
mov rbx, qword [rbp + 0x468]
jmp 0x140048f95
movabs rax, 0x8000000000000000
mov qword [rbp + 0x550], rax
mov r12, qword [rbp + 0x5c0]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x140048f79
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140001750
mov rdx, qword [rbp + 0x550]
mov eax, esi
movabs rsi, 0x8000000000000000
cmp rdx, rsi
je 0x1400492b2
mov byte [rbp + 0x5d8], al
mov rcx, qword [rbp + 0x558]
mov rax, qword [rbp + 0x560]
test rax, rax
jne 0x1400491f2
test rdx, rdx
je 0x140048fc2
mov r8d, 1
call fcn.140001750
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov eax, 2
xor r12d, r12d
mov esi, edi
xor r13d, r13d
jmp 0x140048fff
mov rax, qword [rbp + 0x4e0]
mov word [rax + r12*2], r14w
inc r12
mov qword [rbp + 0x4e8], r12
mov r14d, esi
test si, si
je 0x140049030
nop
xor edi, edi
xor esi, esi
cmp r14w, 0x22
je 0x140049120
jmp 0x140049140
cmp r15, rbx
je 0x140049180
movzx ecx, byte [r15]
test cl, cl
js 0x140049060
inc r15
mov r14d, ecx
xor esi, esi
cmp r14w, 0x22
je 0x140049120
jmp 0x140049140
mov r14d, ecx
and r14d, 0x1f
movzx r8d, byte [r15 + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x1400490de
movzx edx, byte [r15 + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp cl, 0xf0
jb 0x1400490f4
movzx ecx, byte [r15 + 3]
add r15, 4
and r14d, 7
shl r14d, 0x12
shl edx, 6
and ecx, 0x3f
or ecx, edx
or r14d, ecx
cmp r14d, 0xffff
jbe 0x140049108
lea ecx, [r14 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov edi, r14d
mov esi, r14d
mov r14d, ecx
cmp r14w, 0x22
je 0x140049120
jmp 0x140049140
add r15, 2
shl r14d, 6
or r14d, r8d
xor esi, esi
cmp r14w, 0x22
je 0x140049120
jmp 0x140049140
add r15, 3
shl r14d, 0xc
or r14d, edx
cmp r14d, 0xffff
ja 0x1400490ae
xor esi, esi
cmp r14w, 0x22
jne 0x140049140
nop word cs:[rax + rax]
xor r13b, 1
mov r14d, esi
test si, si
jne 0x140049010
jmp 0x140049030
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x140049153
test r13b, 1
je 0x1400491ed
cmp r12, qword [rbp + 0x4d8]
jne 0x140048ff7
lea rcx, [rbp + 0x4d8]
call fcn.1400144f0
jmp 0x140048ff0
xor esi, esi
mov r14, qword [rbp + 0x5d0]
test r12, r12
setne al
movzx ecx, byte [rbp + 0x5d8]
or cl, al
test cl, 1
mov r13, qword [rbp + 0x5c8]
je 0x140048f40
mov rdx, qword [rbp + 0x4e0]
lea rcx, [rbp - 0x30]
mov r8, r12
call fcn.140033cc0
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x560], xmm1
movaps xmmword [rbp + 0x550], xmm0
mov r12, qword [rbp + 0x5c0]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
jne 0x140048f64
jmp 0x140048f79
mov sil, 1
jmp 0x140049182
movzx r8d, byte [rbp + 0x5d8]
mov byte [rbp + 0x478], r8b
mov word [rbp + 0x470], di
mov qword [rbp + 0x460], r15
mov r8, qword [rbp + 0x568]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], r8
lea rcx, [rbp - 0x30]
mov rdx, r13
mov r8, r14
call fcn.140035d30
cmp qword [rbp + 0x538], 1
je 0x140049255
mov r8d, 3
lea rcx, [rbp - 0x30]
lea rdx, str.exe.NULexit_code:
call fcn.140036a40
mov r12, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x550]
mov rdx, r12
call fcn.14004c250
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x140049283
mov r8d, 1
mov rcx, r12
call fcn.140001750
mov rax, qword [rbp + 0x550]
cmp rax, rsi
jne 0x14004b3ba
lea rcx, [rbp + 0x550]
lea rdx, [rbp + 0x460]
call fcn.140045aa0
mov r12, qword [rbp + 0x5c0]
jmp 0x140048f12
lea rcx, [rbp + 0x550]
call fcn.140045cf0
mov rax, rsi
mov rsi, qword [rbp + 0x550]
cmp rsi, rax
jne 0x140049328
mov rax, qword [rbp + 0x558]
mov ecx, eax
and ecx, 3
cmp ecx, 1
jne 0x14004940f
lea rsi, [rax - 1]
mov rdi, qword [rax - 1]
mov rbx, qword [rax + 7]
mov rax, qword [rbx]
test rax, rax
je 0x1400492fb
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140049310
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140001750
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140001750
jmp 0x14004940f
mov rdi, qword [rbp + 0x558]
mov rbx, qword [rbp + 0x560]
mov r14, qword [rbp + 0x568]
mov rcx, rdi
mov rdx, rbx
call case.0x1400363b9.21
test rax, rax
je 0x140049384
test rdx, rdx
je 0x140049381
cmp rbx, rdx
jbe 0x14004937a
cmp byte [rdi + rdx], 0xbf
jg 0x14004937c
lea rcx, [0x1400a269a]
lea r8, str.std_src_sys_commonwtf8.rsassertion_failed:_is_code_point_boundary_self__new_len_
mov edx, 0x37
call fcn.140083860
jmp 0x14004bb58
jne 0x14004935d
cmp rbx, rdx
jb 0x140049384
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, r13
mov r8, qword [rbp + 0x5d0]
call fcn.140035d30
cmp qword [rbp + 0x538], 1
je 0x1400493c7
lea rdx, str.exe.NULexit_code:
lea rcx, [rbp - 0x30]
mov r8d, 3
call fcn.140036a40
mov rsi, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.14004c250
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x1400493f5
mov r8d, 1
mov rcx, rsi
call fcn.140001750
mov rcx, qword [rbp + 0x460]
movabs rax, 0x8000000000000000
cmp rcx, rax
jne 0x1400498ff
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor r14d, r14d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jb 0x140049476
jmp 0x140049490
mov r12, qword [rbp + 0x5c0]
jae 0x140049559
cmp r8, 0x201
jae 0x140049490
mov ebx, 0x200
lea r15, [rbp - 0x30]
mov r12, r8
jmp 0x1400494f6
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x1400494ce
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x4d8]
mov rdx, rdi
call fcn.1400145b0
mov r14, qword [rbp + 0x4d8]
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x5d8], 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 + 0x5d8]
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 0x14004951b
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140049646
mov r8d, esi
cmp r12, r8
jne 0x140049460
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004ba39
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jae 0x140049490
jmp 0x140049476
cmp rbx, r8
jb 0x14004bb2c
lea rcx, [rbp + 0x550]
mov rdx, r15
call fcn.140033cc0
mov r13, qword [rbp + 0x5c8]
mov r8, qword [rbp + 0x5d0]
lea rcx, [rbp + 0x550]
mov rdx, r13
call fcn.140035d30
cmp qword [rbp + 0x538], 1
je 0x1400495b1
lea rdx, str.exe.NULexit_code:
lea rcx, [rbp + 0x550]
mov r8d, 3
call fcn.140036a40
mov rsi, qword [rbp + 0x558]
mov r8, qword [rbp + 0x560]
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.14004c250
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x1400495e8
mov r8d, 1
mov rcx, rsi
call fcn.140001750
mov rdi, qword [rbp + 0x460]
mov rsi, qword [rbp + 0x468]
mov rbx, qword [rbp + 0x470]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14004961e
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140001750
movabs rcx, 0x8000000000000000
lea rax, [rcx + 2]
cmp rdi, rax
mov rax, rdi
jge 0x140049b56
mov rdx, rax
lea rax, [rcx + 1]
cmp rdx, rax
je 0x140049676
jmp 0x1400496c3
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x140049672
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140001750
or rsi, 2
mov eax, esi
and eax, 3
cmp eax, 1
jne 0x1400496c3
mov rax, rsi
dec rsi
mov rdi, qword [rax - 1]
mov rbx, qword [rax + 7]
mov rax, qword [rbx]
test rax, rax
je 0x14004969b
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400496b0
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140001750
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140001750
mov qword [rbp + 0x4d8], 0
mov qword [rbp + 0x4e0], 2
mov qword [rbp + 0x4e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d8], rax
xor r14d, r14d
xor r13d, r13d
xor edi, edi
cmp r8, 0x201
jb 0x140049726
jmp 0x140049740
mov r12, qword [rbp + 0x5c0]
jae 0x140049809
cmp r8, 0x201
jae 0x140049740
mov ebx, 0x200
lea r15, [rbp - 0x30]
mov r12, r8
jmp 0x1400497a6
sub r8, rdi
sub r13, rdi
cmp r13, r8
jae 0x14004977e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x4d8]
mov rdx, rdi
call fcn.1400145b0
mov r14, qword [rbp + 0x4d8]
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x5d8], 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 + 0x5d8]
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 0x1400497cb
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140049915
mov r8d, esi
cmp r12, r8
jne 0x140049710
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004ba56
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jae 0x140049740
jmp 0x140049726
cmp rbx, r8
jb 0x14004bb43
lea rcx, [rbp + 0x550]
mov rdx, r15
call fcn.140033cc0
mov r13, qword [rbp + 0x5c8]
mov r14, qword [rbp + 0x5d0]
lea rcx, [rbp + 0x550]
mov rdx, r13
mov r8, r14
call fcn.140035d30
cmp qword [rbp + 0x538], 1
je 0x140049864
lea rdx, str.exe.NULexit_code:
lea rcx, [rbp + 0x550]
mov r8d, 3
call fcn.140036a40
mov rsi, qword [rbp + 0x558]
mov r8, qword [rbp + 0x560]
lea rcx, [rbp + 0x460]
mov rdx, rsi
call fcn.14004c250
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14004989b
mov r8d, 1
mov rcx, rsi
call fcn.140001750
mov rbx, qword [rbp + 0x460]
mov rdi, qword [rbp + 0x468]
mov r15, qword [rbp + 0x470]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x1400498d1
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140001750
movabs rsi, 0x8000000000000000
lea rax, [rsi + 2]
cmp rbx, rax
mov rax, rbx
jge 0x140049b50
mov rcx, rax
lea rax, [rsi + 1]
cmp rcx, rax
mov rcx, rdi
je 0x140049960
jmp 0x1400499b5
mov rax, rcx
mov rsi, qword [rbp + 0x468]
mov rbx, qword [rbp + 0x470]
jmp 0x140049b56
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x140049941
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140001750
or rsi, 2
mov rcx, rsi
movabs rsi, 0x8000000000000000
mov r13, qword [rbp + 0x5c8]
mov r14, qword [rbp + 0x5d0]
mov eax, ecx
and eax, 3
cmp eax, 1
jne 0x1400499b5
lea rsi, [rcx - 1]
mov rdi, qword [rcx - 1]
mov rbx, qword [rcx + 7]
mov rax, qword [rbx]
test rax, rax
je 0x140049983
mov rcx, rdi
call rax
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140049998
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140001750
mov edx, 0x18
mov r8d, 8
mov rcx, rsi
call fcn.140001750
movabs rsi, 0x8000000000000000
lea rdx, [0x1400a2614]
lea rcx, [rbp + 0x460]
mov r8d, 4
call fcn.140026a70
mov rax, rsi
mov rsi, qword [rbp + 0x460]
cmp rsi, rax
je 0x140049b44
mov rdi, qword [rbp + 0x468]
mov rax, qword [rbp + 0x470]
add rax, rdi
mov qword [rbp + 0x550], rdi
mov qword [rbp + 0x558], rax
mov word [rbp + 0x560], 0
mov byte [rbp + 0x568], 1
lea rbx, [rbp - 0x30]
lea r15, [rbp + 0x550]
mov rcx, rbx
mov rdx, r15
call fcn.140045aa0
jmp 0x140049a33
mov rcx, rbx
mov rdx, r15
call fcn.140045aa0
mov rdx, qword [rbp - 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x140049b2e
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140049a69
test rdx, rdx
je 0x140049a28
mov r8d, 1
call fcn.140001750
jmp 0x140049a28
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, rbx
mov rdx, r13
mov r8, r14
call fcn.140035d30
cmp qword [rbp + 0x538], 1
je 0x140049aaa
mov r8d, 3
mov rcx, rbx
lea rdx, str.exe.NULexit_code:
call fcn.140036a40
mov r12, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x4d8]
mov rdx, r12
call fcn.14004c250
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x140049ad8
mov r8d, 1
mov rcx, r12
call fcn.140001750
mov rcx, qword [rbp + 0x4d8]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x140049a1b
mov rax, rcx
mov rbx, qword [rbp + 0x4e0]
mov r14, qword [rbp + 0x4e8]
test rsi, rsi
mov r12, qword [rbp + 0x5c0]
je 0x140049b26
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
mov rsi, rax
call fcn.140001750
mov rax, rsi
mov rsi, rbx
mov rbx, r14
jmp 0x140049b56
test rsi, rsi
je 0x140049b44
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140001750
lea rdi, str.4__n_
jmp 0x140048a2a
mov rsi, rdi
mov rbx, r15
mov qword [rbp + 0x538], rax
cmp rbx, 4
mov qword [rbp + 0x5d8], rsi
mov qword [rbp + 0x528], rbx
jae 0x140048b00
mov qword [rbp + 0x550], 0
mov qword [rbp + 0x558], 2
mov qword [rbp + 0x560], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x5d0], rax
xor r13d, r13d
xor esi, esi
xor r14d, r14d
cmp r8, 0x201
jb 0x140049bcf
jmp 0x140049be0
jae 0x140049cb0
cmp r8, 0x201
jae 0x140049be0
mov r12d, 0x200
lea rbx, [rbp - 0x30]
mov rdi, r8
jmp 0x140049c47
sub r8, r14
sub rsi, r14
cmp rsi, r8
jae 0x140049c1e
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r14
call fcn.1400145b0
mov r13, qword [rbp + 0x550]
mov rax, qword [rbp + 0x558]
mov qword [rbp + 0x5d0], rax
mov eax, 0xffffffff
cmp r13, rax
mov r14d, 0xffffffff
cmovb r14, r13
mov qword [rbp + 0x560], r14
mov rsi, r13
mov r12, r14
mov rbx, qword [rbp + 0x5d0]
mov rdi, r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rbp + 0x5d8]
mov edx, edi
mov r8, rbx
xor r9d, r9d
call sub.KERNEL32.dll_GetFullPathNameW
mov r15d, eax
test eax, eax
jne 0x140049c72
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140049cd4
mov r8d, r15d
cmp rdi, r8
jne 0x140049bc0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004b9e2
add rdi, rdi
mov eax, 0xffffffff
cmp rdi, rax
cmovae rdi, rax
mov r8, rdi
cmp r8, 0x201
jae 0x140049be0
jmp 0x140049bcf
cmp r12, r8
jb 0x14004baf2
cmp r15d, 4
mov r14, qword [rbp + 0x5c8]
jae 0x140049d13
xor esi, esi
mov r12, qword [rbp + 0x5c0]
jmp case.0x140049d41.68
call sub.KERNEL32.dll_GetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x140049d04
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140001750
mov rax, qword [rbp + 0x530]
mov qword [rax], rsi
jmp 0x14004a1ac
cmp word [rbx + r8*2 - 8], 0x2e
mov r12, qword [rbp + 0x5c0]
jne 0x140049d8a
movzx eax, word [rbx + r8*2 - 6]
xor esi, esi
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x140049d41.68
lea rdx, [0x14009ea50]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
movzx ecx, word [rbx + r8*2 - 4]
or ecx, 0x20
cmp ecx, 0x61
jne 0x140049d62
movzx ecx, word [rbx + r8*2 - 2]
mov sil, 1
or ecx, 0x20
cmp ecx, 0x74
je case.0x140049d41.68
cmp ax, 0x43
jne 0x140049d8a
movzx eax, word [rbx + r8*2 - 4]
or eax, 0x20
cmp eax, 0x6d
jne 0x140049d8a
movzx eax, word [rbx + r8*2 - 2]
add eax, 0xffffffbc
test eax, 0xffdf
sete sil
jmp case.0x140049d41.68
xor esi, esi
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x140049dad
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140001750
test sil, sil
je case.0x140048b65.68
mov qword [rbp + 0x550], 0
lea rax, [rbp + 0x558]
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x558], 2
mov qword [rbp + 0x560], 0
mov esi, 0x200
mov eax, 2
mov qword [rbp + 0x5d0], rax
mov qword [rbp + 0x5c8], 0
xor r15d, r15d
xor ebx, ebx
cmp rsi, 0x201
jb 0x140049e2f
jmp 0x140049e40
jae 0x140049f12
cmp rsi, 0x201
jae 0x140049e40
mov r13d, 0x200
lea r14, [rbp - 0x30]
mov r12, rsi
jmp 0x140049eb4
sub rsi, rbx
sub r15, rbx
cmp r15, rsi
jae 0x140049e88
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, rbx
mov r8, rsi
call fcn.1400145b0
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x5c8], rax
mov rax, qword [rbp + 0x558]
mov qword [rbp + 0x5d0], rax
mov eax, 0xffffffff
mov r15, qword [rbp + 0x5c8]
cmp r15, rax
mov ebx, 0xffffffff
cmovb rbx, r15
mov qword [rbp + 0x560], rbx
mov r13, rbx
mov r14, qword [rbp + 0x5d0]
mov r12, rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r14
mov edx, r12d
call sub.KERNEL32.dll_GetSystemDirectoryW
mov edi, eax
test eax, eax
jne 0x140049ed5
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140049f54
mov esi, edi
cmp r12, rsi
jne 0x140049e20
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14004ba1c
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov rsi, r12
cmp rsi, 0x201
jae 0x140049e40
jmp 0x140049e2f
cmp r13, rsi
jb 0x14004bb09
lea r12, [rsi + rsi]
test edi, edi
je 0x140049f90
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r12
call fcn.140001740
mov rbx, rax
test rax, rax
jne 0x140049f95
mov ecx, 2
mov rdx, r12
call fcn.140075ad5
jmp 0x14004bb58
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x140049f84
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
mov rsi, rax
call fcn.140001750
mov rax, rsi
or rax, 2
mov rcx, rax
jmp 0x14004a1a2
mov ebx, 2
mov rcx, rbx
mov rdx, r14
mov r8, r12
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x140049fc4
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140001750
mov qword [rbp + 0x460], rsi
lea rax, [rbp + 0x468]
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x468], rbx
mov qword [rbp + 0x470], rsi
lea r12, str.cmd.exemaximum_number_of_ProcThreadAttributes_exceeded
xor r13d, r13d
lea rdi, [rbp + 0x460]
xor r15d, r15d
jmp 0x14004a00f
mov r15d, ecx
mov word [rbx + rsi*2], r14w
inc rsi
mov qword [rbp + 0x470], rsi
test r12, r12
je 0x14004a080
test r15w, r15w
je 0x14004a05f
xor ecx, ecx
mov r14d, r15d
cmp rsi, qword [rbp + 0x460]
jne 0x140049ffd
lea rax, str.cmd.exemaximum_number_of_ProcThreadAttributes_exceeded
sub rax, r12
add rax, 0xa
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
mov r8, rdx
shr r8, 1
cmp cx, 1
mov rax, r13
adc rax, 0xffffffffffffffff
sub r8, rax
inc r8
mov r15d, ecx
jmp 0x14004a0ac
lea rax, [0x1400a3b90]
cmp r12, rax
je 0x14004a080
movzx ecx, byte [r12]
test cl, cl
js 0x14004a0d5
inc r12
mov r14d, ecx
xor ecx, ecx
jmp 0x14004a01f
cmp r13, 1
je 0x14004a177
mov r13d, 1
xor r14d, r14d
mov r12d, 0
mov r8d, 0
cmp rsi, qword [rbp + 0x460]
jne 0x14004a000
inc r8
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.1400145b0
mov rbx, qword [rbp + 0x468]
jmp 0x14004a000
mov r14d, ecx
and r14d, 0x1f
movzx edx, byte [r12 + 1]
and edx, 0x3f
cmp cl, 0xdf
jbe 0x14004a11f
movzx eax, byte [r12 + 2]
shl edx, 6
and eax, 0x3f
or eax, edx
cmp cl, 0xf0
jb 0x14004a131
movzx ecx, byte [r12 + 3]
add r12, 4
and r14d, 7
shl r14d, 0x12
shl eax, 6
and ecx, 0x3f
or ecx, eax
or ecx, r14d
mov r14d, ecx
jmp 0x14004a13f
add r12, 2
shl r14d, 6
or r14d, edx
xor ecx, ecx
jmp 0x14004a01f
add r12, 3
shl r14d, 0xc
or eax, r14d
mov r14d, eax
cmp r14d, 0xffff
ja 0x14004a14f
xor ecx, ecx
jmp 0x14004a01f
lea eax, [r14 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov ecx, r14d
mov r14d, eax
jmp 0x14004a01f
mov rcx, qword [rbp + 0x460]
mov rax, qword [rbp + 0x468]
mov qword [rbp + 0x5d0], rax
movabs rax, 0x8000000000000000
cmp rcx, rax
jne 0x14004a1e6
mov rcx, qword [rbp + 0x5d0]
mov rax, qword [rbp + 0x530]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
mov sil, 1
mov rdx, qword [rbp + 0x538]
test rdx, rdx
je 0x14004a1d8
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d8]
call fcn.140001750
test sil, sil
jne 0x140048a3c
jmp 0x140048aa0
mov qword [rbp + 0x5c8], rcx
xor esi, esi
test sil, sil
jne 0x14004bb1d
mov rax, qword [rbp + 0x5c0]
mov rcx, qword [rax + 0x28]
mov qword [rbp + 0x548], rcx
mov rcx, qword [rax + 0x30]
mov qword [rbp + 0x540], rcx
movzx eax, byte [rax + 0xc9]
mov byte [rbp + 0x4c8], al
mov rax, qword [str.10_r_]
movzx eax, byte [rax]
mov esi, 2
mov ecx, 0x14
mov edx, 2
call fcn.140001740
test rax, rax
je 0x14004bb1d
mov ecx, 0xa
mov word [rax], 0x63
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x28]
mov qword [rbp + 0x4d0], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], 1
lea r12, [0x1400a33a5]
mov esi, 1
xor ebx, ebx
lea r13, [0x1400a33c0]
lea r15, [0x1400a33a4]
lea rdi, [rbp - 0x30]
jmp 0x14004a2e3
mov rax, r15
sub rax, r12
add rax, 0x1e
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
cmp r14w, 1
sbb rdx, 0
lea r8, [rdx + 2]
mov qword [rsp + 0x20], 2
mov r9d, 2
mov rcx, rdi
mov rdx, rsi
call fcn.1400145b0
mov rax, qword [rbp - 0x28]
mov word [rax + rsi*2], bx
inc rsi
mov qword [rbp - 0x20], rsi
mov ebx, r14d
test bx, bx
je 0x14004a300
xor r14d, r14d
cmp rsi, qword [rbp - 0x30]
jne 0x14004a2d5
jmp 0x14004a290
cmp r12, r13
je 0x14004a3d6
movzx ecx, byte [r12]
test cl, cl
js 0x14004a325
inc r12
mov ebx, ecx
xor r14d, r14d
cmp rsi, qword [rbp - 0x30]
jne 0x14004a2d5
jmp 0x14004a290
mov ebx, ecx
and ebx, 0x1f
movzx r8d, byte [r12 + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x14004a376
movzx edx, byte [r12 + 2]
shl r8d, 6
and edx, 0x3f
or edx, r8d
cmp cl, 0xf0
jb 0x14004a392
movzx ecx, byte [r12 + 3]
add r12, 4
and ebx, 7
shl ebx, 0x12
shl edx, 6
and ecx, 0x3f
or ecx, edx
or ebx, ecx
cmp ebx, 0xffff
jbe 0x14004a2e8
jmp 0x14004a3a7
add r12, 2
shl ebx, 6
or ebx, r8d
xor r14d, r14d
cmp rsi, qword [rbp - 0x30]
jne 0x14004a2d5
jmp 0x14004a290
add r12, 3
shl ebx, 0xc
or ebx, edx
cmp ebx, 0xffff
jbe 0x14004a2e8
lea ecx, [rbx + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and ebx, 0x3ff
or ebx, 0xdc00
mov r14d, ebx
mov ebx, ecx
cmp rsi, qword [rbp - 0x30]
jne 0x14004a2d5
jmp 0x14004a290
mov rsi, qword [rbp - 0x20]
mov qword [rbp + 0x560], rsi
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp + 0x550], xmm0
cmp rsi, qword [rbp + 0x550]
mov r12, qword [rbp + 0x5c0]
mov rbx, qword [rbp + 0x528]
jne 0x14004a40f
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov r15, qword [rbp + 0x558]
mov word [r15 + rsi*2], 0x22
inc rsi
mov qword [rbp + 0x560], rsi
lea rax, [rbx + rbx]
xor ecx, ecx
lea r14, str.Windows_file_names_may_not_contain_____or_end_with___
mov rdx, qword [rbp + 0x5d8]
cmp rax, rcx
je 0x14004a450
cmp word [rdx + rcx], 0x22
lea rcx, [rcx + 2]
jne 0x14004a43b
jmp 0x14004b15e
test rbx, rbx
je 0x14004aa58
mov rax, qword [rbp + 0x5d8]
movzx eax, word [rax + rbx*2 - 2]
cmp ax, 0x5c
je 0x14004b15e
xor edi, edi
test ax, ax
mov rax, qword [rbp + 0x5d8]
cmove rdi, rax
jmp 0x14004aa61
mov sil, 1
lea rcx, [rbp + 0x4d8]
call fcn.1400144f0
mov r15, qword [rbp + 0x4e0]
mov word [r15], 0
mov qword [rbp + 0x4e8], 1
mov r13d, 1
movabs rsi, 0x8000000000000000
mov rax, qword [rbp + 0x440]
mov rcx, qword [rbp + 0x448]
xor edx, edx
test rax, rax
setne dl
cmove rdi, rax
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], 0
mov qword [rbp], rax
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rdi
lea rcx, [rbp + 0x550]
lea rdx, [rbp - 0x30]
call fcn.140010600
mov rax, qword [rbp + 0x550]
test rax, rax
je 0x14004b1f2
mov r9, qword [rbp + 0x560]
imul r8, r9, 0x38
mov rdx, qword [rax + r8 + 0x168]
cmp rdx, rsi
je 0x14004b1f2
mov qword [rbp + 0x4c8], r15
mov rcx, qword [rax + r8 + 0x170]
mov rdi, qword [rax + r8 + 0x188]
mov r10, qword [rax + r8 + 0x190]
mov qword [rbp + 0x528], r10
mov rbx, qword [rax + r8 + 0x198]
shl r9, 5
mov r10, qword [rax + r9]
mov qword [rbp + 0x520], r10
mov r10, qword [rax + r9 + 8]
mov qword [rbp + 0x548], r10
mov rsi, qword [rax + r9 + 0x10]
mov rax, qword [rax + r8 + 0x178]
add rax, rcx
xor r11d, r11d
mov r8, rcx
jmp 0x14004a5ab
xor r11d, r11d
test r9w, r9w
je 0x14004a88d
mov r9w, 1
test r11w, r11w
jne 0x14004a59e
cmp r8, rax
je 0x14004a65f
movzx r11d, byte [r8]
test r11b, r11b
js 0x14004a5d0
inc r8
mov r10d, r11d
jmp 0x14004a63e
mov r10d, r11d
and r10d, 0x1f
movzx r14d, byte [r8 + 1]
and r14d, 0x3f
cmp r11b, 0xdf
jbe 0x14004a61d
movzx r15d, byte [r8 + 2]
shl r14d, 6
and r15d, 0x3f
or r15d, r14d
cmp r11b, 0xf0
jb 0x14004a62a
movzx r11d, byte [r8 + 3]
add r8, 4
and r10d, 7
shl r10d, 0x12
shl r15d, 6
and r11d, 0x3f
or r11d, r15d
or r10d, r11d
jmp 0x14004a635
add r8, 2
shl r10d, 6
or r10d, r14d
jmp 0x14004a63e
add r8, 3
shl r10d, 0xc
or r10d, r15d
cmp r10d, 0xffff
ja 0x14004a649
xor r11d, r11d
mov r9d, r10d
jmp 0x14004a5a1
and r10d, 0x3ff
or r10d, 0xdc00
mov r11d, r10d
jmp 0x14004a5a1
test rdx, rdx
je 0x14004a66f
mov r8d, 1
call fcn.140001750
mov rax, qword [rbp + 0x4d8]
sub rax, r13
cmp rax, rbx
jae 0x14004a6af
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x4d8]
mov rdx, r13
mov r8, rbx
call fcn.1400145b0
mov rax, qword [rbp + 0x4e0]
mov r13, qword [rbp + 0x4e8]
jmp 0x14004a6b6
mov rax, qword [rbp + 0x4c8]
lea r8, [rbx + rbx]
mov r14, rax
lea rcx, [rax + r13*2]
mov r15, qword [rbp + 0x528]
mov rdx, r15
call sub.msvcrt.dll_memcpy
add r13, rbx
mov qword [rbp + 0x4e8], r13
test rdi, rdi
je 0x14004a6f3
add rdi, rdi
mov r8d, 2
mov rcx, r15
mov rdx, rdi
call fcn.140001750
cmp r13, qword [rbp + 0x4d8]
jne 0x14004a70f
lea rcx, [rbp + 0x4d8]
call fcn.1400144f0
mov r14, qword [rbp + 0x4e0]
mov word [r14 + r13*2], 0x3d
inc r13
mov qword [rbp + 0x4e8], r13
mov rax, qword [rbp + 0x548]
add rsi, rax
xor r8d, r8d
mov rdi, qword [rbp + 0x520]
jmp 0x14004a742
xor r8d, r8d
test cx, cx
je 0x14004a9f4
mov cx, 1
test r8w, r8w
jne 0x14004a736
cmp rax, rsi
je 0x14004a7ec
movzx r8d, byte [rax]
test r8b, r8b
js 0x14004a766
inc rax
mov edx, r8d
jmp 0x14004a7ce
mov edx, r8d
and edx, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp r8b, 0xdf
jbe 0x14004a7b0
movzx r9d, byte [rax + 2]
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
cmp r8b, 0xf0
jb 0x14004a7bc
movzx r8d, byte [rax + 3]
add rax, 4
and edx, 7
shl edx, 0x12
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
or edx, r8d
jmp 0x14004a7c6
add rax, 2
shl edx, 6
or edx, r10d
jmp 0x14004a7ce
add rax, 3
shl edx, 0xc
or edx, r9d
cmp edx, 0xffff
ja 0x14004a7d8
xor r8d, r8d
mov ecx, edx
jmp 0x14004a739
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x14004a739
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x14004b918
mov rax, qword [rbp + 0x548]
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], rsi
mov word [rbp + 0x470], 0
lea rcx, [rbp + 0x4d8]
lea rdx, [rbp + 0x460]
call fcn.14001d440
test rdi, rdi
movabs rsi, 0x8000000000000000
je 0x14004a854
mov r8d, 1
mov rcx, qword [rbp + 0x548]
mov rdx, rdi
call fcn.140001750
mov r13, qword [rbp + 0x4e8]
cmp r13, qword [rbp + 0x4d8]
jne 0x14004a870
lea rcx, [rbp + 0x4d8]
call fcn.1400144f0
mov r15, qword [rbp + 0x4e0]
mov word [r15 + r13*2], 0
inc r13
mov qword [rbp + 0x4e8], r13
jmp 0x14004a501
test rdx, rdx
je 0x14004a89d
mov r8d, 1
call fcn.140001750
mov rdx, qword [rbp + 0x520]
test rdx, rdx
mov rsi, qword [rbp + 0x528]
je 0x14004a8c2
mov r8d, 1
mov rcx, qword [rbp + 0x548]
call fcn.140001750
lea r15, str.nul_byte_found_in_provided_data
test rdi, rdi
je 0x14004aa15
add rdi, rdi
mov r8d, 2
mov rcx, rsi
jmp 0x14004aa0d
xor eax, eax
lea rcx, [0x1400d3148]
movzx edx, byte [0x1400d3149]
xor r8d, r8d
test dl, dl
setne r8b
mov qword [rbp + 0x4e0], rcx
mov byte [rbp + 0x4e8], al
mov qword [rbp + 0x4d8], r8
mov qword [rbp + 0x460], 0
mov qword [rbp + 0x470], 0
mov qword [rbp + 0x480], 0
cmp byte [rbp + 0x4c0], 0
lea rax, [rbp + 0x428]
mov rdx, qword [rbp + 0x438]
cmovne rax, rdx
mov dword [rbp + 0x428], 2
mov r8, qword [rbp + 0x5c0]
lea rcx, [r8 + 0x58]
cmp dword [r8 + 0x58], 6
cmove rcx, rax
cmp dword [r8 + 0x68], 6
lea rdi, [r8 + 0x68]
cmove rdi, rdx
lea rbx, [r8 + 0x78]
cmp dword [r8 + 0x78], 6
cmove rbx, rdx
lea r8, [rbp + 0x460]
mov edx, 0xfffffff6
call fcn.14004c390
mov qword [rbp + 0x4c0], rdx
test rax, rax
je 0x14004a9bd
mov rax, qword [rbp + 0x530]
mov rcx, qword [rbp + 0x4c0]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
jmp 0x14004b7e3
lea r8, [rbp + 0x470]
mov rcx, rdi
mov edx, 0xfffffff5
call fcn.14004c390
mov rdi, rdx
test rax, rax
je 0x14004b1be
mov rax, qword [rbp + 0x530]
mov qword [rax], rdi
mov qword [rax + 0x10], 2
jmp 0x14004b7c2
lea r15, str.nul_byte_found_in_provided_data
test rdi, rdi
je 0x14004aa15
mov r8d, 1
mov rcx, qword [rbp + 0x548]
mov rdx, rdi
call fcn.140001750
xor esi, esi
lea rcx, [rbp - 0x30]
call fcn.1400039d0
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x14004aa41
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140001750
mov rax, qword [rbp + 0x530]
mov qword [rax], r15
mov qword [rax + 0x10], 2
jmp 0x14004b8c2
xor edi, edi
mov rax, qword [rbp + 0x5d8]
mov rcx, rbx
dec rbx
test rdi, rdi
cmove rbx, rcx
cmove rdi, rax
mov r14, qword [rbp + 0x550]
mov rax, r14
sub rax, rsi
cmp rax, rbx
jae 0x14004aaba
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x550]
mov r9d, 2
mov rdx, rsi
mov r8, rbx
call fcn.1400145b0
mov rsi, qword [rbp + 0x560]
mov r14, qword [rbp + 0x550]
mov r15, qword [rbp + 0x558]
lea r8, [rbx + rbx]
lea rcx, [r15 + rsi*2]
mov rdx, rdi
call sub.msvcrt.dll_memcpy
add rsi, rbx
mov qword [rbp + 0x560], rsi
cmp rsi, r14
jne 0x14004aaec
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov r15, qword [rbp + 0x558]
mov word [r15 + rsi*2], 0x22
inc rsi
mov qword [rbp + 0x560], rsi
mov rax, qword [rbp + 0x540]
test rax, rax
je 0x14004b734
lea rax, [rax + rax*4]
mov r15, qword [rbp + 0x548]
lea rax, [r15 + rax*8]
mov qword [rbp + 0x528], rax
movaps xmm6, xmmword [0x14009ea40]
lea r14, str.batch_file_arguments_are_invalid
mov rsi, qword [rbp + 0x560]
cmp rsi, qword [rbp + 0x550]
jne 0x14004ab4d
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov rdi, qword [rbp + 0x558]
mov word [rdi + rsi*2], 0x20
lea r13, [rsi + 1]
mov qword [rbp + 0x560], r13
cmp dword [r15], 1
jne 0x14004ab9d
lea rcx, [rbp + 0x550]
mov rdx, r15
movzx r8d, byte [rbp + 0x4c8]
call fcn.14003f910
test rax, rax
jne 0x14004b784
add r15, 0x28
cmp r15, qword [rbp + 0x528]
jne 0x14004ab31
jmp 0x14004b72d
mov rbx, qword [r15 + 0x10]
mov rax, qword [r15 + 0x18]
lea rcx, [rbx + rax]
mov qword [rbp + 0x540], rcx
xor ecx, ecx
cmp rax, rcx
je 0x14004abd7
movzx edx, byte [rbx + rcx]
cmp dl, 0xd
sete r8b
cmp dl, 0xa
sete dl
or dl, r8b
inc rcx
test dl, dl
je 0x14004abb2
jmp 0x14004b15e
xor r9d, r9d
mov rcx, rbx
jmp 0x14004abeb
xor r9d, r9d
test dx, dx
je 0x14004b157
mov dx, 1
test r9w, r9w
jne 0x14004abdf
cmp rcx, qword [rbp + 0x540]
je 0x14004aca2
movzx r9d, byte [rcx]
test r9b, r9b
js 0x14004ac13
inc rcx
mov r8d, r9d
jmp 0x14004ac81
mov r8d, r9d
and r8d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp r9b, 0xdf
jbe 0x14004ac60
movzx r10d, byte [rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp r9b, 0xf0
jb 0x14004ac6d
movzx r9d, byte [rcx + 3]
add rcx, 4
and r8d, 7
shl r8d, 0x12
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
or r8d, r9d
jmp 0x14004ac78
add rcx, 2
shl r8d, 6
or r8d, r11d
jmp 0x14004ac81
add rcx, 3
shl r8d, 0xc
or r8d, r10d
cmp r8d, 0xffff
ja 0x14004ac8c
xor r9d, r9d
mov edx, r8d
jmp 0x14004abe2
and r8d, 0x3ff
or r8d, 0xdc00
mov r9d, r8d
jmp 0x14004abe2
mov qword [rbp + 0x548], r15
test rax, rax
je 0x14004adc4
cmp byte [rax + rbx - 1], 0x5c
sete r15b
or r15b, byte [rbp + 0x4c8]
mov r12, rbx
jmp 0x14004acd4
cmp r12, qword [rbp + 0x540]
je 0x14004adbe
movzx edx, byte [r12]
test dl, dl
js 0x14004ace4
inc r12
mov ecx, edx
jmp 0x14004ad40
mov ecx, edx
and ecx, 0x1f
movzx r8d, byte [r12 + 1]
and r8d, 0x3f
cmp dl, 0xdf
jbe 0x14004ad29
movzx eax, byte [r12 + 2]
shl r8d, 6
and eax, 0x3f
or eax, r8d
cmp dl, 0xf0
jb 0x14004ad35
movzx edx, byte [r12 + 3]
add r12, 4
and ecx, 7
shl ecx, 0x12
shl eax, 6
and edx, 0x3f
or edx, eax
or edx, ecx
jmp 0x14004ace0
add r12, 2
shl ecx, 6
or ecx, r8d
jmp 0x14004ad40
add r12, 3
shl ecx, 0xc
or eax, ecx
mov ecx, eax
mov eax, ecx
and eax, 0x1ff800
cmp eax, 0xd800
sete al
cmp ecx, 0x110000
sete dl
or dl, al
jne 0x14004acc7
cmp ecx, 0x80
jae 0x14004ad9f
lea eax, [rcx - 0x30]
cmp eax, 0xa
jb 0x14004ad9f
mov eax, ecx
and eax, 0x5f
add eax, 0xffffffbf
cmp eax, 0x19
jbe 0x14004ad9f
xor eax, eax
lea rdx, [0x1400a3398]
movzx edx, byte [rax + rdx]
cmp dl, cl
je 0x14004ad9b
lea r8, [rax + 1]
cmp rax, 0xb
mov rax, r8
jne 0x14004ad7f
cmp dl, cl
jne 0x14004adac
call fcn.140099360
test al, al
je 0x14004acc7
mov r15b, 1
cmp r12, qword [rbp + 0x540]
jne 0x14004acd4
jmp 0x14004adc4
test r15b, 1
je 0x14004adff
cmp r13, qword [rbp + 0x550]
jne 0x14004ade0
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov rdi, qword [rbp + 0x558]
mov word [rdi + rsi*2 + 2], 0x22
add rsi, 2
mov qword [rbp + 0x560], rsi
mov al, 1
mov dword [rbp + 0x4d0], eax
mov r13, rsi
jmp 0x14004ae09
mov dword [rbp + 0x4d0], 0
xor r12d, r12d
xor esi, esi
jmp 0x14004ae29
mov rdi, qword [rbp + 0x558]
mov word [rdi + r13*2], r12w
inc r13
mov qword [rbp + 0x560], r13
mov r12d, r15d
test r12w, r12w
je 0x14004ae37
xor r15d, r15d
jmp 0x14004aee4
cmp rbx, qword [rbp + 0x540]
je 0x14004b063
movzx eax, byte [rbx]
test al, al
js 0x14004ae59
inc rbx
mov r12d, eax
xor r15d, r15d
jmp 0x14004aee4
mov r12d, eax
and r12d, 0x1f
movzx edx, byte [rbx + 1]
and edx, 0x3f
cmp al, 0xdf
jbe 0x14004ae98
movzx ecx, byte [rbx + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp al, 0xf0
jb 0x14004aea8
movzx eax, byte [rbx + 3]
add rbx, 4
and r12d, 7
shl r12d, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or r12d, eax
jmp 0x14004aeb3
add rbx, 2
shl r12d, 6
or r12d, edx
xor r15d, r15d
jmp 0x14004aee4
add rbx, 3
shl r12d, 0xc
or r12d, ecx
cmp r12d, 0xffff
jbe 0x14004ae2f
lea eax, [r12 + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r12d, 0x3ff
or r12d, 0xdc00
mov r15d, r12d
mov r12d, eax
movzx eax, r12w
cmp eax, 0x24
jg 0x14004af45
cmp eax, 0xd
je 0x14004af5b
cmp eax, 0x22
jne 0x14004b043
mov rax, qword [rbp + 0x550]
mov rcx, rax
sub rcx, r13
cmp rcx, rsi
jae 0x14004afc0
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r13
mov r8, rsi
call fcn.1400145b0
mov rdi, qword [rbp + 0x558]
mov r13, qword [rbp + 0x560]
jmp 0x14004afc5
cmp eax, 0x25
je 0x14004af5b
cmp eax, 0x5c
jne 0x14004b043
inc rsi
jmp 0x14004b045
mov rax, qword [rbp + 0x550]
sub rax, r13
cmp rax, 6
ja 0x14004af9d
mov qword [rsp + 0x20], 2
mov r8d, 7
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r13
call fcn.1400145b0
mov rdi, qword [rbp + 0x558]
mov r13, qword [rbp + 0x560]
movabs rax, 0x2c007e003a0064
mov qword [rdi + r13*2 + 6], rax
movabs rax, 0x64006300250025
mov qword [rdi + r13*2], rax
add r13, 7
jmp 0x14004b03c
test rsi, rsi
je 0x14004b013
cmp rsi, 0x10
jae 0x14004afcf
xor eax, eax
jmp 0x14004affa
mov rax, rsi
and rax, 0xfffffffffffffff0
lea rcx, [rdi + r13*2]
add rcx, 0x10
add r13, rax
xor edx, edx
movups xmmword [rcx + rdx*2 - 0x10], xmm6
movups xmmword [rcx + rdx*2], xmm6
add rdx, 0x10
cmp rax, rdx
jne 0x14004afe3
cmp rsi, rax
je 0x14004b00c
sub rsi, rax
mov word [rdi + r13*2], 0x5c
inc r13
dec rsi
jne 0x14004affd
mov rax, qword [rbp + 0x550]
mov qword [rbp + 0x560], r13
cmp r13, rax
jne 0x14004b032
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov rdi, qword [rbp + 0x558]
mov word [rdi + r13*2], 0x22
inc r13
mov qword [rbp + 0x560], r13
xor esi, esi
cmp r13, qword [rbp + 0x550]
jne 0x14004ae17
lea rcx, [rbp + 0x550]
call fcn.1400144f0
jmp 0x14004ae10
cmp byte [rbp + 0x4d0], 0
mov r12, qword [rbp + 0x5c0]
mov r15, qword [rbp + 0x548]
je 0x14004ab8b
mov rax, qword [rbp + 0x550]
mov rcx, rax
sub rcx, r13
cmp rcx, rsi
jae 0x14004b0c1
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x550]
mov rdx, r13
mov r8, rsi
call fcn.1400145b0
mov rdi, qword [rbp + 0x558]
mov r13, qword [rbp + 0x560]
jmp 0x14004b0c6
test rsi, rsi
je 0x14004b122
cmp rsi, 0x10
jae 0x14004b0d0
xor eax, eax
jmp 0x14004b0fb
mov rax, rsi
and rax, 0xfffffffffffffff0
lea rcx, [rdi + r13*2]
add rcx, 0x10
add r13, rax
xor edx, edx
movups xmmword [rcx + rdx*2 - 0x10], xmm6
movups xmmword [rcx + rdx*2], xmm6
add rdx, 0x10
cmp rax, rdx
jne 0x14004b0e4
cmp rsi, rax
je 0x14004b10d
sub rsi, rax
mov word [rdi + r13*2], 0x5c
inc r13
dec rsi
jne 0x14004b0fe
mov rax, qword [rbp + 0x550]
mov r12, qword [rbp + 0x5c0]
mov r15, qword [rbp + 0x548]
mov qword [rbp + 0x560], r13
cmp r13, rax
jne 0x14004b141
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov rdi, qword [rbp + 0x558]
mov word [rdi + r13*2], 0x22
inc r13
mov qword [rbp + 0x560], r13
jmp 0x14004ab8b
lea r14, str.nul_byte_found_in_provided_data
mov rdx, qword [rbp + 0x550]
test rdx, rdx
je 0x14004b17f
mov rcx, qword [rbp + 0x558]
add rdx, rdx
mov r8d, 2
call fcn.140001750
mov rax, qword [rbp + 0x530]
mov qword [rax], r14
mov qword [rax + 0x10], 2
mov sil, 1
mov rdx, qword [rbp + 0x5c8]
test rdx, rdx
je 0x14004a1b7
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d0]
call fcn.140001750
jmp 0x14004a1b7
lea r8, [rbp + 0x480]
mov rcx, rbx
mov edx, 0xfffffff4
call fcn.14004c390
test rax, rax
je 0x14004b3e5
mov rax, qword [rbp + 0x530]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
jmp 0x14004b7ba
xor esi, esi
lea rcx, [rbp - 0x30]
call fcn.1400039d0
cmp r13, qword [rbp + 0x4d8]
jne 0x14004b21b
xor esi, esi
lea rcx, [rbp + 0x4d8]
call fcn.1400144f0
mov r15, qword [rbp + 0x4e0]
mov word [r15 + r13*2], 0
mov r14, qword [rbp + 0x4d8]
movabs rax, 0x8000000000000000
cmp r14, rax
je 0x14004aa41
mov rcx, qword [rbp + 0x4e0]
mov qword [rbp + 0x520], rcx
mov rcx, qword [rbp + 0x5c0]
cmp qword [rcx + 0x38], rax
je 0x140048e53
mov rax, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x48]
add rcx, rax
xor r10d, r10d
mov rdx, rax
jmp 0x14004b27b
xor r10d, r10d
test r8w, r8w
je 0x14004b32c
mov r8w, 1
test r10w, r10w
jne 0x14004b26e
cmp rdx, rcx
je 0x14004b34a
movzx r10d, byte [rdx]
test r10b, r10b
js 0x14004b2a0
inc rdx
mov r9d, r10d
jmp 0x14004b30b
mov r9d, r10d
and r9d, 0x1f
movzx esi, byte [rdx + 1]
and esi, 0x3f
cmp r10b, 0xdf
jbe 0x14004b2ea
movzx r11d, byte [rdx + 2]
shl esi, 6
and r11d, 0x3f
or r11d, esi
cmp r10b, 0xf0
jb 0x14004b2f7
movzx r10d, byte [rdx + 3]
add rdx, 4
and r9d, 7
shl r9d, 0x12
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
or r9d, r10d
jmp 0x14004b302
add rdx, 2
shl r9d, 6
or r9d, esi
jmp 0x14004b30b
add rdx, 3
shl r9d, 0xc
or r9d, r11d
cmp r9d, 0xffff
ja 0x14004b316
xor r10d, r10d
mov r8d, r9d
jmp 0x14004b271
and r9d, 0x3ff
or r9d, 0xdc00
mov r10d, r9d
jmp 0x14004b271
lea rsi, str.nul_byte_found_in_provided_data
mov rax, qword [rbp + 0x530]
mov qword [rax], rsi
mov qword [rax + 0x10], 2
jmp 0x14004b8a5
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x550]
lea rdx, [rbp - 0x30]
call fcn.14001d5d0
mov r13, qword [rbp + 0x550]
mov rdi, qword [rbp + 0x560]
cmp rdi, r13
jne 0x14004b38e
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov r13, qword [rbp + 0x550]
mov rsi, qword [rbp + 0x558]
mov word [rsi + rdi*2], 0
mov qword [rbp + 0x528], rsi
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x140048e64
jmp 0x14004b333
mov rsi, qword [rbp + 0x558]
mov rbx, qword [rbp + 0x560]
mov r12, qword [rbp + 0x5c0]
jmp 0x140049b56
lea rcx, [0x1400d3148]
call fcn.140051630
jmp 0x140048e8b
xorps xmm0, xmm0
movups xmmword [rbp + 0x584], xmm0
movups xmmword [rbp + 0x578], xmm0
movups xmmword [rbp + 0x568], xmm0
movups xmmword [rbp + 0x558], xmm0
movups xmmword [rbp + 0x598], xmm0
movups xmmword [rbp + 0x5a8], xmm0
test rdx, rdx
jne 0x14004b47a
test rdi, rdi
jne 0x14004b47a
mov eax, 1
cmp qword [rbp + 0x4c0], 0
jne 0x14004b47a
mov r8, qword [rbp + 0x5c0]
cmp byte [r8 + 0xc0], 1
jne 0x14004b4b6
movzx ecx, word [r8 + 0xc2]
mov dword [rbp + 0x58c], eax
mov word [rbp + 0x590], cx
mov qword [rbp + 0x4c8], rdx
mov rbx, qword [r8 + 0xb8]
test rbx, rbx
jne 0x14004b4c9
mov dword [rbp + 0x550], 0x68
lea rax, [rbp + 0x550]
jmp 0x14004b56a
mov dword [rbp + 0x58c], 0x100
mov rax, qword [rbp + 0x4c0]
mov qword [rbp + 0x5a0], rax
mov qword [rbp + 0x5a8], rdi
mov qword [rbp + 0x5b0], rdx
mov eax, 0x101
mov r8, qword [rbp + 0x5c0]
cmp byte [r8 + 0xc0], 1
je 0x14004b43c
mov qword [rbp + 0x4c8], rdx
mov rbx, qword [r8 + 0xb8]
test rbx, rbx
je 0x14004b464
add r8, 0xa8
mov dword [rbp + 0x550], 0x70
lea rcx, [rbp + 0x3f8]
mov rdx, r8
call fcn.14004cd10
mov rdx, qword [rbp + 0x3f8]
mov rcx, qword [rbp + 0x400]
test rdx, rdx
je 0x14004b79c
mov qword [rbp + 0x5c0], rcx
or r12d, 0x80000
mov rax, qword [rbp + 0x5b0]
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [rbp + 0x5a0]
movaps xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0x590]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rbp + 0x550]
movups xmm1, xmmword [rbp + 0x560]
movups xmm2, xmmword [rbp + 0x570]
movups xmm3, xmmword [rbp + 0x580]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp + 0x4d0], rdx
mov qword [rbp + 0x38], rdx
lea rax, [rbp - 0x30]
mov rdx, qword [rbp + 0x418]
lea rcx, [rbp + 0x440]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp + 0x5d0]
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_CreateProcessW
test eax, eax
je 0x14004b6ed
movups xmm0, xmmword [rbp + 0x460]
movups xmm1, xmmword [rbp + 0x470]
movups xmm2, xmmword [rbp + 0x480]
mov rax, qword [rbp + 0x530]
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [rbp + 0x440]
movups xmmword [rax], xmm0
test rbx, rbx
je 0x14004b5fd
mov rcx, qword [rbp + 0x4d0]
mov rdx, qword [rbp + 0x5c0]
call fcn.1400057c0
mov rcx, qword [rbp + 0x4c8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rbp + 0x4c0]
call sub.KERNEL32.dll_CloseHandle
cmp dword [rbp + 0x428], 4
jb 0x14004b632
mov rcx, qword [rbp + 0x430]
call sub.KERNEL32.dll_CloseHandle
lea rcx, [rbp + 0x4d8]
call fcn.140004110
test r13, r13
je 0x14004b65b
add r13, r13
mov r8d, 2
mov rcx, qword [rbp + 0x528]
mov rdx, r13
call fcn.140001750
test r14, r14
je 0x14004b678
add r14, r14
mov r8d, 2
mov rcx, qword [rbp + 0x520]
mov rdx, r14
call fcn.140001750
mov rdx, qword [rbp + 0x410]
test rdx, rdx
je 0x14004b699
mov rcx, qword [rbp + 0x418]
add rdx, rdx
mov r8d, 2
call fcn.140001750
mov rdx, qword [rbp + 0x5c8]
test rdx, rdx
je 0x14004b6ba
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d0]
call fcn.140001750
mov rdx, qword [rbp + 0x538]
test rdx, rdx
setne al
test byte [rbp + 0x540], al
je 0x140048aa0
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d8]
call fcn.140001750
jmp 0x140048aa0
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x530]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
test rbx, rbx
je 0x14004b7ae
mov rcx, qword [rbp + 0x4d0]
mov rdx, qword [rbp + 0x5c0]
call fcn.1400057c0
jmp 0x14004b7ae
mov rsi, qword [rbp + 0x560]
mov rax, qword [rbp + 0x550]
cmp rsi, rax
jne 0x14004b753
lea rcx, [rbp + 0x550]
call fcn.1400144f0
mov rax, qword [rbp + 0x550]
mov r14, qword [rbp + 0x558]
mov word [r14 + rsi*2], 0x22
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x14004b17f
inc rsi
mov cl, 1
mov dword [rbp + 0x540], ecx
jmp 0x140048d5f
mov r14, rax
mov rdx, qword [rbp + 0x550]
test rdx, rdx
jne 0x14004b16a
jmp 0x14004b17f
mov rax, qword [rbp + 0x530]
mov qword [rax], rcx
mov qword [rax + 0x10], 2
mov rcx, qword [rbp + 0x4c8]
call sub.KERNEL32.dll_CloseHandle
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
mov rcx, qword [rbp + 0x4c0]
call sub.KERNEL32.dll_CloseHandle
cmp dword [rbp + 0x428], 4
jb 0x14004b7e3
mov rcx, qword [rbp + 0x430]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rbp + 0x460], 0
je 0x14004b7f9
mov rcx, qword [rbp + 0x468]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rbp + 0x470], 0
je 0x14004b80f
mov rcx, qword [rbp + 0x478]
call sub.KERNEL32.dll_CloseHandle
cmp qword [rbp + 0x480], 0
je 0x14004b825
mov rcx, qword [rbp + 0x488]
call sub.KERNEL32.dll_CloseHandle
mov rsi, qword [rbp + 0x4e0]
movzx eax, byte [rbp + 0x4e8]
test byte [rbp + 0x4d8], 1
je 0x14004b857
test al, al
jne 0x14004b878
mov rax, qword [0x1400d3120]
test qword [rbp + 0x548], rax
je 0x14004b878
call fcn.14003e100
jmp 0x14004b870
test al, al
jne 0x14004b878
mov rax, qword [0x1400d3120]
test qword [rbp + 0x548], rax
je 0x14004b878
call fcn.14003e100
test al, al
jne 0x14004b878
mov byte [rsi + 1], 1
xor eax, eax
xchg byte [rsi], al
cmp al, 2
jne 0x14004b888
mov rcx, rsi
call sub.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle
test r13, r13
je 0x14004b8a5
add r13, r13
mov r8d, 2
mov rcx, qword [rbp + 0x528]
mov rdx, r13
call fcn.140001750
test r14, r14
je 0x14004b8c2
add r14, r14
mov r8d, 2
mov rcx, qword [rbp + 0x520]
mov rdx, r14
call fcn.140001750
mov rdx, qword [rbp + 0x410]
test rdx, rdx
je 0x14004b8e3
mov rcx, qword [rbp + 0x418]
add rdx, rdx
mov r8d, 2
call fcn.140001750
mov rdx, qword [rbp + 0x5c8]
test rdx, rdx
je 0x14004b904
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x5d0]
call fcn.140001750
cmp byte [rbp + 0x540], 0
je 0x140048aa0
xor esi, esi
jmp 0x14004a1b7
mov r15, qword [rbp + 0x548]
jmp 0x14004aa15
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4d8], rax
lea rax, [rbp + 0x4d8]
mov qword [rbp + 0x460], rax
lea rax, [0x14002b5d0]
mov qword [rbp + 0x468], rax
lea rax, str.H:_n_
mov qword [rbp + 0x550], rax
mov qword [rbp + 0x558], 1
mov qword [rbp + 0x570], 0
lea rax, [rbp + 0x460]
mov qword [rbp + 0x560], rax
mov qword [rbp + 0x568], 1
lea rdx, str.std_src_syspalwindowsprocess.rs
lea rcx, [rbp + 0x550]
call fcn.1400837e0
jmp 0x14004bb58
xor r15d, r15d
mov rcx, r15
mov rdx, r14
call fcn.140075ad5
jmp 0x14004bb58
xor r15d, r15d
mov rcx, r15
mov rdx, rdi
call fcn.140075ad5
jmp 0x14004bb58
xor r15d, r15d
mov rcx, r15
mov rdx, r13
call fcn.140075ad5
jmp 0x14004bb58
lea rcx, [0x14009fb90]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140083860
jmp 0x14004bb58
lea rcx, str.assertion_failed:_self.height___0
lea r8, str._rustc_90b35a6239c3d8bdabc530a6a0816f7ff89a0aaflibrary_alloc_srccollections_btree_node.rsassertion_failed:_edge.height__self.height___1
mov edx, 0x21
call fcn.140083860
jmp 0x14004bb58
lea rcx, [0x14009fb90]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140083860
jmp 0x14004bb58
lea rcx, [0x14009fb90]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140083860
jmp 0x14004bb58
lea rcx, [0x14009fb90]
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140083860
jmp 0x14004bb58
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x460], rax
lea rax, [rbp + 0x460]
mov qword [rbp + 0x550], rax
lea rax, [0x14002b5d0]
mov qword [rbp + 0x558], 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 + 0x550]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, str.std_src_syspalwindowsos.rs
lea rcx, [rbp - 0x30]
call fcn.1400837e0
jmp 0x14004bb58
xor edi, edi
mov rcx, rdi
mov rdx, r14
call fcn.140075ad5
jmp 0x14004bb58
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.14008a020
jmp 0x14004bb58
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, rsi
mov rdx, r13
call fcn.14008a020
jmp 0x14004bb58
mov edx, 0x14
mov rcx, rsi
call fcn.140075ad5
jmp 0x14004bb58
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.14008a020
jmp 0x14004bb58
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.14008a020
ud2