Function at 0x14004f0a0
Capabilities:
Connect to http server
Create http request
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 r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401c7f00]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Discord_Webhook
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x14004f36b
mov r8d, 0x1bb
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea rdx, str.discord.com
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
test rax, rax
je 0x14004f362
lea rax, str.application_json
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x800000
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, str.https:__discord.com_api_webhooks_1288637985193201787_uolBTeYntQQOHXTnKAFAyqRfGXMJdyCb5E1DwNzZs27nJMdMo4FL65x8mA079W4rrFc6
lea rdx, str.POST
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
je 0x14004f359
mov rdx, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 0xc
jb 0x14004f399
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004f1b1
mov rax, qword [rbx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], ntohs
lea r9, str._content_:_
mov r8, rbx
movzx edx, byte [rbp - 0x49]
lea rcx, [rbp - 0x41]
call fcn.14003fa50
nop
mov r8d, 2
lea rdx, [0x1401a9d6c]
lea rcx, [rbp - 0x41]
call fcn.140036e70
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14004f25d
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f258
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140164db4
movdqa xmm6, xmmword [0x1401aaf20]
movdqu xmmword [rbp - 0x31], xmm6
mov byte [rbp - 0x41], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov r8d, 0x20
lea rdx, str.Content_Type:_application_json_r_n
lea rcx, [rbp - 0x21]
call fcn.14003f950
lea r9, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova r9, qword [rbp - 1]
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdx, qword [rbp - 0x21]
mov eax, dword [rbp + 0xf]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp - 0x11]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x14004f312
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f305
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140164db4
movdqa xmm6, xmmword [0x1401aaf20]
movdqu xmmword [rbp - 0x11], xmm6
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14004f359
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f354
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f354
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140164db4
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140164680
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400344d0
int3