Function at 0x1800104a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18009d7c0]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rcx
mov qword [rbp + 0x38], rcx
xor ebx, ebx
movups xmm0, xmmword [0x180090830]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x180090840]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x180090848]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x18009084c]
mov byte [rsp + 0x5c], al
mov r8d, ebx
movdqa xmm6, xmmword [0x180091560]
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp r15d, 2
jl 0x180010647
movdqa xmm4, xmmword [0x1800914c0]
movdqa xmm3, xmmword [0x180091590]
movdqa xmm5, xmmword [0x1800914f0]
movdqa xmm0, xmmword [str.55555555555555556666666666666666]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x180010560
cmp r8d, 0x1d
jge 0x180010692
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1d
jl 0x180010660
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180002090
mov rcx, rax
call fcn.1800170c0
cmp byte [0x18009e6c8], 0
jne 0x18001085a
movups xmm0, xmmword [0x180090b18]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x180090b28]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x180090b2c]
mov byte [rsp + 0x54], al
cmp r15d, 2
jl 0x1800107f4
movdqa xmm4, xmmword [0x1800914c0]
movdqa xmm3, xmmword [0x180091590]
movdqa xmm5, xmmword [0x1800914f0]
movdqa xmm0, xmmword [str.55555555555555556666666666666666]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x180010710
cmp eax, 0x15
jge 0x18001082e
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, bl
xor byte [r8], cl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x15
jl 0x180010800
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180002090
mov rcx, rax
call fcn.180017000
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.1800023b0
nop
xor al, al
jmp 0x180010e31
mov byte [rbp + 0x40], 0
xor edx, edx
lea rcx, [rbp + 0x48]
call fcn.180005b60
nop
lea r14, [0x18009e710]
cmp qword [0x18009e728], 0xf
cmova r14, qword [0x18009e710]
lea rdx, [rbp]
mov rcx, rdi
call fcn.180012ec0
mov rsi, rax
movsd xmm0, qword [0x180090a20]
movsd qword [rsp + 0x30], xmm0
cmp qword [rax + 0x18], 0xf
jbe 0x1800108b4
mov rsi, qword [rax]
mov ecx, dword [0x180090a28]
mov dword [rsp + 0x38], ecx
jmp 0x1800108be
mov eax, dword [0x180090a28]
mov dword [rsp + 0x38], eax
movzx eax, word [0x180090a2c]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x180090a2e]
mov byte [rsp + 0x3e], al
mov r8d, ebx
cmp r15d, 2
jl 0x1800109c6
movdqa xmm4, xmmword [0x180091590]
movdqa xmm3, xmmword [0x1800914c0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800914f0]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.55555555555555556666666666666666]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x180090a20]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
movdqa xmm2, xmmword [0x1800914d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800914f0]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x1800109e0
lea r8, [rsp + 0x30]
lea rdx, [0x18009e750]
lea rcx, [rbp - 0x40]
call fcn.180014270
nop
lea rdx, [0x18009e6f0]
cmp qword [0x18009e708], 0xf
cmova rdx, qword [0x18009e6f0]
mov r8, qword [0x18009e700]
mov rcx, rax
call fcn.180001fb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
lea r9, [rbp + 0x40]
mov r8, r14
mov rdx, rsi
call fcn.180001dd0
mov esi, eax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180010ae1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010adc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010adc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007a994
movdqa xmm0, xmmword [0x180091460]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180010b3a
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010b2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010b2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007a994
movdqa xmm0, xmmword [0x180091460]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x180010b81
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010b7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010b7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007a994
test esi, esi
je 0x180010bfc
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.18007a950
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x58], Ordinal_33
movups xmm0, xmmword [str.CURL_request_failed_]
movups xmmword [rax], xmm0
mov ecx, dword [0x180090558]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
lea rcx, [rsp + 0x40]
call fcn.180017000
nop
movzx edx, byte [rbp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.1800023b0
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.1800023b0
nop
xor al, al
jmp 0x180010e31
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.180012ec0
nop
movsd xmm0, qword [str.gSDHVTHY_a]
movsd qword [rsp + 0x30], xmm0
movzx edx, word [0x180090858]
mov word [rsp + 0x38], dx
movzx ecx, byte [0x18009085a]
mov byte [rsp + 0x30], 0x52
xor byte [rsp + 0x31], 0x36
xor byte [rsp + 0x32], 0x37
xor byte [rsp + 0x33], 0x38
xor byte [rsp + 0x34], 0x39
xor byte [rsp + 0x35], 0x3a
xor byte [rsp + 0x36], 0x3b
xor byte [rsp + 0x37], 0x3c
xor dl, 0x3d
mov byte [rsp + 0x38], dl
xor byte [rsp + 0x39], 0x3e
xor cl, 0x3f
mov byte [rsp + 0x3a], cl
lea r8, [rsp + 0x30]
mov rcx, rax
call fcn.180015600
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x80]
call fcn.180017000
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180010ceb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010ce6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010ce6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007a994
lea rdx, str.success
lea rcx, [rsp + 0x60]
call fcn.180002090
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.180015410
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.180012ec0
nop
movsd xmm0, qword [0x180090b08]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x180090b10]
mov word [rsp + 0x38], ax
cmp byte [0x180090b11], 0
je 0x180010d6a
mov byte [rsp + 0x30], 0x53
xor byte [rsp + 0x31], 0x36
xor byte [rsp + 0x32], 0x37
xor byte [rsp + 0x33], 0x38
xor byte [rsp + 0x34], 0x39
xor byte [rsp + 0x35], 0x3a
xor byte [rsp + 0x36], 0x3b
xor byte [rsp + 0x37], 0x3c
xor byte [rsp + 0x38], 0x3d
xor byte [rsp + 0x39], 0x3e
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.180015600
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp - 0x60]
call fcn.180017000
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180010ded
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010de8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180010de8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18007a994
lea rdx, str.success
lea rcx, [rsp + 0x60]
call fcn.180002090
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.180015410
cmp byte [rax], 4
jne 0x180010e5f
movzx ebx, byte [rax + 8]
movzx edx, byte [rbp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.1800023b0
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.1800023b0
nop
movzx eax, bl
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.18007a930
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, rax
call fcn.18000cc90
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1800163b0
nop
mov r8, rax
lea rcx, [rbp]
call fcn.180016180
lea rdx, [0x18009ac60]
lea rcx, [rbp]
call sub.VCRUNTIME140.dll__CxxThrowException
int3