Function at 0x18000db30
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x15b0]
mov eax, 0x16b0
call fcn.1800a8c50
sub rsp, rax
mov rax, qword [0x1800dd3c0]
xor rax, rsp
mov qword [rbp + 0x15a0], rax
mov rbx, rdx
mov rdx, qword [rdx]
mov rax, qword [rbx + 8]
sub rax, rdx
sar rax, 5
cmp rax, 2
jae 0x18000dbf6
movaps xmm0, xmmword [str.__sBoost_s___sInvalid_command__Usage:_._IRC_internet_talk__words]
movaps xmmword [rbp + 0x150], xmm0
movaps xmm1, xmmword [0x1800b4860]
movaps xmmword [rbp + 0x160], xmm1
movaps xmm0, xmmword [0x1800b4870]
movaps xmmword [rbp + 0x170], xmm0
movaps xmm1, xmmword [0x1800b4880]
movaps xmmword [rbp + 0x180], xmm1
movzx eax, byte [0x1800b4890]
mov byte [rbp + 0x190], al
lea rax, [0x1801a09f0]
mov qword [rsp + 0x20], rax
lea r9, [0x1801a09f8]
lea r8, [0x1801a09f4]
lea rdx, [rbp + 0x150]
lea rcx, [0x1801a0988]
call fcn.18009dca0
jmp 0x18000dfa9
add rdx, 0x20
lea rcx, [rsp + 0x68]
call fcn.180007a70
nop
lea rax, [rsp + 0x68]
mov r14, qword [rsp + 0x68]
mov r15, qword [rbp - 0x80]
cmp r15, 0xf
cmova rax, r14
cmp byte [rax], 0x69
jne 0x18000df6f
lea rcx, [rsp + 0x68]
cmp r15, 0xf
cmova rcx, r14
mov r8, qword [rsp + 0x78]
cmp r8, 3
jne 0x18000df6f
lea rdx, [0x1800b4840]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18000df6f
mov rdx, qword [rbx]
add rdx, 0x40
lea rcx, [rbp - 0x78]
call fcn.180007a70
nop
mov esi, 3
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 5
cmp rax, rsi
jbe 0x18000dd6d
add rcx, 0x60
mov rdx, qword [rcx + 0x10]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rdx
cmp rax, 1
jb 0x18000dfd4
mov edi, 0x60
cmp qword [rcx + 0x18], 0xf
jbe 0x18000dcb2
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 1
lea r9, [0x1800b43d8]
lea rcx, [rsp + 0x48]
call fcn.180009e70
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x78]
call fcn.1800083a0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18000dd30
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dd2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000dd66
call fcn.1800a73d4
inc rsi
add rdi, 0x20
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 5
cmp rsi, rax
jae 0x18000dd6d
add rcx, rdi
mov rdx, qword [rcx + 0x10]
mov rax, r12
sub rax, rdx
cmp rax, 1
jb 0x18000dfd4
jmp 0x18000dca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0x202
lea rdx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18000dda6
lea rdx, str.Failed_to_initialize_winsock._n
lea rcx, [0x1801a0988]
call fcn.18009dca0
lea rax, [0x1801a09e8]
lea rdx, str.__sBoost_s___sMessage_sent_to_Discord_webhook_successfully_
jmp 0x18000df10
xor r8d, r8d
mov edx, 1
mov edi, 2
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18000dddc
lea rdx, str.Failed_to_create_socket._n
lea rcx, [0x1801a0988]
call fcn.18009dca0
jmp 0x18000dec3
mov word [rsp + 0x48], di
mov ecx, 0x1bb
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x4a], ax
lea rcx, str.discord.com
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x4c], eax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x18000de32
lea rdx, str.Connection_error_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180008ca0
jmp 0x18000def3
mov r8d, 0x1d
lea rdx, str.POST__api_webhooks_1231302759848874044_Ts9MY4l__LFP5kTSjJh61EUemabi_uPay8_es91yRaLJwuNPwUZW9ElLHCC94V_pjzIj_HTTP_1.1_r_nHost:_discord.com_r_nContent_Type:_application_json_r_nContent_Length:__d_r_n_r_n_content_:_Hello__Discord__
lea rcx, [rbp + 0x1a0]
call fcn.18000d2d0
lea rax, [rbp + 0x1a0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000de60
xor r9d, r9d
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x18000de8a
lea rdx, str.Failed_to_send_request._n
jmp 0x18000deae
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x5a0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jns 0x18000ded9
lea rdx, str.Failed_to_receive_response._n
lea rcx, [0x1801a0988]
call fcn.18009dca0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rax, [0x1801a09e8]
lea rdx, str.__sBoost_s___sMessage_sent_to_Discord_webhook_successfully_
jmp 0x18000df10
lea r8, [rbp + 0x5a0]
lea rdx, str.Response:_n_s_n
lea rcx, [0x1801a0988]
call fcn.18009dca0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rax, [0x1801a09f0]
lea rdx, str.__sBoost_s___sFailed_to_send_message_to_Discord_webhook.
mov qword [rsp + 0x20], rax
lea r9, [0x1801a09f8]
lea r8, [0x1801a09f4]
lea rcx, [0x1801a0988]
call fcn.18009dca0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x18000df6f
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000df69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000df69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a73d4
nop
cmp r15, 0xf
jbe 0x18000dfa9
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18000dfa1
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000dfa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1800a73d4
mov rcx, qword [rbp + 0x15a0]
xor rcx, rsp
call fcn.1800a6ee0
lea r11, [rsp + 0x16b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180004390
nop
int3