Function at 0x14009c9f0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x688]
sub rsp, 0x770
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x640], rax
movups xmm0, xmmword [0x140170f60]
xor r14d, r14d
movups xmm1, xmmword [0x140170f70]
mov r8d, r14d
mov esi, dword [reloc.WS2_32.dll_accept]
mov eax, dword [0x140170fa0]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140170f80]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x140170f90]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], eax
cmp esi, 2
jl 0x14009cb91
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop dword [rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x14009caa0
cmp r8d, 0x22
jge 0x14009cbd4
movsxd rax, r8d
lea r9, [rbp - 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009cba0
movsd xmm0, qword [str.q_DS9]
mov ecx, 0x44
movzx eax, word [reloc.WS2_32.dll_gethostname]
xor edx, edx
movsd qword [rbp + 8], xmm0
xor ax, 0x39
xor word [rbp + 0xa], 0x36
mov r8d, 0x200
xor word [rbp + 0xc], 0x37
xor word [rbp + 0xe], 0x38
mov word [rbp + 8], cx
lea rcx, [rbp + 0x240]
mov word [rbp + 0x10], ax
call fcn.1401481c4
cmp word [0x1401704b2], r14w
lea rdx, [rbp + 0x40]
mov eax, dword [0x1401704b0]
mov r15d, WSAStartup
mov dword [rsp + 0x50], eax
lea rax, [0x140171330]
lea ecx, [r15 - 0x70]
je 0x14009ccb0
xor word [rsp + 0x52], 0x36
mov word [rsp + 0x50], r15w
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x14009cc51
jmp 0x14009cd03
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x14009ccb0
movzx ecx, word [rax + 0x30]
mov r8d, r14d
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
mov word [rdx + 0x30], cx
cmp esi, 2
jl 0x14009ce48
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rbp + 0x40]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x98
jl 0x14009cd51
cmp r8d, 0x99
jge 0x14009ce97
movsxd rax, r8d
lea r9, [rbp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x99
jl 0x14009ce60
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov rdi, rax
mov rbx, 0xffffffffffffffff
test rax, rax
je 0x14009cfad
mov r8, rax
lea rcx, [rbp + 0x240]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x14009cfa4
movzx eax, word [rbp + 0x240]
lea rcx, [rbp + 0x240]
test ax, ax
je 0x14009cf13
movabs rdx, 0x100002400
cmp ax, 0x20
ja 0x14009cf00
bt rdx, rax
jb 0x14009cf0f
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14009cef4
jmp 0x14009cf13
mov word [rcx], r14w
mov qword [rsp + 0x40], r14
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009cfa4
lea rcx, [rbp + 0x240]
mov rax, rbx
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009cf60
mov rcx, qword [rbp]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [rbp + 8]
lea rax, [rbp + 0x240]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
movups xmm0, xmmword [0x140170f60]
mov r8d, r14d
movups xmm1, xmmword [0x140170f70]
mov eax, dword [0x140170fa0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140170f80]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140170f90]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009d111
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x14009d020
cmp r8d, 0x22
jge 0x14009d154
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009d120
cmp word [0x140170f3a], r14w
movups xmm0, xmmword [0x140170f28]
mov eax, dword [0x140170f38]
mov dword [rbp + 0x28], eax
movups xmmword [rbp + 0x18], xmm0
je 0x14009d1a8
xor word [rbp + 0x1a], 0x36
mov eax, 0x42
xor word [rbp + 0x1c], 0x37
xor word [rbp + 0x1e], 0x38
xor word [rbp + 0x20], 0x39
xor word [rbp + 0x22], 0x3a
xor word [rbp + 0x24], 0x3b
xor word [rbp + 0x26], 0x3c
xor word [rbp + 0x28], 0x3d
xor word [rbp + 0x2a], 0x3e
mov word [rbp + 0x18], ax
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x200
call fcn.1401481c4
cmp word [0x1401704b2], r14w
movups xmm0, xmmword [0x140170de0]
mov eax, dword [0x1401704b0]
movups xmm1, xmmword [0x140170df0]
mov dword [rsp + 0x50], eax
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140170e00]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
je 0x14009d1fa
xor word [rsp + 0x52], 0x36
mov word [rsp + 0x50], r15w
cmp esi, 2
jl 0x14009d319
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140176050]
mov edx, r14d
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x18
jl 0x14009d230
jmp 0x14009d354
lea r9, [rbp - 0x50]
mov r8d, r14d
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x18
jl 0x14009d320
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov rdi, rax
test rax, rax
je 0x14009d45a
mov r8, rax
lea rcx, [rbp + 0x40]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
mov r8, rdi
lea rcx, [rbp + 0x40]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x14009d451
lea rcx, [rbp + 0x40]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009d3a3
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009e7ac
mov qword [rsp + 0x40], r14
lea rdx, [rsp + 0x60]
mov word [rbp + rax + 0x40], r14w
xor r9d, r9d
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009d451
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009d410
mov rcx, qword [rbp]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [rbp + 0x18]
lea rax, [rbp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
movups xmm0, xmmword [0x140170f60]
mov r8d, r14d
movups xmm1, xmmword [0x140170f70]
mov eax, dword [0x140170fa0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140170f80]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140170f90]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009d5b3
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x14009d4c2
cmp r8d, 0x22
jge 0x14009d5f4
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009d5c0
cmp word [0x1401706de], r14w
movups xmm7, xmmword [str.wWD__UZNYmq_]
movsd xmm0, qword [0x1401706d8]
movups xmmword [rbp + 0x18], xmm7
movsd qword [rbp + 0x28], xmm0
je 0x14009d754
mov r8d, r14d
cmp esi, 2
jl 0x14009d70d
movdqa xmm2, xmmword [0x140175f00]
mov r8d, 8
movdqa xmm4, xmmword [0x140176050]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [str.555555557777777799999999]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x140175f20]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movq qword [rbp + 0x18], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140175f60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + 0x20]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp + 0x20], xmm3
movsxd rax, r8d
lea r9, [rbp + 0x18]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x14009d720
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x200
call fcn.1401481c4
cmp word [0x1401704b2], r14w
movups xmm0, xmmword [0x140171150]
movups xmm1, xmmword [0x140171160]
mov eax, dword [0x1401704b0]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140171170]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x140171180]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rsp + 0x50], eax
je 0x14009d7b1
xor word [rsp + 0x52], 0x36
mov word [rsp + 0x50], r15w
cmp esi, 2
jl 0x14009d8d9
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140176050]
mov edx, r14d
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x20
jl 0x14009d7f0
jmp 0x14009d914
lea r9, [rbp - 0x50]
mov r8d, r14d
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x20
jl 0x14009d8e0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov rdi, rax
test rax, rax
je 0x14009da1a
mov r8, rax
lea rcx, [rbp + 0x40]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
mov r8, rdi
lea rcx, [rbp + 0x40]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x14009da11
lea rcx, [rbp + 0x40]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009d963
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009e7b2
mov qword [rsp + 0x40], r14
lea rdx, [rsp + 0x60]
mov word [rbp + rax + 0x40], r14w
xor r9d, r9d
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009da11
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009d9d0
mov rcx, qword [rbp]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [rbp + 0x18]
lea rax, [rbp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
movups xmm0, xmmword [0x140170f60]
mov r8d, r14d
movups xmm1, xmmword [0x140170f70]
mov eax, dword [0x140170fa0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140170f80]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140170f90]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009db73
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x14009da82
cmp r8d, 0x22
jge 0x14009dbb4
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009db80
cmp word [0x140170b0e], r14w
mov rax, qword [str.xWT8]
mov qword [rsp + 0x50], rax
je 0x14009dc84
cmp esi, 2
jl 0x14009dc48
movdqa xmm3, xmmword [0x140175f00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176050]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176050]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140175f60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x50]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.555555557777777799999999]
xorps xmm2, xmm0
movq qword [rsp + 0x50], xmm2
jmp 0x14009dc84
lea r9, [rsp + 0x50]
mov r8d, r14d
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x14009dc50
lea rcx, [rbp + 0x18]
call fcn.140092430
cmp qword [rbp + 0x28], r14
je 0x14009dd0e
mov qword [rsp + 0x40], r14
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [rbp + 0x28]
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 7
lea rdx, [rsp + 0x50]
mov r9d, 1
cmova rcx, qword [rbp + 0x18]
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x18]
call fcn.140089520
movups xmm0, xmmword [0x140170f60]
mov r8d, r14d
movups xmm1, xmmword [0x140170f70]
mov eax, dword [0x140170fa0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140170f80]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140170f90]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009de71
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x14009dd80
cmp r8d, 0x22
jge 0x14009deb4
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009de80
cmp word [0x14017069e], r14w
mov rax, qword [str.rfb8]
mov qword [rbp], rax
je 0x14009df84
cmp esi, 2
jl 0x14009df45
movdqa xmm3, xmmword [0x140175f00]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176050]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176050]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140175f60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.555555557777777799999999]
xorps xmm2, xmm0
movq qword [rbp], xmm2
jmp 0x14009df84
lea r9, [rbp]
mov r8d, r14d
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x14009df50
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x200
call fcn.1401481c4
cmp word [0x1401704b2], r14w
lea rdx, [0x140170bc0]
movups xmm0, xmmword [rdx]
mov eax, dword [0x1401704b0]
lea rcx, [rbp + 0x40]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
mov dword [rsp + 0x50], eax
mov rax, qword [rdx + 0x40]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmmword [rcx - 0x10], xmm1
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
mov qword [rcx + 0x40], rax
mov eax, dword [rdx + 0x48]
mov dword [rcx + 0x48], eax
je 0x14009e03b
xor word [rsp + 0x52], 0x36
mov word [rsp + 0x50], r15w
mov r8d, r14d
cmp esi, 2
jl 0x14009e161
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rbp + 0x40]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x60
jl 0x14009e070
cmp r8d, 0x66
jge 0x14009e1a4
movsxd rax, r8d
lea r9, [rbp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x66
jl 0x14009e170
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov rdi, rax
test rax, rax
je 0x14009e2ad
mov r8, rax
lea rcx, [rbp + 0x440]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x14009e2a4
lea rax, [rbp + 0x440]
mov rcx, rbx
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], r14w
lea rcx, [rcx + 1]
jne 0x14009e1f0
lea rcx, [rcx*2 - 2]
cmp rcx, 0x200
jae 0x14009e7a0
mov qword [rsp + 0x40], r14
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov word [rbp + rcx + 0x440], r14w
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009e2a4
lea rcx, [rbp + 0x440]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e260
mov rcx, qword [rbp + 8]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [rbp]
lea rax, [rbp + 0x440]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
movups xmm0, xmmword [0x140170f60]
mov r8d, r14d
movups xmm1, xmmword [0x140170f70]
mov eax, dword [0x140170fa0]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140170f80]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140170f90]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009e411
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x14009e320
cmp r8d, 0x22
jge 0x14009e454
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009e420
movups xmm0, xmmword [str.xEV_U_b]
movzx eax, word [0x140171108]
mov ecx, Ordinal_79
xor ax, 0x3d
xor edx, edx
movups xmmword [rbp + 0x18], xmm0
xor word [rbp + 0x1a], 0x36
mov r8d, 0x200
xor word [rbp + 0x1c], 0x37
xor word [rbp + 0x1e], 0x38
xor word [rbp + 0x20], 0x39
xor word [rbp + 0x22], 0x3a
xor word [rbp + 0x24], 0x3b
xor word [rbp + 0x26], 0x3c
mov word [rbp + 0x18], cx
lea rcx, [rbp + 0x40]
mov word [rbp + 0x28], ax
call fcn.1401481c4
cmp word [0x1401704b2], r14w
movups xmm0, xmmword [0x1401716a8]
mov eax, dword [0x1401704b0]
movups xmm1, xmmword [str.Z_K_]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1401716d8]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x20], ax
movups xmm0, xmmword [0x1401716c8]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
je 0x14009e4f7
xor word [rsp + 0x52], 0x36
mov word [rsp + 0x50], r15w
mov r8d, r14d
cmp esi, 2
jl 0x14009e621
movdqa xmm5, xmmword [0x140175f00]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140176050]
movdqa xmm6, xmmword [0x140175f60]
movdqa xmm7, xmmword [str.555555557777777799999999]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x18
jl 0x14009e530
cmp r8d, 0x19
jge 0x14009e664
movsxd rax, r8d
lea r9, [rbp - 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x94f2095
lea r9, [r9 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x19
jl 0x14009e630
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wpopen]
mov rdi, rax
test rax, rax
je 0x14009e76a
mov r8, rax
lea rcx, [rbp + 0x40]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
mov r8, rdi
lea rcx, [rbp + 0x40]
mov edx, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetws]
test rax, rax
je 0x14009e761
lea rcx, [rbp + 0x40]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e6b3
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009e7a6
mov qword [rsp + 0x40], r14
lea rdx, [rsp + 0x60]
mov word [rbp + rax + 0x40], r14w
xor r9d, r9d
lea rax, [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14009e761
lea rax, [rbp + 0x40]
nop dword [rax]
cmp word [rax + rbx*2 + 2], r14w
lea rbx, [rbx + 1]
jne 0x14009e720
mov rcx, qword [rbp + 8]
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [rbp + 0x18]
lea rax, [rbp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1401468a0
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140146ae8
int3
call fcn.140146ae8
int3
call fcn.140146ae8
int3
call fcn.140146ae8
int3