Function at 0x140001990
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.DiscordWebhookClient
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
je 0x140001cf9
lea rdx, str.discord.com
cmp qword [0x140009150], 0xf
cmova rdx, qword [str.discord.com]
mov r8d, 0x1bb
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
test rax, rax
jne 0x140001a44
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001cf9
lea rcx, [rbp - 0x11]
call fcn.140001d40
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140001a5a
mov rdi, qword [rax]
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140001a98
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ff8
movdqa xmm0, xmmword [0x140007570]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], bl
mov rdx, qword [r15 + 0x10]
mov qword [rbp - 0x39], rdx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rdx
cmp rax, 0xc
jb 0x140001d26
cmp qword [r15 + 0x18], 0xf
jbe 0x140001ad4
mov r15, qword [r15]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
lea r13, [rdx + 0xc]
mov ebx, 0xf
lea rsi, [rbp - 0x31]
cmp r13, rbx
jbe 0x140001b72
mov rbx, r13
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001b31
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005d74
test rax, rax
je 0x140001c19
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001b6a
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001b4a
xor esi, esi
jmp 0x140001b6e
cmp rcx, 0x1000
jb 0x140001b62
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001d2c
jmp 0x140001b12
call fcn.140005d74
mov rsi, rax
mov rdx, qword [rbp - 0x39]
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], rbx
movsd xmm0, qword [str._content_:_]
movsd qword [rsi], xmm0
mov ecx, dword [0x140007488]
mov dword [rsi + 8], ecx
lea rcx, [rsi + 0xc]
mov r8, rdx
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r13], 0
mov r8d, 2
lea rdx, [0x140007478]
lea rcx, [rbp - 0x31]
call fcn.140004e50
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140001c25
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ff8
lea r8, [0x140009830]
cmp qword [0x140009848], 0xf
cmova r8, qword [0x140009830]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea rdx, str.POST
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
je 0x140001ca9
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r9, qword [rbp + 0xf]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x140001c83
mov eax, dword [rbp + 0x1f]
mov dword [rsp + 0x20], eax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140001cf9
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cf4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ff8
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140005c70
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001270
int3
call fcn.1400011d0
int3