Function at 0x140002e10
Capabilities:
Connect to http server
Create http request
Initialize winsock library
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1198]
mov eax, 0x1298
call fcn.14000dea0
sub rsp, rax
movaps xmmword [rsp + 0x1280], xmm6
mov rax, qword [0x140043080]
xor rax, rsp
mov qword [rbp + 0x1170], rax
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], rdx
mov r14, rcx
mov rax, qword [rbp + 0x1200]
mov qword [rsp + 0x48], rax
xor edi, edi
mov ecx, 0x202
lea rdx, [rbp - 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, eax
test eax, eax
je 0x140002eac
lea rdx, str.WSAStartup_failed:
lea rcx, [0x140087950]
call fcn.140006e70
mov edx, ebx
mov rcx, rax
call fcn.140004720
mov rcx, rax
call fcn.140007400
xor al, al
jmp 0x14000343b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov r8d, 0xb
lea rdx, str.discord.com
lea rcx, [rbp - 0x70]
call fcn.1400075d0
nop
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r12, qword [rbp - 0x70]
mov rsi, qword [r14 + 0x10]
mov r13, r14
mov rcx, qword [r14 + 0x18]
cmp rcx, 0xf
jbe 0x140002ef4
mov r13, qword [r14]
mov r15, 0xffffffffffffffff
mov rdi, qword [rbp - 0x60]
cmp rdi, rsi
ja 0x140002f7a
mov rax, rsi
sub rax, rdi
test rdi, rdi
jne 0x140002f17
xor r12d, r12d
mov ebx, r12d
jmp 0x140002f80
inc rax
add rax, r13
mov qword [rsp + 0x40], rax
movsx edx, byte [r12]
mov r8, rax
sub r8, r13
mov rcx, r13
call fcn.14002f0e0
mov rbx, rax
test rax, rax
je 0x140002f76
nop dword [rax]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.14002f180
test eax, eax
je 0x14000306e
inc rbx
mov r8, qword [rsp + 0x40]
sub r8, rbx
movsx edx, byte [r12]
mov rcx, rbx
call fcn.14002f0e0
mov rbx, rax
test rax, rax
jne 0x140002f40
mov rcx, qword [r14 + 0x18]
mov rbx, r15
xor r12d, r12d
lea rax, [rdi + rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
cmp rsi, rax
jb 0x14000346c
sub rsi, rax
cmp rsi, r15
cmovb r15, rsi
cmp rcx, 0xf
jbe 0x140002fb0
mov r14, qword [r14]
lea rdx, [r14 + rax]
mov r8, r15
lea rcx, [rsp + 0x70]
call fcn.1400075d0
nop
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.DiscordWebhookSender
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x14000307a
lea rdx, str.InternetOpen_failed:
lea rcx, [0x140087950]
call fcn.140006e70
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140004520
mov rcx, rax
call fcn.140007400
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000305c
inc rdx
mov rcx, qword [rsp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000347e
call fcn.14000d5c0
movdqa xmm0, xmmword [0x14003c940]
movdqu xmmword [rbp - 0x80], xmm0
jmp 0x14000329a
sub rbx, r13
mov rcx, qword [r14 + 0x18]
jmp 0x140002f7d
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8d, 0x1bb
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r14, rax
test rax, rax
jne 0x1400030f5
lea rdx, str.InternetConnect_failed:
lea rcx, [0x140087950]
call fcn.140006e70
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140004520
mov rcx, rax
call fcn.140007400
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140003019
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.140002990
nop
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r8, qword [rsp + 0x70]
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, str.POST
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rdi, rax
test rax, rax
jne 0x14000318a
lea rdx, str.HttpOpenRequest_failed:
lea rcx, [0x140087950]
call fcn.140006e70
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140004520
mov rcx, rax
call fcn.140007400
jmp 0x1400031f4
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json
mov rcx, rdi
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x1400032e1
lea rdx, str.HttpSendRequest_failed:
lea rcx, [0x140087950]
call fcn.140006e70
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140004520
mov rcx, rax
call fcn.140007400
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140003248
inc rdx
mov rcx, qword [rbp - 0x50]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003243
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003472
call fcn.14000d5c0
movdqa xmm6, xmmword [0x14003c940]
mov byte [rbp - 0x50], 0
movdqu xmmword [rbp - 0x40], xmm6
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003295
inc rdx
mov rcx, qword [rsp + 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003290
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000347e
call fcn.14000d5c0
movdqu xmmword [rbp - 0x80], xmm6
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400032da
inc rdx
mov rcx, qword [rbp - 0x70]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400032d5
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003466
call fcn.14000d5c0
xor al, al
jmp 0x14000343b
lea r9, [rsp + 0x68]
mov r8d, 0xfff
lea rdx, [rbp + 0x170]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000334e
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14000334e
cmp rax, 0x1000
jae 0x140003478
mov byte [rbp + rax + 0x170], 0
lea rdx, [rbp + 0x170]
lea rcx, [0x1400877d0]
call fcn.140006e70
lea r9, [rsp + 0x68]
mov r8d, 0xfff
lea rdx, [rbp + 0x170]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140003300
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400033ab
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003472
call fcn.14000d5c0
movdqa xmm6, xmmword [0x14003c940]
movdqu xmmword [rbp - 0x40], xmm6
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400033f8
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000347e
call fcn.14000d5c0
movdqu xmmword [rbp - 0x80], xmm6
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140003439
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003434
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003466
call fcn.14000d5c0
mov al, 1
mov rcx, qword [rbp + 0x1170]
xor rcx, rsp
call fcn.14000d5a0
movaps xmm6, xmmword [rsp + 0x1280]
add rsp, 0x1298
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140015934
nop
call fcn.140006b70
nop
call fcn.140015934
nop
call fcn.14000d6d0
nop
call fcn.140015934
int3