Function at 0x140015290
Capabilities:
Create process on windows
Encode data using base64
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, 0x6a8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x610], xmm6
mov qword [rbp + 0x608], 0xfffffffffffffffe
mov byte [rbp + 0x428], r9b
mov qword [rbp + 0x478], r8
mov qword [rbp + 0x538], rcx
mov r8, qword [rdx + 0x60]
movzx eax, byte [rdx + 0x68]
test al, al
mov qword [rbp + 0x568], rdx
jne 0x140015312
test r8, r8
jne 0x140015312
mov qword [rbp + 0x3e0], 0
xor r12d, r12d
mov r15, qword [rdx + 0x40]
lea rbx, [0x141374088]
test r15, r15
jne 0x140015d74
jmp 0x140015dbb
mov qword [rbp + 0x4b8], 0
mov qword [rbp + 0x4c8], 0
test al, al
jne 0x1400154b5
mov qword [rbp + 0x5e8], r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400188c7
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x408], rax
lea r13, [rbp - 0x10]
lea rsi, [rbp + 0x598]
lea rdi, [rbp + 0x400]
lea rbx, [rbp + 0x430]
lea r14, [rbp + 0x4e0]
lea r15, [rbp + 0x4b8]
lea r12, [rbp + 0x580]
nop word cs:[rax + rax]
lea rcx, [rbp - 0x30]
mov rdx, rdi
call fcn.1400132a0
cmp byte [rbp - 0x18], 2
je 0x14001549a
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x550], xmm1
movaps xmmword [rbp + 0x540], xmm0
movdqu xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movaps xmmword [rbp + 0x4a0], xmm1
movdqa xmmword [rbp + 0x490], xmm0
mov rax, qword [rbp + 0x540]
mov rcx, qword [rbp + 0x550]
add rcx, rax
mov qword [rbp + 0x4e0], rax
mov qword [rbp + 0x4e8], rcx
mov word [rbp + 0x4f0], 0
mov rcx, rbx
mov rdx, r14
call fcn.140008980
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rbp + 0x430]
movaps xmmword [rbp + 0x580], xmm0
mov rax, qword [rbp + 0x440]
mov qword [rbp + 0x590], rax
movdqu xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movaps xmmword [rbp + 0x4f0], xmm1
movdqa xmmword [rbp + 0x4e0], xmm0
mov byte [rbp + 0x5e7], 0
mov rcx, rbx
mov rdx, r15
mov r8, r12
mov r9, r14
call fcn.140004ba0
cmp byte [rbp + 0x448], 2
je 0x140015390
mov rdx, qword [rbp + 0x438]
test rdx, rdx
je 0x140015390
mov rcx, qword [rbp + 0x430]
mov r8d, 1
call fcn.140001f00
jmp 0x140015390
mov rcx, qword [rbp + 0x400]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rdx, qword [rbp + 0x568]
mov r8, qword [rbp + 0x5e8]
mov rax, qword [rdx + 0x50]
mov rcx, qword [rdx + 0x58]
xor edx, edx
test rax, rax
setne dl
cmove r8, rax
mov qword [rbp + 0x430], rdx
mov qword [rbp + 0x438], 0
mov qword [rbp + 0x440], rax
mov qword [rbp + 0x448], rcx
mov qword [rbp + 0x450], rdx
mov qword [rbp + 0x458], 0
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], rcx
mov qword [rbp + 0x470], r8
lea r14, [rbp + 0x430]
nop word [rax + rax]
mov rcx, r14
call fcn.140001f70
mov r15, rax
test rax, rax
je 0x140015b5f
mov rbx, rdx
cmp byte [rdx + 0x18], 2
jne 0x140015720
mov rbx, qword [rbp + 0x4b8]
test rbx, rbx
je 0x140015520
mov r9, qword [r15]
mov rax, qword [r15 + 0x10]
mov r15, qword [rbp + 0x4c0]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x490]
mov rdx, rbx
mov r8, r15
call fcn.140007e10
cmp qword [rbp + 0x490], 0
jne 0x140015520
mov rax, qword [rbp + 0x498]
mov rdx, qword [rbp + 0x4a0]
mov rcx, qword [rbp + 0x4a8]
mov byte [rbp + 0x5f7], 0
test rdx, rdx
je 0x1400158df
mov rcx, qword [rax + rcx*8 + 0x3d8]
mov rax, rdx
dec rax
je 0x14001567e
add rdx, 0xfffffffffffffffe
mov r8, rax
and r8, 7
je 0x1400155eb
xor r9d, r9d
nop word cs:[rax + rax]
movzx r10d, word [rcx + 0x3d2]
mov rcx, qword [rcx + r10*8 + 0x3d8]
inc r9
cmp r8, r9
jne 0x1400155d0
sub rax, r9
cmp rdx, 7
jb 0x14001567e
nop word cs:[rax + 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 0x140015600
movzx eax, word [rcx + 0x3d2]
dec rax
mov qword [rbp + 0x400], rcx
mov qword [rbp + 0x408], 0
mov qword [rbp + 0x410], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x400]
lea r8, [rbp + 0x5f7]
call fcn.1400078c0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x530], rax
movups xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x520], xmm0
movdqu xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movups xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x510], xmm3
movaps xmmword [rbp + 0x500], xmm2
movaps xmmword [rbp + 0x4f0], xmm1
movdqa xmmword [rbp + 0x4e0], xmm0
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
movzx ecx, word [rdx + 0x3d2]
cmp rax, rcx
jae 0x140015914
mov rcx, rdx
jmp 0x140015949
mov rsi, qword [r15 + 0x18]
mov rdi, qword [r15 + 0x28]
test rdi, rdi
je 0x140015754
js 0x14001880e
movzx eax, byte [0x14137e181]
mov edx, 1
mov rcx, rdi
call fcn.140001ef0
mov r13, rax
test rax, rax
jne 0x14001575a
jmp 0x140018818
mov r13d, 1
mov rcx, r13
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [r15 + 0x30]
mov qword [rbp + 0x580], r13
mov qword [rbp + 0x588], rdi
mov qword [rbp + 0x590], rdi
mov byte [rbp + 0x598], al
mov rdi, qword [r15]
mov r12, qword [r15 + 0x10]
test r12, r12
je 0x1400157d4
xor esi, esi
mov rax, r12
shr rax, 0x3e
sete al
jne 0x14001882a
lea r15, [r12 + r12]
mov sil, al
add rsi, rsi
test r15, r15
je 0x1400157df
movzx eax, byte [0x14137e181]
mov rcx, r15
mov rdx, rsi
call fcn.140001ef0
mov r13, rax
test r13, r13
jne 0x1400157eb
jmp 0x140018834
mov r13d, 2
xor r15d, r15d
jmp 0x1400157eb
mov r13, rsi
test r13, r13
je 0x140018834
mov rcx, r13
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
movdqu xmm0, xmmword [rbp + 0x580]
movups xmm1, xmmword [rbp + 0x590]
lea rax, [rbp - 0x18]
movdqu xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov rsi, qword [rbx]
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x140015853
js 0x140018844
movzx eax, byte [0x14137e181]
mov edx, 1
mov rcx, rdi
call fcn.140001ef0
mov r15, rax
test rax, rax
jne 0x140015859
jmp 0x1400187f5
mov r15d, 1
mov rcx, r15
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [rbx + 0x18]
mov qword [rbp + 0x580], r15
mov qword [rbp + 0x588], rdi
mov qword [rbp + 0x590], rdi
mov byte [rbp + 0x598], al
mov byte [rbp + 0x5f6], 0
lea rcx, [rbp + 0x4e0]
lea rdx, [rbp + 0x4b8]
lea r8, [rbp - 0x30]
lea r9, [rbp + 0x580]
call fcn.140004ba0
cmp byte [rbp + 0x4f8], 2
je 0x140015520
mov rdx, qword [rbp + 0x4e8]
test rdx, rdx
je 0x140015520
mov rcx, qword [rbp + 0x4e0]
mov r8d, 1
call fcn.140001f00
jmp 0x140015520
mov qword [rbp + 0x580], rax
mov qword [rbp + 0x588], 0
mov qword [rbp + 0x590], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x580]
lea r8, [rbp + 0x5f7]
call fcn.1400078c0
jmp 0x140015a3b
mov r8, qword [rbp + 0x30]
nop dword [rax + rax]
mov rcx, qword [rdx + 0x160]
test rcx, rcx
je 0x140015944
movzx eax, word [rdx + 0x3d0]
inc r8
mov rdx, rcx
cmp ax, word [rcx + 0x3d2]
jae 0x140015920
jmp 0x140015949
mov rax, r8
xor ecx, ecx
imul rdx, rax, 0x38
shl rax, 5
mov r8, qword [rcx + rdx + 0x198]
mov qword [rbp + 0x5b0], r8
movups xmm0, xmmword [rcx + rdx + 0x168]
movups xmm1, xmmword [rcx + rdx + 0x178]
movups xmm2, xmmword [rcx + rdx + 0x188]
movaps xmmword [rbp + 0x5a0], xmm2
movaps xmmword [rbp + 0x590], xmm1
movaps xmmword [rbp + 0x580], xmm0
mov r8, qword [rbp + 0x510]
mov qword [rcx + rdx + 0x198], r8
movaps xmm0, xmmword [rbp + 0x4e0]
movaps xmm1, xmmword [rbp + 0x4f0]
movaps xmm2, xmmword [rbp + 0x500]
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 + 0x5b8]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rdx, [rbp + 0x518]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
mov rax, qword [rbp + 0x5d0]
mov qword [rbp + 0x20], rax
movaps xmm0, xmmword [rbp + 0x5c0]
movaps xmmword [rbp + 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x580]
movaps xmm1, xmmword [rbp + 0x590]
movaps xmm2, xmmword [rbp + 0x5a0]
movaps xmm3, xmmword [rbp + 0x5b0]
movaps xmmword [rbp], xmm3
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp - 0x20], xmm1
movdqa xmmword [rbp - 0x30], xmm0
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x5d0], rax
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x5c0], xmm0
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmm2, xmmword [rbp - 0x10]
movaps xmm3, xmmword [rbp]
movaps xmmword [rbp + 0x5b0], xmm3
movaps xmmword [rbp + 0x5a0], xmm2
dec qword [rbp + 0x4c8]
movaps xmmword [rbp + 0x590], xmm1
movdqa xmmword [rbp + 0x580], xmm0
cmp byte [rbp + 0x5f7], 0
je 0x140015ace
test r15, r15
je 0x140018855
mov rax, qword [rbx + 0x3d8]
mov qword [rbp + 0x4b8], rax
dec r15
mov qword [rbp + 0x4c0], r15
mov qword [rax + 0x160], 0
mov edx, 0x438
mov r8d, 8
mov rcx, rbx
call fcn.140001f00
cmp byte [rbp + 0x5b0], 2
je 0x140015520
mov rsi, qword [rbp + 0x580]
mov r15, qword [rbp + 0x588]
mov rdx, qword [rbp + 0x5a0]
mov rdi, qword [rbp + 0x5b8]
mov rbx, qword [rbp + 0x5c0]
movzx r12d, byte [rbp + 0x5d0]
test rdx, rdx
je 0x140015b1d
mov rcx, qword [rbp + 0x598]
mov r8d, 1
call fcn.140001f00
test r15, r15
je 0x140015b36
add r15, r15
mov r8d, 2
mov rcx, rsi
mov rdx, r15
call fcn.140001f00
cmp r12b, 2
je 0x140015520
test rbx, rbx
je 0x140015520
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140001f00
jmp 0x140015520
movdqu xmm0, xmmword [rbp + 0x4b8]
movdqu xmmword [rbp + 0x3e8], xmm0
mov rax, qword [rbp + 0x4c8]
mov qword [rbp + 0x3f8], rax
mov qword [rbp + 0x3e0], 1
movzx eax, byte [0x14137e181]
mov ecx, 4
mov edx, 1
call fcn.140001ef0
test rax, rax
je 0x140018872
mov dword [rax], 0x48544150
mov qword [rbp + 0x580], rax
mov qword [rbp + 0x588], 4
mov qword [rbp + 0x590], 4
mov byte [rbp + 0x598], 0
mov rcx, rax
add rcx, 4
mov qword [rbp + 0x4e0], rax
mov qword [rbp + 0x4e8], rcx
mov word [rbp + 0x4f0], 0
lea rcx, [rbp + 0x430]
lea rdx, [rbp + 0x4e0]
call fcn.140008980
movups xmm0, xmmword [rbp + 0x580]
movups xmm1, xmmword [rbp + 0x590]
movups xmmword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
movdqu xmm0, xmmword [rbp + 0x430]
movdqa xmmword [rbp - 0x30], xmm0
mov r14, qword [rbp + 0x440]
mov qword [rbp - 0x20], r14
mov rsi, qword [rbp - 0x30]
mov rax, qword [rbp + 0x3e8]
test rax, rax
je 0x140015d28
mov rcx, qword [rbp + 0x3f0]
mov qword [rbp + 0x5f8], rcx
mov r12, qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
lea rcx, [rax + 0x168]
movzx edx, word [rax + 0x3d2]
mov qword [rbp + 0x578], rdx
imul r13, rdx, 0x38
mov qword [rbp + 0x5e8], rax
lea rdi, [rax - 0x10]
mov rbx, 0xffffffffffffffff
nop word cs:[rax + rax]
test r13, r13
je 0x140015cd0
lea r15, [rcx + 0x38]
mov r8, qword [rcx]
mov r9d, dword [rcx + 0x10]
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov edx, r14d
call r12
add r13, 0xffffffffffffffc8
add rdi, 0x20
inc rbx
mov rcx, r15
cmp eax, 3
je 0x140015c90
cmp eax, 1
jne 0x140015d03
jmp 0x140015cd7
mov rbx, qword [rbp + 0x578]
mov rax, qword [rbp + 0x5f8]
sub rax, 1
jb 0x1400161f8
mov qword [rbp + 0x5f8], rax
mov rax, qword [rbp + 0x5e8]
mov rax, qword [rax + rbx*8 + 0x3d8]
jmp 0x140015c59
cmp eax, 2
jne 0x14001876f
cmp qword [rbp + 0x5e8], 0
je 0x140015d28
mov r12, qword [rdi - 0x10]
mov rdi, qword [rdi]
mov rdx, qword [rbp - 0x10]
test rdx, rdx
jne 0x140015d34
jmp 0x140015d43
xor r12d, r12d
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140015d43
mov rcx, qword [rbp - 0x18]
mov r8d, 1
call fcn.140001f00
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140015d5d
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140001f00
mov rdx, qword [rbp + 0x568]
mov r15, qword [rdx + 0x40]
lea rbx, [0x141374088]
test r15, r15
je 0x140015dbb
mov rcx, qword [rdx + 0x30]
cmp r15, 4
jae 0x140015d87
lea rdx, [0x140013b80]
jmp 0x140015d9f
cmp dword [rcx], 0x5c3f5c5c
lea rax, [0x140013b90]
lea rdx, [0x140013b80]
cmove rdx, rax
mov qword [rbp + 0x5e8], rcx
movzx esi, byte [r15 + rcx - 1]
mov byte [rbp + 0x607], 1
mov ecx, esi
call rdx
test al, al
je 0x140015e20
mov rax, qword [rbp + 0x538]
mov qword [rax], rbx
mov qword [rax + 0x10], 2
cmp qword [rbp + 0x3e0], 0
je 0x140015eb2
mov rcx, qword [rbp + 0x3e8]
test rcx, rcx
je 0x140015e99
mov rdx, qword [rbp + 0x3f0]
mov rax, qword [rbp + 0x3f8]
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 0x140015e9d
cmp r15, 3
jbe 0x140015ee4
mov r14, qword [rbp + 0x5e8]
movzx eax, byte [r15 + r14 - 4]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x2e
jne 0x140015eef
movzx eax, byte [r14 + r15 - 3]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x65
jne 0x140015eef
movzx eax, byte [r14 + r15 - 2]
lea ecx, [rax - 0x41]
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, al
cmp cl, 0x78
jne 0x140015eef
lea eax, [rsi - 0x41]
cmp al, 0x1a
setb al
shl al, 5
or al, sil
cmp al, 0x65
sete al
jmp 0x140015ef1
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.140002e60
cmp qword [rbp + 0x478], 3
jb 0x140015ec9
mov rcx, qword [rbp + 0x418]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm6, xmmword [rbp + 0x610]
add rsp, 0x6a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor eax, eax
mov r14, qword [rbp + 0x5e8]
jmp 0x140015ef1
xor eax, eax
lea r11, [r14 + r15]
xor ecx, ecx
nop word [rax + rax]
cmp r15, rcx
je 0x140015f79
movzx edx, byte [r14 + rcx]
cmp edx, 0x2f
je 0x140015f17
inc rcx
cmp edx, 0x5c
jne 0x140015f00
test al, al
mov qword [rbp + 0x4d0], r11
je 0x140016053
mov byte [rbp + 0x607], 1
lea rcx, [rbp - 0x30]
mov rdx, r14
mov r8, r15
call fcn.14001ba70
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
test rcx, rcx
je 0x140016177
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov byte [rbp + 0x607], 1
lea rcx, [rbp + 0x540]
lea rdx, [rbp - 0x30]
call fcn.140012a20
jmp 0x140016c12
xor r8d, r8d
lea rbx, [0x141374020]
mov rax, r14
jmp 0x140015f9c
xor r8d, r8d
test cx, cx
je 0x140015dbb
mov cx, 1
test r8w, r8w
jne 0x140015f90
cmp rax, r11
je 0x1400161c1
movzx r9d, byte [rax]
movzx edx, r9b
test dl, dl
js 0x140015fc0
inc rax
jmp 0x140016022
mov r8d, edx
and r8d, 0x1f
movzx r10d, byte [rax + 1]
and r10d, 0x3f
cmp dl, 0xdf
jbe 0x140016014
movzx edx, byte [rax + 2]
shl r10d, 6
and edx, 0x3f
or edx, r10d
cmp r9b, 0xf0
jb 0x14001602c
movzx r9d, byte [rax + 3]
add rax, 4
and r8d, 7
shl r8d, 0x12
shl edx, 6
and r9d, 0x3f
or r9d, edx
or r9d, r8d
mov edx, r9d
cmp edx, 0xffff
jbe 0x140016022
jmp 0x14001603f
add rax, 2
shl r8d, 6
or r8d, r10d
mov edx, r8d
xor r8d, r8d
mov ecx, edx
jmp 0x140015f93
add rax, 3
shl r8d, 0xc
or edx, r8d
cmp edx, 0xffff
jbe 0x140016022
and edx, 0x3ff
or edx, 0xdc00
mov r8d, edx
jmp 0x140015f93
xor esi, esi
test r15, r15
setns al
js 0x14001893b
mov sil, al
movzx eax, byte [0x14137e181]
mov rcx, r15
mov rdx, rsi
call fcn.140001ef0
test rax, rax
je 0x14001894c
mov rdi, rax
mov rcx, rax
mov rdx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x580], rdi
mov qword [rbp + 0x588], r15
mov qword [rbp + 0x590], r15
mov byte [rbp + 0x598], 0
mov rax, qword [rbp + 0x590]
mov qword [rbp - 0x20], rax
movzx eax, byte [rbp + 0x598]
mov byte [rbp - 0x18], al
mov eax, dword [rbp + 0x599]
mov dword [rbp - 0x17], eax
movzx eax, word [rbp + 0x59d]
mov word [rbp - 0x13], ax
movzx eax, byte [rbp + 0x59f]
mov byte [rbp - 0x11], al
mov rax, qword [rbp + 0x580]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0x588]
mov qword [rbp - 0x28], rax
lea rdx, [0x141374038]
lea rcx, [rbp - 0x30]
mov r8d, 4
call fcn.140013950
movdqa xmm0, xmmword [rbp - 0x30]
movaps xmm1, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x590], xmm1
movdqa xmmword [rbp + 0x580], xmm0
mov rsi, qword [rbp + 0x580]
mov rdi, qword [rbp + 0x590]
mov byte [rbp + 0x5e5], 1
lea rcx, [rbp + 0x4e0]
mov rdx, rsi
mov r8, rdi
call fcn.140019a00
cmp qword [rbp + 0x4e0], 0
je 0x14001618e
mov rax, qword [rbp + 0x4f0]
mov qword [rbp + 0x550], rax
movdqu xmm0, xmmword [rbp + 0x4e0]
movdqa xmmword [rbp + 0x540], xmm0
jmp 0x140016bf8
mov qword [rbp + 0x548], rax
mov qword [rbp + 0x540], 0
jmp 0x140016c12
mov rcx, rsi
mov rdx, rdi
call fcn.14000e070
test rax, rax
je 0x140016ba8
cmp rdx, 2
jne 0x14001620d
movzx ecx, word [rax]
cmp ecx, 0x2e2e
jne 0x14001620d
mov r8d, 2
mov rcx, rax
jmp 0x14001625c
cmp r15, 0xf
mov qword [rbp + 0x4d0], r11
ja 0x140016263
xor eax, eax
mov qword [rbp + 0x5d8], rax
xor eax, eax
nop dword [rax]
cmp byte [r14 + rax], 0x2e
je 0x140016285
inc rax
cmp r15, rax
jne 0x1400161e0
jmp 0x140016291
xor r12d, r12d
mov rdx, qword [rbp - 0x10]
test rdx, rdx
jne 0x140015d34
jmp 0x140015d43
xor ecx, ecx
xor r11d, r11d
mov r8, rax
nop word cs:[rax + rax]
cmp rdx, r11
je 0x140016280
mov r9, r11
lea r10, [r8 - 1]
inc r11
cmp byte [r8 + rdx - 1], 0x2e
mov r8, r10
jne 0x140016220
mov r8, rdx
sub r8, r11
lea rcx, [r8 + 1]
cmp rdx, rcx
jb 0x140018994
mov rcx, rax
cmp rdx, r11
jne 0x140016b76
mov r8, rdx
xor eax, eax
jmp 0x140016b80
mov byte [rbp + 0x607], 1
mov cl, 0x2e
mov rdx, r14
mov r8, r15
call fcn.140027aa0
mov qword [rbp + 0x5d8], rax
jmp 0x140016291
jmp 0x140016b80
mov eax, 1
mov qword [rbp + 0x5d8], rax
test r12, r12
je 0x1400162da
add rdi, r12
mov qword [rbp + 0x4e0], r12
mov qword [rbp + 0x4e8], rdi
mov word [rbp + 0x4f0], 0
mov byte [rbp + 0x4f8], 1
mov byte [rbp + 0x607], 1
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x4e0]
call fcn.140013470
movzx eax, byte [rbp - 0x18]
cmp al, 2
jne 0x1400165ee
mov byte [rbp + 0x607], 1
lea rcx, [rbp + 0x4e0]
call fcn.1400136f0
cmp byte [rbp + 0x4f8], 2
jne 0x14001630e
mov byte [rbp + 0x607], 1
lea rcx, [rbp + 0x4e0]
call fcn.140003b00
jmp 0x1400163fa
movdqu xmm0, xmmword [rbp + 0x4e0]
movups xmm1, xmmword [rbp + 0x4f0]
movdqa xmmword [rbp + 0x580], xmm0
movaps xmmword [rbp + 0x590], xmm1
mov rcx, qword [rbp + 0x580]
mov rsi, qword [rbp + 0x590]
mov byte [rbp + 0x5e6], 1
mov rdx, rsi
call fcn.14000df10
test rax, rax
mov r8, qword [rbp + 0x5e8]
je 0x140016361
cmp rsi, rdx
jb 0x140016361
mov qword [rbp + 0x590], rdx
movdqa xmm0, xmmword [rbp + 0x580]
mov rax, qword [rbp + 0x590]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x598]
mov qword [rbp - 0x18], rax
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
mov rdx, r8
mov r8, r15
call fcn.14000cef0
cmp qword [rbp + 0x5d8], 1
je 0x1400163b3
lea rdx, [0x1413740a0]
lea rcx, [rbp - 0x30]
mov r8d, 3
call fcn.14000db50
mov rsi, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x430]
mov rdx, rsi
call fcn.140019a00
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400163e1
mov r8d, 1
mov rcx, rsi
call fcn.140001f00
mov r8, qword [rbp + 0x430]
test r8, r8
je 0x1400163fa
movdqu xmm6, xmmword [rbp + 0x438]
jmp 0x1400169ca
mov qword [rbp + 0x490], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x498], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x578], rax
xor eax, eax
mov qword [rbp + 0x5f8], rax
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jb 0x14001644f
jmp 0x140016460
jae 0x14001652e
cmp r8, 0x201
jae 0x140016460
mov ebx, 0x200
lea rsi, [rbp - 0x30]
mov r13, r8
jmp 0x1400164c6
sub r8, r12
sub rdi, r12
cmp rdi, r8
mov rdi, qword [rbp + 0x5f8]
jae 0x140016496
lea rcx, [rbp + 0x490]
mov rdx, r12
call fcn.14002af30
mov rax, qword [rbp + 0x490]
mov qword [rbp + 0x578], rax
mov rdi, qword [rbp + 0x498]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x4a0], r12
mov rax, rdi
mov qword [rbp + 0x5f8], rdi
mov rbx, r12
mov rsi, qword [rbp + 0x578]
mov r13, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rsi
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400164ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140016703
mov r8d, r14d
cmp r13, r8
jne 0x140016440
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001888d
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jae 0x140016460
jmp 0x14001644f
cmp rbx, r8
jb 0x14001897d
lea rcx, [rbp + 0x580]
mov rdx, rsi
call fcn.14000ba80
lea rcx, [rbp + 0x580]
mov rdx, qword [rbp + 0x5e8]
mov r8, r15
call fcn.14000cef0
mov rdi, qword [rbp + 0x5f8]
cmp qword [rbp + 0x5d8], 1
je 0x140016586
lea rdx, [0x1413740a0]
lea rcx, [rbp + 0x580]
mov r8d, 3
call fcn.14000db50
mov rsi, qword [rbp + 0x580]
mov r8, qword [rbp + 0x590]
lea rcx, [rbp + 0x430]
mov rdx, rsi
call fcn.140019a00
mov rdx, qword [rbp + 0x588]
test rdx, rdx
je 0x1400165bd
mov r8d, 1
mov rcx, rsi
call fcn.140001f00
movdqu xmm0, xmmword [rbp + 0x430]
movdqu xmmword [rbp + 0x4e8], xmm0
mov rax, qword [rbp + 0x440]
mov qword [rbp + 0x4f8], rax
mov qword [rbp + 0x4e0], 0
mov sil, 1
jmp 0x14001672c
lea r14, [rbp - 0x17]
lea r13, [rbp + 0x599]
lea rsi, [rbp - 0x30]
lea rdi, [rbp + 0x4e0]
lea rbx, [rbp + 0x580]
jmp 0x14001662e
mov byte [rbp + 0x607], 1
mov rcx, rsi
mov rdx, rdi
call fcn.140013470
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x1400162da
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
test r8, r8
jne 0x140016651
test rdx, rdx
je 0x140016610
mov r8d, 1
call fcn.140001f00
jmp 0x140016610
mov r9d, dword [r14]
mov r10d, dword [r14 + 3]
mov dword [r13 + 3], r10d
mov dword [r13], r9d
mov qword [rbp + 0x580], rcx
mov qword [rbp + 0x588], rdx
mov qword [rbp + 0x590], r8
mov byte [rbp + 0x598], al
mov rcx, rbx
mov rdx, qword [rbp + 0x5e8]
mov r8, r15
call fcn.14000cef0
cmp qword [rbp + 0x5d8], 1
je 0x1400166ac
mov r8d, 3
mov rcx, rbx
lea rdx, [0x1413740a0]
call fcn.14000db50
mov r12, qword [rbp + 0x580]
mov r8, qword [rbp + 0x590]
mov rcx, rsi
mov rdx, r12
call fcn.140019a00
mov rdx, qword [rbp + 0x588]
test rdx, rdx
je 0x1400166df
mov r8d, 1
mov rcx, r12
call fcn.140001f00
mov r8, qword [rbp - 0x30]
test r8, r8
jne 0x14001778a
mov byte [rbp + 0x607], 1
mov rcx, rsi
mov rdx, rdi
call fcn.140013470
jmp 0x140016622
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4e8], rax
mov qword [rbp + 0x4e0], 1
xor esi, esi
mov rdi, qword [rbp + 0x5f8]
test rdi, rdi
je 0x140016749
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x578]
mov rdx, rdi
call fcn.140001f00
test sil, sil
je 0x14001675e
mov r8, qword [rbp + 0x4e8]
test r8, r8
jne 0x1400169c2
mov byte [rbp + 0x607], 1
lea rcx, [rbp + 0x4e0]
call fcn.140002bf0
mov qword [rbp + 0x490], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x498], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x578], rax
xor eax, eax
mov qword [rbp + 0x5f8], rax
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jb 0x1400167cf
jmp 0x1400167e0
jae 0x1400168ae
cmp r8, 0x201
jae 0x1400167e0
mov ebx, 0x200
lea rsi, [rbp - 0x30]
mov r13, r8
jmp 0x140016846
sub r8, r12
sub rdi, r12
cmp rdi, r8
mov rdi, qword [rbp + 0x5f8]
jae 0x140016816
lea rcx, [rbp + 0x490]
mov rdx, r12
call fcn.14002af30
mov rax, qword [rbp + 0x490]
mov qword [rbp + 0x578], rax
mov rdi, qword [rbp + 0x498]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x4a0], r12
mov rax, rdi
mov qword [rbp + 0x5f8], rdi
mov rbx, r12
mov rsi, qword [rbp + 0x578]
mov r13, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rsi
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14001686f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001696b
mov r8d, r14d
cmp r13, r8
jne 0x1400167c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400188aa
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jae 0x1400167e0
jmp 0x1400167cf
cmp rbx, r8
jb 0x1400189a2
lea rcx, [rbp + 0x580]
mov rdx, rsi
call fcn.14000ba80
lea rcx, [rbp + 0x580]
mov rdx, qword [rbp + 0x5e8]
mov r8, r15
call fcn.14000cef0
mov rdi, qword [rbp + 0x5f8]
cmp qword [rbp + 0x5d8], 1
je 0x140016906
lea rdx, [0x1413740a0]
lea rcx, [rbp + 0x580]
mov r8d, 3
call fcn.14000db50
mov rsi, qword [rbp + 0x580]
mov r8, qword [rbp + 0x590]
lea rcx, [rbp + 0x430]
mov rdx, rsi
call fcn.140019a00
mov rdx, qword [rbp + 0x588]
test rdx, rdx
je 0x14001693d
mov r8d, 1
mov rcx, rsi
call fcn.140001f00
movdqu xmm0, xmmword [rbp + 0x430]
movdqu xmmword [rbp + 0x4e8], xmm0
mov rax, qword [rbp + 0x440]
mov qword [rbp + 0x4f8], rax
mov qword [rbp + 0x4e0], 0
mov sil, 1
jmp 0x140016994
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4e8], rax
mov qword [rbp + 0x4e0], 1
xor esi, esi
mov rdi, qword [rbp + 0x5f8]
test rdi, rdi
je 0x1400169b1
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x578]
mov rdx, rdi
call fcn.140001f00
test sil, sil
je 0x1400169de
mov r8, qword [rbp + 0x4e8]
test r8, r8
je 0x1400169de
movdqu xmm6, xmmword [rbp + 0x4f0]
movq rbx, xmm6
pshufd xmm0, xmm6, 0xee
movq r9, xmm0
jmp 0x140016c30
mov byte [rbp + 0x607], 1
lea rcx, [rbp + 0x4e0]
call fcn.140002bf0
mov byte [rbp + 0x607], 1
lea rdx, [0x1413730b4]
lea rcx, [rbp + 0x490]
mov r8d, 4
call fcn.1400096d0
cmp byte [rbp + 0x4a8], 2
je 0x1400176df
movdqu xmm0, xmmword [rbp + 0x490]
movups xmm1, xmmword [rbp + 0x4a0]
movdqa xmmword [rbp + 0x430], xmm0
movaps xmmword [rbp + 0x440], xmm1
mov rsi, qword [rbp + 0x430]
mov rax, qword [rbp + 0x440]
add rax, rsi
mov qword [rbp + 0x4e0], rsi
mov qword [rbp + 0x4e8], rax
mov word [rbp + 0x4f0], 0
mov byte [rbp + 0x4f8], 1
lea r14, [rbp - 0x17]
lea r13, [rbp + 0x599]
lea rdi, [rbp - 0x30]
lea rbx, [rbp + 0x4e0]
jmp 0x140016a90
mov rax, qword [rbp - 0x30]
test rax, rax
jne 0x14001837e
mov rcx, rdi
mov rdx, rbx
call fcn.140013470
jmp 0x140016aa8
mov rcx, rdi
mov rdx, rbx
call fcn.140013470
movzx eax, byte [rbp - 0x18]
cmp al, 2
je 0x1400176c5
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x20]
test r8, r8
jne 0x140016ad7
test rdx, rdx
je 0x140016a9d
mov r8d, 1
call fcn.140001f00
jmp 0x140016a9d
mov r9d, dword [r14]
mov r10d, dword [r14 + 3]
mov dword [r13 + 3], r10d
mov dword [r13], r9d
mov qword [rbp + 0x580], rcx
mov qword [rbp + 0x588], rdx
mov qword [rbp + 0x590], r8
mov byte [rbp + 0x598], al
lea rcx, [rbp + 0x580]
mov rdx, qword [rbp + 0x5e8]
mov r8, r15
call fcn.14000cef0
cmp qword [rbp + 0x5d8], 1
je 0x140016b3a
mov r8d, 3
lea rcx, [rbp + 0x580]
lea rdx, [0x1413740a0]
call fcn.14000db50
mov r12, qword [rbp + 0x580]
mov r8, qword [rbp + 0x590]
mov rcx, rdi
mov rdx, r12
call fcn.140019a00
mov rdx, qword [rbp + 0x588]
test rdx, rdx
je 0x140016a83
mov r8d, 1
mov rcx, r12
call fcn.140001f00
jmp 0x140016a83
lea rax, [r10 + rdx]
inc rax
mov rdx, r9
test rcx, rcx
cmovne rax, rcx
test rax, rax
je 0x140016ba8
test rcx, rcx
cmove r8, rdx
add rax, r8
sub rax, rsi
cmp rdi, rax
jb 0x140016ba8
mov qword [rbp + 0x590], rax
mov rdi, rax
lea rcx, [rbp - 0x30]
mov rdx, rsi
mov r8, rdi
call fcn.14001ba70
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
test rcx, rcx
je 0x140016be6
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
lea rcx, [rbp + 0x540]
lea rdx, [rbp - 0x30]
call fcn.140012a20
jmp 0x140016bf8
mov qword [rbp + 0x548], rax
mov qword [rbp + 0x540], 0
mov rdx, qword [rbp + 0x588]
test rdx, rdx
je 0x140016c12
mov r8d, 1
mov rcx, rsi
call fcn.140001f00
mov r8, qword [rbp + 0x540]
mov rbx, qword [rbp + 0x548]
test r8, r8
je 0x140015dbb
mov r9, qword [rbp + 0x550]
mov qword [rbp + 0x5f8], rbx
cmp r9, 5
mov r14, qword [rbp + 0x5e8]
mov qword [rbp + 0x578], r8
jb case.0x140016f7b.68
cmp word [r8 + r9*2 - 0xa], 0x2e
jne case.0x140016f7b.68
cmp word [r8 + r9*2 - 2], 0
je 0x140016f5b
mov rax, qword [rbp + 0x568]
mov rdi, qword [rax + 0x90]
mov rsi, qword [rax + 0xa0]
mov bl, byte [rax + 0xad]
mov qword [rbp + 0x580], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x588], xmm0
lea rcx, [rbp + 0x580]
xor edx, edx
call fcn.1400083b0
mov rax, qword [rbp + 0x580]
mov rcx, qword [rbp + 0x590]
mov word [rax + rcx*2], 0x22
inc rcx
mov qword [rbp + 0x590], rcx
mov qword [rbp - 0x30], r14
mov rax, qword [rbp + 0x4d0]
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x580]
lea rdx, [rbp - 0x30]
call fcn.1400087f0
mov rdx, qword [rbp + 0x590]
cmp rdx, qword [rbp + 0x588]
jne 0x140016d07
lea rcx, [rbp + 0x580]
call fcn.1400083b0
mov rdx, qword [rbp + 0x590]
mov rax, qword [rbp + 0x580]
mov word [rax + rdx*2], 0x22
inc rdx
mov qword [rbp + 0x590], rdx
lea rax, [rsi + rsi*4]
lea r15, [rdi + rax*8]
lea r14, [rbp + 0x580]
nop dword [rax]
cmp rdi, r15
je 0x140016daf
mov rdx, qword [rbp + 0x590]
cmp rdx, qword [rbp + 0x588]
jne 0x140016d54
mov rcx, r14
call fcn.1400083b0
mov rdx, qword [rbp + 0x590]
mov rax, qword [rbp + 0x580]
mov word [rax + rdx*2], 0x20
inc rdx
mov qword [rbp + 0x590], rdx
mov rcx, r14
mov rdx, rdi
mov r8d, ebx
call fcn.140012550
mov rsi, rax
add rdi, 0x28
test rax, rax
je 0x140016d30
mov rdx, qword [rbp + 0x588]
test rdx, rdx
je 0x140016e3d
mov rcx, qword [rbp + 0x580]
add rdx, rdx
mov r8d, 2
call fcn.140001f00
jmp 0x140016e3d
mov rax, qword [rbp + 0x580]
mov rsi, qword [rbp + 0x588]
test rax, rax
je 0x140016e3d
mov rdx, qword [rbp + 0x590]
mov r15b, 1
mov dword [rbp + 0x480], 0
mov rcx, qword [rbp + 0x578]
mov qword [rbp + 0x4d0], rcx
mov rbx, qword [rbp + 0x5f8]
mov qword [rbp + 0x5e8], rbx
mov qword [rbp + 0x4b8], rax
mov qword [rbp + 0x4c0], rsi
mov qword [rbp + 0x4c8], rdx
cmp rdx, rsi
jne 0x140016e83
mov byte [rbp + 0x604], 1
lea rcx, [rbp + 0x4b8]
call fcn.1400083b0
mov rax, qword [rbp + 0x4b8]
mov rdx, qword [rbp + 0x4c8]
mov rcx, qword [rbp + 0x568]
mov rbx, qword [rbp + 0x5f8]
jmp 0x140016e8a
mov rbx, qword [rbp + 0x5f8]
mov rax, qword [rbp + 0x538]
mov qword [rax], rsi
mov qword [rax + 0x10], 2
xor esi, esi
test rbx, rbx
je 0x140016e75
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x578]
mov rdx, rbx
call fcn.140001f00
test sil, sil
je 0x140015dcd
jmp 0x140015eb2
mov rcx, qword [rbp + 0x568]
mov word [rax + rdx*2], 0
inc rdx
mov qword [rbp + 0x4c8], rdx
cmp byte [rcx + 0xac], 0
mov eax, 0x400
mov r14d, 0x608
cmove r14d, eax
or r14d, dword [rcx + 0xa8]
cmp qword [rbp + 0x3e0], 0
je 0x140016f13
mov dword [rbp + 0x570], r15d
mov rsi, qword [rbp + 0x3f8]
mov qword [rbp + 0x410], rsi
movdqu xmm0, xmmword [rbp + 0x3e8]
movdqa xmmword [rbp + 0x400], xmm0
mov qword [rbp + 0x540], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x548], xmm0
test rsi, rsi
je 0x1400170e6
mov ebx, 2
xor r15d, r15d
jmp 0x14001711a
mov edi, 2
xor r12d, r12d
xor eax, eax
mov qword [rbp + 0x3d0], rax
cmp byte [rcx + 0x88], 2
jne 0x1400177de
mov qword [rbp + 0x570], rdi
xor eax, eax
mov qword [rbp + 0x3d8], rax
mov eax, 2
mov qword [rbp + 0x488], rax
xor eax, eax
mov qword [rbp + 0x4d8], rax
jmp 0x14001795c
movzx eax, word [r8 + r9*2 - 8]
lea ecx, [rax - 0x42]
cmp ecx, 0x21
ja case.0x140016f7b.68
lea rdx, [0x14001996c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
movzx ecx, word [r8 + r9*2 - 6]
or ecx, 0x20
cmp ecx, 0x61
jne 0x140016f99
movzx ecx, word [r8 + r9*2 - 4]
or ecx, 0x20
cmp ecx, 0x74
je 0x140016fc9
cmp ax, 0x43
jne case.0x140016f7b.68
movzx eax, word [r8 + r9*2 - 6]
or eax, 0x20
cmp eax, 0x6d
jne case.0x140016f7b.68
movzx eax, word [r8 + r9*2 - 4]
add eax, 0xffffffbc
test eax, 0xffdf
jne case.0x140016f7b.68
mov qword [rbp + 0x570], r9
mov qword [rbp + 0x580], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x588], xmm0
mov eax, 0x200
mov ecx, 2
mov qword [rbp + 0x5e8], rcx
xor edi, edi
xor ebx, ebx
xor r14d, r14d
cmp rax, 0x201
jb 0x140017017
jmp 0x140017026
jae 0x1400176eb
cmp rax, 0x201
jae 0x140017026
mov r12d, 0x200
lea r15, [rbp - 0x30]
mov r13, rax
jmp 0x140017081
sub rax, r14
sub rbx, r14
cmp rbx, rax
jae 0x140017058
lea rcx, [rbp + 0x580]
mov rdx, r14
mov r8, rax
call fcn.14002af30
mov rax, qword [rbp + 0x580]
mov qword [rbp + 0x5e8], rax
mov rdi, qword [rbp + 0x588]
mov eax, 0xffffffff
cmp rdi, rax
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rbp + 0x590], r14
mov rbx, rdi
mov r12, r14
mov r15, qword [rbp + 0x5e8]
mov r13, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, r15
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400170a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001776e
mov eax, esi
cmp r13, rax
jne 0x140017009
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140018963
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov rax, r13
cmp rax, 0x201
jae 0x140017026
jmp 0x140017017
mov byte [rbp + 0x603], 1
lea rcx, [rbp + 0x540]
xor edx, edx
call fcn.1400083b0
mov rbx, qword [rbp + 0x540]
mov r15, qword [rbp + 0x550]
mov word [rbx + r15*2], 0
inc r15
mov qword [rbp + 0x550], r15
mov rax, qword [rbp + 0x400]
mov rcx, qword [rbp + 0x408]
xor edx, edx
test rax, rax
setne dl
cmove rsi, 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], rsi
lea rcx, [rbp + 0x430]
lea rdx, [rbp - 0x30]
mov r13, rdx
call fcn.140006370
mov r8, qword [rbp + 0x430]
test r8, r8
je 0x14001772f
mov r9, qword [rbp + 0x440]
imul r10, r9, 0x38
mov rax, qword [r8 + r10 + 0x168]
mov qword [rbp + 0x4d8], rax
mov rax, qword [r8 + r10 + 0x170]
mov qword [rbp + 0x5d8], rax
mov r12, qword [r8 + r10 + 0x178]
mov rcx, qword [r8 + r10 + 0x180]
mov rdx, qword [r8 + r10 + 0x188]
mov rax, qword [r8 + r10 + 0x190]
movzx r11d, byte [r8 + r10 + 0x198]
mov esi, dword [r8 + r10 + 0x19c]
mov dword [rbp + 0x583], esi
mov r10d, dword [r8 + r10 + 0x199]
mov dword [rbp + 0x580], r10d
shl r9, 5
movups xmm0, xmmword [r8 + r9]
movups xmm1, xmmword [r8 + r9 + 0x10]
lea r8, [rbp + 0x587]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
mov r8, qword [rbp + 0x59f]
mov qword [rbp + 0x4ff], r8
mov r8d, dword [rbp + 0x580]
movzx r9d, word [rbp + 0x584]
movzx r10d, byte [rbp + 0x586]
mov rsi, qword [rbp + 0x587]
movzx edi, byte [rbp + 0x58f]
movdqu xmm0, xmmword [rbp + 0x590]
movdqa xmmword [rbp + 0x4f0], xmm0
mov dword [rbp + 0x4e0], r8d
mov word [rbp + 0x4e4], r9w
mov byte [rbp + 0x4e6], r10b
mov qword [rbp + 0x4e7], rsi
mov byte [rbp + 0x4ef], dil
cmp r11b, 2
je 0x14001772f
lea r8, [rbp + 0x4e7]
movdqu xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movaps xmmword [rbp + 0x440], xmm1
movdqa xmmword [rbp + 0x430], xmm0
add rax, rcx
xor r11d, r11d
mov r8, rcx
jmp 0x1400172bd
xor r11d, r11d
test r9w, r9w
je 0x1400175fc
mov r9w, 1
test r11w, r11w
jne 0x1400172b0
cmp r8, rax
je 0x14001737c
movzx edi, byte [r8]
movzx r10d, dil
test r10b, r10b
js 0x1400172e3
inc r8
jmp 0x140017347
mov r11d, r10d
and r11d, 0x1f
movzx esi, byte [r8 + 1]
and esi, 0x3f
cmp r10b, 0xdf
jbe 0x140017339
movzx r10d, byte [r8 + 2]
shl esi, 6
and r10d, 0x3f
or r10d, esi
cmp dil, 0xf0
jb 0x140017352
movzx esi, byte [r8 + 3]
add r8, 4
and r11d, 7
shl r11d, 0x12
shl r10d, 6
and esi, 0x3f
or esi, r10d
or esi, r11d
mov r10d, esi
cmp r10d, 0xffff
jbe 0x140017347
jmp 0x140017366
add r8, 2
shl r11d, 6
or r11d, esi
mov r10d, r11d
xor r11d, r11d
mov r9d, r10d
jmp 0x1400172b3
add r8, 3
shl r11d, 0xc
or r10d, r11d
cmp r10d, 0xffff
jbe 0x140017347
and r10d, 0x3ff
or r10d, 0xdc00
mov r11d, r10d
jmp 0x1400172b3
test rdx, rdx
je 0x14001738c
mov r8d, 1
call fcn.140001f00
mov rax, qword [rbp + 0x548]
sub rax, r15
cmp rax, r12
jae 0x1400173bb
lea rcx, [rbp + 0x540]
mov rdx, r15
mov r8, r12
call fcn.14002af30
mov rbx, qword [rbp + 0x540]
mov r15, qword [rbp + 0x550]
lea r8, [r12 + r12]
mov rsi, rbx
lea rcx, [rbx + r15*2]
mov rdi, qword [rbp + 0x4d8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
add r15, r12
mov qword [rbp + 0x550], r15
mov rdx, qword [rbp + 0x5d8]
test rdx, rdx
je 0x1400173fc
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140001f00
cmp r15, qword [rbp + 0x548]
jne 0x140017429
mov byte [rbp + 0x602], 1
lea rcx, [rbp + 0x540]
mov rdx, r15
call fcn.1400083b0
mov rsi, qword [rbp + 0x540]
mov r15, qword [rbp + 0x550]
mov word [rsi + r15*2], 0x3d
inc r15
mov qword [rbp + 0x550], r15
mov r15, qword [rbp + 0x430]
mov r12, qword [rbp + 0x438]
mov rcx, qword [rbp + 0x440]
movzx edx, byte [rbp + 0x448]
lea rax, [r15 + rcx]
xor r11d, r11d
mov r8, r15
jmp 0x14001746f
xor r11d, r11d
test r9w, r9w
je 0x140017652
mov r9w, 1
test r11w, r11w
jne 0x140017462
cmp r8, rax
je 0x140017527
movzx edi, byte [r8]
movzx r10d, dil
test r10b, r10b
js 0x140017495
inc r8
jmp 0x140017506
mov r11d, r10d
and r11d, 0x1f
movzx esi, byte [r8 + 1]
and esi, 0x3f
cmp r10b, 0xdf
jbe 0x1400174e2
movzx r10d, byte [r8 + 2]
shl esi, 6
and r10d, 0x3f
or r10d, esi
cmp dil, 0xf0
jb 0x1400174f2
movzx esi, byte [r8 + 3]
add r8, 4
and r11d, 7
shl r11d, 0x12
shl r10d, 6
and esi, 0x3f
or esi, r10d
or esi, r11d
mov r10d, esi
jmp 0x1400174fd
add r8, 2
shl r11d, 6
or r11d, esi
mov r10d, r11d
jmp 0x140017506
add r8, 3
shl r11d, 0xc
or r10d, r11d
cmp r10d, 0xffff
ja 0x140017511
xor r11d, r11d
mov r9d, r10d
jmp 0x140017465
and r10d, 0x3ff
or r10d, 0xdc00
mov r11d, r10d
jmp 0x140017465
cmp dl, 2
je 0x140018723
lea r9, [rbp + 0x449]
mov r8d, dword [r9]
mov r9d, dword [r9 + 3]
lea r10, [rbp + 0x587]
mov dword [r10 + 0x15], r9d
mov dword [r10 + 0x12], r8d
mov qword [rbp + 0x580], r15
mov qword [rbp + 0x588], r12
mov qword [rbp + 0x590], rcx
mov byte [rbp + 0x598], dl
mov qword [rbp + 0x490], r15
mov qword [rbp + 0x498], rax
mov word [rbp + 0x4a0], 0
lea rcx, [rbp + 0x540]
lea rdx, [rbp + 0x490]
call fcn.1400087f0
test r12, r12
je 0x1400175a8
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.140001f00
mov r15, qword [rbp + 0x550]
cmp r15, qword [rbp + 0x548]
jne 0x1400175d5
mov byte [rbp + 0x602], 0
lea rcx, [rbp + 0x540]
mov rdx, r15
call fcn.1400083b0
mov r15, qword [rbp + 0x550]
lea rcx, [rbp + 0x430]
mov rdx, r13
mov rbx, qword [rbp + 0x540]
mov word [rbx + r15*2], 0
inc r15
mov qword [rbp + 0x550], r15
jmp 0x14001716b
test rdx, rdx
je 0x14001760c
mov r8d, 1
call fcn.140001f00
mov rdx, qword [rbp + 0x438]
test rdx, rdx
mov rsi, qword [rbp + 0x4d8]
je 0x140017631
mov rcx, qword [rbp + 0x430]
mov r8d, 1
call fcn.140001f00
lea r13, [0x141374020]
mov rdx, qword [rbp + 0x5d8]
test rdx, rdx
je 0x14001766f
add rdx, rdx
mov r8d, 2
mov rcx, rsi
jmp 0x14001766a
lea r13, [0x141374020]
test r12, r12
je 0x14001766f
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.140001f00
mov byte [rbp + 0x603], 0
lea rcx, [rbp - 0x30]
call fcn.140002e60
mov rdx, qword [rbp + 0x548]
test rdx, rdx
je 0x1400176a0
mov rcx, qword [rbp + 0x540]
add rdx, rdx
mov r8d, 2
call fcn.140001f00
mov rbx, qword [rbp + 0x5f8]
mov r15d, dword [rbp + 0x570]
mov rax, qword [rbp + 0x538]
mov qword [rax], r13
mov qword [rax + 0x10], 2
jmp 0x140017c44
mov rdx, qword [rbp + 0x438]
test rdx, rdx
je 0x1400176df
mov r8d, 1
mov rcx, rsi
call fcn.140001f00
lea rbx, [0x141374050]
jmp 0x140015dbb
cmp r12, rax
jb 0x1400189b9
test esi, esi
mov rbx, qword [rbp + 0x5f8]
je 0x140017c97
mov r12, rax
lea r14, [rax + rax]
movzx eax, byte [0x14137e181]
mov edx, 2
mov rcx, r14
call fcn.140001ef0
test rax, rax
je 0x1400189cd
mov rsi, rax
jmp 0x140017ca2
mov byte [rbp + 0x603], 0
lea rcx, [rbp - 0x30]
call fcn.140002e60
cmp r15, qword [rbp + 0x548]
jne 0x140017793
mov byte [rbp + 0x603], 0
lea rcx, [rbp + 0x540]
mov rdx, r15
call fcn.1400083b0
mov r13, qword [rbp + 0x540]
mov r15, qword [rbp + 0x550]
jmp 0x140017796
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
xor esi, esi
mov rbx, qword [rbp + 0x5f8]
jmp 0x140017cb3
movups xmm6, xmmword [rbp - 0x28]
jmp 0x1400169ca
mov r13, rbx
mov word [r13 + r15*2], 0
mov rdi, qword [rbp + 0x540]
test rdi, rdi
mov rcx, qword [rbp + 0x568]
mov rbx, qword [rbp + 0x5f8]
je 0x1400176a7
mov qword [rbp + 0x3d0], r13
mov r12, qword [rbp + 0x548]
mov r15d, dword [rbp + 0x570]
cmp byte [rcx + 0x88], 2
je 0x140016f31
mov rax, qword [rcx + 0x70]
mov rcx, qword [rcx + 0x80]
add rcx, rax
xor r10d, r10d
mov rdx, rax
jmp 0x140017801
xor r10d, r10d
test r8w, r8w
je 0x1400178b9
mov r8w, 1
test r10w, r10w
jne 0x1400177f4
cmp rdx, rcx
je 0x1400178d7
movzx r11d, byte [rdx]
movzx r9d, r11b
test r9b, r9b
js 0x140017827
inc rdx
jmp 0x140017898
mov r10d, r9d
and r10d, 0x1f
movzx esi, byte [rdx + 1]
and esi, 0x3f
cmp r9b, 0xdf
jbe 0x140017874
movzx r9d, byte [rdx + 2]
shl esi, 6
and r9d, 0x3f
or r9d, esi
cmp r11b, 0xf0
jb 0x140017884
movzx r11d, byte [rdx + 3]
add rdx, 4
and r10d, 7
shl r10d, 0x12
shl r9d, 6
and r11d, 0x3f
or r11d, r9d
or r11d, r10d
mov r9d, r11d
jmp 0x14001788f
add rdx, 2
shl r10d, 6
or r10d, esi
mov r9d, r10d
jmp 0x140017898
add rdx, 3
shl r10d, 0xc
or r9d, r10d
cmp r9d, 0xffff
ja 0x1400178a3
xor r10d, r10d
mov r8d, r9d
jmp 0x1400177f7
and r9d, 0x3ff
or r9d, 0xdc00
mov r10d, r9d
jmp 0x1400177f7
lea rax, [0x141374020]
mov rcx, qword [rbp + 0x538]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
jmp 0x140017c2b
mov qword [rbp + 0x5d8], r12
mov qword [rbp + 0x570], rdi
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
mov word [rbp - 0x20], 0
lea rcx, [rbp + 0x580]
lea rdx, [rbp - 0x30]
call fcn.140008980
mov rax, qword [rbp + 0x588]
mov rdx, qword [rbp + 0x590]
cmp rdx, rax
jne 0x140017930
lea rcx, [rbp + 0x580]
call fcn.1400083b0
mov rax, qword [rbp + 0x588]
mov rdx, qword [rbp + 0x590]
mov qword [rbp + 0x4d8], rax
mov rcx, qword [rbp + 0x580]
mov word [rcx + rdx*2], 0
mov rax, rcx
mov qword [rbp + 0x3d8], rcx
mov qword [rbp + 0x488], rcx
mov r12, qword [rbp + 0x5d8]
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x430], xmm0
mov qword [rbp + 0x440], 0
lea rdi, [0x14137e268]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x14137e228]
shl rax, 1
test rax, rax
jne 0x14001817f
xor eax, eax
mov qword [rbp + 0x5d8], r12
movzx ecx, byte [0x14137e270]
mov r13d, ecx
test cl, cl
mov rcx, qword [rbp + 0x568]
mov r12d, r15d
je 0x1400179c6
mov qword [rbp + 0x4e8], rdi
mov edx, 1
jmp 0x1400179cf
mov qword [rbp + 0x4e8], rdi
xor edx, edx
mov dword [rbp + 0x420], eax
mov byte [rbp + 0x4f0], al
mov qword [rbp + 0x4e0], rdx
mov qword [rbp + 0x580], 0
mov qword [rbp + 0x590], 0
mov qword [rbp + 0x5a0], 0
mov rdx, qword [rcx]
mov rbx, qword [rcx + 0x10]
xor eax, eax
cmp rdx, 5
mov r8, rcx
cmove r8, rax
cmp byte [rbp + 0x428], 0
mov r15, rcx
mov ecx, 1
cmovne rcx, qword [rbp + 0x478]
lea r10, [rbp + 0x418]
lea r9, [rbp + 0x490]
cmovne r9, r10
add r8, 8
cmp rdx, 5
cmovne rcx, rdx
cmove r8, r9
lea rsi, [r15 + 0x10]
cmp rbx, 5
cmove rsi, rax
mov rdi, qword [r15 + 0x20]
add r15, 0x20
cmp rdi, 5
cmove r15, rax
mov rdx, qword [r8]
lea r9, [rbp + 0x580]
mov r8d, 0xfffffff6
call fcn.140019ae0
test rax, rax
je 0x140017aae
mov rax, qword [rbp + 0x538]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
mov rbx, qword [rbp + 0x5f8]
mov r15d, r12d
mov rdi, qword [rbp + 0x570]
jmp 0x140017b91
mov qword [rbp + 0x568], rdx
add rsi, 8
cmp rbx, 5
cmove rbx, qword [rbp + 0x478]
lea r9, [rbp + 0x590]
lea rax, [rbp + 0x418]
cmove rsi, rax
mov rdx, qword [rsi]
mov rcx, rbx
mov r8d, 0xfffffff5
call fcn.140019ae0
test rax, rax
mov rbx, qword [rbp + 0x5f8]
je 0x140017b0b
mov rax, qword [rbp + 0x538]
mov qword [rax], rdx
mov qword [rax + 0x10], 2
mov r15d, r12d
jmp 0x140017b7d
mov qword [rbp + 0x428], rdx
add r15, 8
cmp rdi, 5
cmove rdi, qword [rbp + 0x478]
lea r9, [rbp + 0x5a0]
lea rax, [rbp + 0x418]
cmove r15, rax
mov rdx, qword [r15]
mov rcx, rdi
mov r8d, 0xfffffff4
call fcn.140019ae0
mov rbx, rdx
test rax, rax
mov r15d, r12d
je 0x1400181b1
mov rax, qword [rbp + 0x538]
mov qword [rax], rbx
mov qword [rax + 0x10], 2
mov rsi, qword [rbp + 0x428]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp + 0x5f8]
mov rdi, qword [rbp + 0x570]
mov rcx, qword [rbp + 0x568]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x580], 0
je 0x140017ba8
mov rcx, qword [rbp + 0x588]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x590], 0
mov r12, qword [rbp + 0x5d8]
je 0x140017bc6
mov rcx, qword [rbp + 0x598]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x5a0], 0
je 0x140017bdd
mov rcx, qword [rbp + 0x5a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13b, r13b
cmp byte [rbp + 0x420], 0
jne 0x140017bfd
mov rax, qword [0x14137e228]
shl rax, 1
test rax, rax
jne 0x1400183a8
lea rcx, [0x14137e268]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x140017c2b
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x488]
call fcn.140001f00
test r12, r12
je 0x140017c44
add r12, r12
mov r8d, 2
mov rcx, rdi
mov rdx, r12
call fcn.140001f00
mov rdx, qword [rbp + 0x4c0]
test rdx, rdx
je 0x140017c65
mov rcx, qword [rbp + 0x4b8]
add rdx, rdx
mov r8d, 2
call fcn.140001f00
mov rdx, qword [rbp + 0x5e8]
test rdx, rdx
je 0x140017c86
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x4d0]
call fcn.140001f00
mov sil, 1
test r15b, r15b
jne 0x140015eb2
jmp 0x140016e58
mov r12, rax
mov esi, 2
xor r14d, r14d
mov rcx, rsi
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rax, r12
test rdi, rdi
je 0x140017cd6
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x5e8]
mov r14, rax
mov rdx, rdi
call fcn.140001f00
mov rax, r14
test rsi, rsi
je 0x140018168
mov qword [rbp + 0x4e0], rsi
mov qword [rbp + 0x4e8], rax
mov rdi, rax
mov qword [rbp + 0x4f0], rax
lea rdx, [0x1413740a6]
lea rcx, [rbp - 0x30]
mov r8d, 8
call fcn.140028dc0
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x596], rax
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x586], xmm0
mov qword [rbp - 0x30], 1
mov qword [rbp - 0x20], 1
mov word [rbp - 0x18], 0
mov rax, qword [rbp + 0x58e]
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x596]
mov qword [rbp], rax
movdqu xmm0, xmmword [rbp + 0x580]
movdqu xmmword [rbp - 0x16], xmm0
lea rbx, [rbp - 0x10]
mov r14, qword [rbp - 8]
lea r15, [r14 + 3]
xor r12d, r12d
xor eax, eax
mov rdx, rdi
jmp 0x140017db0
mov r8, r15
sub r8, rax
shr r8, 2
sub r8, r12
inc r8
inc r8
lea rcx, [rbp + 0x4e0]
mov rdi, rdx
call fcn.14002af30
mov rsi, qword [rbp + 0x4e0]
mov rax, r12
mov rdx, rdi
mov word [rsi + rdx*2], r13w
inc rdx
mov qword [rbp + 0x4f0], rdx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
cmovne rcx, rbx
je 0x140017e6f
movzx r13d, word [rbp]
test r13w, r13w
je 0x140017dd7
mov word [rbp], 0
jmp 0x140017e98
mov r8, qword [rcx]
cmp r8, r14
je 0x140017e67
mov rdi, rdx
lea rdx, [r8 + 1]
mov qword [rcx], rdx
movzx r10d, byte [r8]
movzx r13d, r10b
test r13b, r13b
jns 0x140017e95
mov edx, r13d
and edx, 0x1f
lea r9, [r8 + 2]
mov qword [rcx], r9
movzx r11d, byte [r8 + 1]
and r11d, 0x3f
cmp r13b, 0xdf
jbe 0x140017e8c
lea r9, [r8 + 3]
mov qword [rcx], r9
movzx r9d, byte [r8 + 2]
shl r11d, 6
and r9d, 0x3f
or r9d, r11d
cmp r10b, 0xf0
jb 0x140017ec0
lea r10, [r8 + 4]
mov qword [rcx], r10
movzx r13d, byte [r8 + 3]
and edx, 7
shl edx, 0x12
shl r9d, 6
and r13d, 0x3f
or r13d, r9d
or r13d, edx
cmp r13d, 0x110000
mov rdx, rdi
jne 0x140017ecc
mov qword [rbp - 0x10], 0
cmp rax, 1
je 0x140017efd
lea r12, [rax + 1]
mov qword [rbp - 0x28], r12
movzx r13d, word [rbp + rax*2 - 0x18]
mov rax, r12
jmp 0x140017e98
shl edx, 6
or edx, r11d
mov r13d, edx
mov rdx, rdi
cmp qword [rbp + 0x4e8], rdx
jne 0x140017da1
mov rax, qword [rbp - 0x10]
test rax, rax
jne 0x140017d72
mov r8d, 1
sub r8, r12
jmp 0x140017d82
shl edx, 0xc
or r9d, edx
mov r13d, r9d
mov rdx, rdi
cmp r13d, 0xffff
jbe 0x140017e98
lea ecx, [r13 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r13d, 0x3ff
or r13d, 0xdc00
mov word [rbp], r13w
mov r13d, ecx
jmp 0x140017e98
mov rdx, qword [rbp + 0x4e0]
mov rax, qword [rbp + 0x4e8]
test rdx, rdx
mov rcx, qword [rbp + 0x568]
je 0x140018161
mov qword [rbp + 0x4d0], rdx
mov qword [rbp + 0x5e8], rax
mov r13, qword [rcx + 0x90]
mov rax, qword [rcx + 0xa0]
mov qword [rbp + 0x488], rax
movzx eax, byte [rcx + 0xad]
mov byte [rbp + 0x4d8], al
test al, al
setne byte [rbp + 0x5d8]
lea rdx, [0x141373b7d]
lea rcx, [rbp + 0x580]
mov r8d, 0xf
call fcn.140028dc0
mov rbx, qword [rbp + 0x580]
mov r15, qword [rbp + 0x588]
movzx ecx, word [rbp + 0x590]
test cx, cx
je 0x14001818b
mov qword [rbp + 0x480], r13
xor r13d, r13d
mov qword [rbp + 0x420], rcx
lea r12, [r15 + 3]
mov rax, r12
sub rax, rbx
shr rax, 2
cmp rax, 4
mov r14d, 3
cmovae r14, rax
movabs rax, 0x3fffffffffffffff
xor esi, esi
cmp r14, rax
setne al
je 0x1400189dc
mov sil, al
add rsi, rsi
lea rdi, [r14 + r14]
add rdi, 2
movzx eax, byte [0x14137e181]
mov rcx, rdi
mov rdx, rsi
call fcn.140001ef0
test rax, rax
je 0x1400189e3
inc r14
mov rcx, qword [rbp + 0x420]
mov word [rax], cx
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 1
mov esi, 1
lea rdi, [rbp - 0x30]
jmp 0x140018034
mov rax, qword [rbp - 0x30]
mov word [rax + rsi*2], r13w
inc rsi
mov qword [rbp - 0x20], rsi
mov r13d, r14d
test r13w, r13w
je 0x140018042
xor r14d, r14d
jmp 0x140018102
cmp rbx, r15
je 0x140018129
movzx r8d, byte [rbx]
movzx r13d, r8b
test r13b, r13b
js 0x140018063
inc rbx
xor r14d, r14d
jmp 0x140018102
mov ecx, r13d
and ecx, 0x1f
movzx r9d, byte [rbx + 1]
and r9d, 0x3f
cmp r13b, 0xdf
jbe 0x1400180b3
movzx edx, byte [rbx + 2]
shl r9d, 6
and edx, 0x3f
or edx, r9d
cmp r8b, 0xf0
jb 0x1400180c5
movzx r13d, byte [rbx + 3]
and ecx, 7
shl ecx, 0x12
shl edx, 6
and r13d, 0x3f
or r13d, edx
or r13d, ecx
cmp r13d, 0x110000
je 0x140018129
add rbx, 4
jmp 0x1400180d1
add rbx, 2
shl ecx, 6
or ecx, r9d
mov r13d, ecx
xor r14d, r14d
jmp 0x140018102
add rbx, 3
shl ecx, 0xc
or edx, ecx
mov r13d, edx
cmp r13d, 0xffff
jbe 0x14001803a
lea ecx, [r13 + 0xff0000]
shr ecx, 0xa
or ecx, 0xd800
and r13d, 0x3ff
or r13d, 0xdc00
mov r14d, r13d
mov r13d, ecx
cmp rsi, qword [rbp - 0x28]
jne 0x140018025
mov r8, r12
sub r8, rbx
shr r8, 2
inc r8
mov rcx, rdi
mov rdx, rsi
call fcn.14002af30
jmp 0x140018021
mov rdi, qword [rbp - 0x20]
mov qword [rbp + 0x4f0], rdi
movdqu xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x4e0], xmm0
cmp rdi, qword [rbp + 0x4e8]
mov r14, qword [rbp + 0x570]
mov r13, qword [rbp + 0x480]
je 0x140018464
jmp 0x14001847a
mov rbx, qword [rbp + 0x5f8]
mov rcx, qword [rbp + 0x538]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
jmp 0x140016e56
call fcn.14002b230
xor al, 1
jmp 0x140017999
cmp rbx, r15
je 0x140018444
movzx edx, byte [rbx]
movzx ecx, dl
test cl, cl
mov qword [rbp + 0x480], r13
js 0x1400183ef
inc rbx
jmp 0x140017f92
pxor xmm0, xmm0
movdqu xmmword [rbp + 4], xmm0
movdqu xmmword [rbp - 8], xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqu xmmword [rbp + 0x18], xmm0
movdqu xmmword [rbp + 0x28], xmm0
mov dword [rbp - 0x30], 0x68
test rbx, rbx
mov rcx, qword [rbp + 0x4d0]
mov r12, qword [rbp + 0x5d8]
mov rax, qword [rbp + 0x568]
mov rsi, qword [rbp + 0x428]
jne 0x140018205
test rsi, rsi
jne 0x140018205
test rax, rax
je 0x140018218
mov dword [rbp + 0xc], pe_nt_image_headers64
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rbx
mov rdi, qword [rbp + 0x4b8]
lea rax, [rbp + 0x430]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x3d8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x3d0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400183c1
movups xmm0, xmmword [rbp + 0x580]
movups xmm1, xmmword [rbp + 0x590]
movups xmm2, xmmword [rbp + 0x5a0]
mov rax, qword [rbp + 0x538]
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [rbp + 0x430]
movups xmmword [rax], xmm0
mov r14, rsi
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call rsi
mov rcx, r14
call rsi
mov rcx, qword [rbp + 0x568]
call rsi
lea rcx, [rbp + 0x4e0]
call fcn.140003070
mov rdx, qword [rbp + 0x4d8]
test rdx, rdx
je 0x1400182ec
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x488]
call fcn.140001f00
test r12, r12
mov rsi, qword [rbp + 0x5f8]
je 0x140018310
add r12, r12
mov r8d, 2
mov rcx, qword [rbp + 0x570]
mov rdx, r12
call fcn.140001f00
mov rdx, qword [rbp + 0x4c0]
test rdx, rdx
je 0x14001832d
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140001f00
mov rdx, qword [rbp + 0x5e8]
test rdx, rdx
je 0x14001834e
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x4d0]
call fcn.140001f00
test rsi, rsi
sete al
or r15b, al
cmp r15b, 1
je 0x140015eb2
add rsi, rsi
mov r8d, 2
mov rcx, qword [rbp + 0x578]
mov rdx, rsi
call fcn.140001f00
jmp 0x140015eb2
mov rdi, rax
movdqu xmm6, xmmword [rbp - 0x28]
mov rdx, qword [rbp + 0x438]
test rdx, rdx
je 0x1400183a0
mov r8d, 1
mov rcx, rsi
call fcn.140001f00
mov r8, rdi
jmp 0x1400169ca
call fcn.14002b230
test al, al
jne 0x140017bfd
mov byte [0x14137e270], 1
jmp 0x140017bfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x538]
mov qword [rcx], rax
mov qword [rcx + 0x10], 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140017b6d
mov eax, ecx
and eax, 0x1f
movzx r8d, byte [rbx + 1]
and r8d, 0x3f
cmp cl, 0xdf
jbe 0x140018712
movzx ecx, byte [rbx + 2]
shl r8d, 6
and ecx, 0x3f
or ecx, r8d
cmp dl, 0xf0
jb 0x14001872b
movzx edx, byte [rbx + 3]
and eax, 7
shl eax, 0x12
shl ecx, 6
and edx, 0x3f
or edx, ecx
or edx, eax
cmp edx, 0x110000
mov r13, qword [rbp + 0x480]
jne 0x140018736
mov qword [rbp + 0x4e0], 2
pxor xmm0, xmm0
movdqu xmmword [rbp + 0x4e8], xmm0
xor edi, edi
mov r14, qword [rbp + 0x570]
lea rcx, [rbp + 0x4e0]
mov rdx, rdi
call fcn.1400083b0
mov rdi, qword [rbp + 0x4f0]
mov r12, qword [rbp + 0x4e0]
mov word [r12 + rdi*2], 0x22
inc rdi
mov qword [rbp + 0x4f0], rdi
lea rax, [r14 + r14]
xor ecx, ecx
lea rsi, [0x141373bc8]
mov rbx, qword [rbp + 0x5f8]
mov rdx, qword [rbp + 0x578]
cmp rax, rcx
je 0x1400184c2
cmp word [rdx + rcx], 0x22
lea rcx, [rcx + 2]
jne 0x1400184ad
jmp 0x140018654
mov rax, qword [rbp + 0x578]
movzx eax, word [rax + r14*2 - 2]
cmp ax, 0x5c
je 0x140018654
lea rsi, [r14 - 1]
xor ebx, ebx
test ax, ax
mov rax, qword [rbp + 0x578]
cmove rbx, rax
test rbx, rbx
cmove rsi, r14
cmove rbx, rax
mov r15, qword [rbp + 0x4e8]
mov rax, r15
sub rax, rdi
cmp rax, rsi
jae 0x140018531
lea rcx, [rbp + 0x4e0]
mov rdx, rdi
mov r8, rsi
call fcn.14002af30
mov rdi, qword [rbp + 0x4f0]
mov r12, qword [rbp + 0x4e0]
mov r15, qword [rbp + 0x4e8]
lea r8, [rsi + rsi]
lea rcx, [r12 + rdi*2]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
add rdi, rsi
mov qword [rbp + 0x4f0], rdi
cmp rdi, r15
jne 0x14001856d
lea rcx, [rbp + 0x4e0]
mov rdx, r15
call fcn.1400083b0
mov r12, qword [rbp + 0x4e0]
mov rdi, qword [rbp + 0x4f0]
mov word [r12 + rdi*2], 0x22
inc rdi
mov qword [rbp + 0x4f0], rdi
mov rax, qword [rbp + 0x488]
lea rax, [rax + rax*4]
lea r15, [rax*8]
add r15, r13
lea rdi, [rbp + 0x4e0]
lea rbx, [0x141373be0]
cmp r13, r15
je 0x1400186b1
mov rdx, qword [rbp + 0x4f0]
cmp rdx, qword [rbp + 0x4e8]
jne 0x1400185ca
mov rcx, rdi
call fcn.1400083b0
mov rdx, qword [rbp + 0x4f0]
lea rax, [rdx + 1]
mov rcx, qword [rbp + 0x4e0]
mov word [rcx + rdx*2], 0x20
mov qword [rbp + 0x4f0], rax
movzx esi, byte [rbp + 0x5d8]
cmp byte [rbp + 0x4d8], 0
jne 0x14001862f
cmp qword [r13], 0
movzx esi, byte [rbp + 0x5d8]
jne 0x14001862f
mov r14, qword [r13 + 8]
mov r12, qword [r13 + 0x18]
add r12, r14
cmp r14, r12
setne sil
je 0x14001862f
movzx ecx, byte [r14]
mov r8d, 0x16
mov rdx, rbx
call fcn.140027aa0
inc r14
cmp rax, 1
jne 0x14001860b
mov rcx, rdi
mov rdx, r13
mov r8d, esi
call fcn.140012550
mov rsi, rax
add r13, 0x28
test rax, rax
je 0x1400185a2
mov rbx, qword [rbp + 0x5f8]
mov rdx, qword [rbp + 0x4e8]
test rdx, rdx
je 0x140018675
mov rcx, qword [rbp + 0x4e0]
add rdx, rdx
mov r8d, 2
call fcn.140001f00
mov rax, qword [rbp + 0x538]
mov qword [rax], rsi
mov qword [rax + 0x10], 2
mov rdx, qword [rbp + 0x5e8]
test rdx, rdx
je 0x140016e56
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x4d0]
call fcn.140001f00
jmp 0x140016e56
mov rdx, qword [rbp + 0x4f0]
cmp rdx, qword [rbp + 0x4e8]
jne 0x1400186d4
lea rcx, [rbp + 0x4e0]
call fcn.1400083b0
mov rdx, qword [rbp + 0x4f0]
mov rbx, qword [rbp + 0x5f8]
mov rax, qword [rbp + 0x4e0]
mov word [rax + rdx*2], 0x22
mov rax, qword [rbp + 0x4e0]
mov rsi, qword [rbp + 0x4e8]
test rax, rax
je 0x140018675
inc rdx
mov cl, 1
mov dword [rbp + 0x480], ecx
xor r15d, r15d
jmp 0x140016df2
add rbx, 2
shl eax, 6
or eax, r8d
mov ecx, eax
jmp 0x140017f92
mov r13, r15
jmp 0x14001766f
add rbx, 3
shl eax, 0xc
or ecx, eax
jmp 0x14001873d
mov rcx, rdx
add rbx, 4
cmp ecx, 0xffff
jbe 0x140017f92
mov r13, rcx
lea eax, [rcx + 0xff0000]
shr eax, 0xa
or eax, 0xd800
and r13d, 0x3ff
or r13d, 0xdc00
mov ecx, eax
jmp 0x140017f95
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x430], rax
lea rax, [rbp + 0x430]
mov qword [rbp + 0x4e0], rax
lea rax, [0x14000a490]
mov qword [rbp + 0x4e8], rax
lea rax, [0x141373fb0]
mov qword [rbp + 0x580], rax
mov qword [rbp + 0x588], 1
mov qword [rbp + 0x5a0], 0
lea rax, [rbp + 0x4e0]
mov qword [rbp + 0x590], rax
mov qword [rbp + 0x598], 1
lea rdx, [0x141373fe8]
lea rcx, [rbp + 0x580]
call fcn.14002bac0
jmp 0x1400189ee
mov byte [rbp + 0x5f6], 1
mov ecx, 1
mov rdx, rdi
call fcn.14002ba40
jmp 0x1400189ee
call fcn.140024ad0
jmp 0x1400189ee
mov ecx, 1
mov rdx, rdi
call fcn.14002ba40
jmp 0x1400189ee
call fcn.140024ad0
jmp 0x1400189ee
mov rcx, rsi
mov rdx, r15
call fcn.14002ba40
jmp 0x1400189ee
mov byte [rbp + 0x5f6], 1
call fcn.140024ad0
jmp 0x1400189ee
lea rcx, [0x141371d18]
lea r8, [0x141371d40]
mov edx, 0x21
call fcn.14002bb60
jmp 0x1400189ee
mov byte [rbp + 0x607], 1
mov ecx, 1
mov edx, 4
call fcn.14002ba40
jmp 0x1400189ee
lea rcx, [0x141371e18]
lea r8, [0x141374530]
mov edx, 0x28
call fcn.14002bb60
jmp 0x1400189ee
lea rcx, [0x141371e18]
lea r8, [0x141374530]
mov edx, 0x28
call fcn.14002bb60
jmp 0x1400189ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x4e0], rax
lea rax, [rbp + 0x4e0]
mov qword [rbp + 0x580], rax
lea rax, [0x14000a490]
mov qword [rbp + 0x588], rax
lea rax, [0x141373e08]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
lea rax, [rbp + 0x580]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rdx, [0x141373e18]
lea rcx, [rbp - 0x30]
call fcn.14002bac0
jmp 0x1400189ee
mov byte [rbp + 0x607], 1
call fcn.140024ad0
jmp 0x1400189ee
mov byte [rbp + 0x607], 1
mov rcx, rsi
mov rdx, r15
call fcn.14002ba40
jmp 0x1400189ee
lea rcx, [0x141371e18]
lea r8, [0x141374530]
mov edx, 0x28
call fcn.14002bb60
jmp 0x1400189ee
lea rax, [0x141374518]
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.14002bfb0
jmp 0x1400189ee
lea r8, [0x141371820]
call fcn.14002bf30
jmp 0x1400189ee
lea rax, [0x141374518]
mov rcx, r8
mov rdx, rbx
mov r8, rax
call fcn.14002bfb0
jmp 0x1400189ee
lea r8, [0x141374518]
mov rcx, rax
mov rdx, r12
call fcn.14002bfb0
jmp 0x1400189ee
mov ecx, 2
mov rdx, r14
call fcn.14002ba40
jmp 0x1400189ee
call fcn.140024ad0
jmp 0x1400189ee
mov rcx, rsi
mov rdx, rdi
call fcn.14002ba40
ud2