Function at 0x140013150
Capabilities:
Encode data using xor
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x260
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14013e100]
xor rax, rsp
mov qword [rbp + 0x138], rax
mov rsi, rcx
mov qword [rbp + 0xd0], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.API_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp - 0x10], rax
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.discordapp.com
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r10, rax
mov qword [rbp - 0x18], rax
lea rdx, [rbp]
lea rcx, [0x14011caf0]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rcx]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm0
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm1
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm0
mov rax, qword [rcx + 0x40]
mov qword [rdx + 0x40], rax
mov eax, dword [rcx + 0x48]
mov dword [rdx + 0x48], eax
movzx eax, word [rcx + 0x4c]
mov word [rdx + 0x4c], ax
mov ecx, ebx
cmp dword [0x14013e158], 2
jl 0x14001338a
movdqa xmm5, xmmword [0x140126040]
movdqa xmm4, xmmword [0x140126410]
movdqa xmm6, xmmword [0x140126070]
movdqa xmm7, xmmword [0x1401260c0]
lea rdx, [rbp]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rdx + 8]
xorps xmm3, xmm0
movq qword [rdx + 8], xmm3
add ecx, 8
lea rdx, [rdx + 0x10]
cmp ecx, 0x60
jl 0x1400132a0
cmp ecx, 0x67
jge 0x1400133d0
movsxd rax, ecx
lea r8, [rbp]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x35
movzx eax, cx
sub ax, dx
add ax, 0x37
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x67
jl 0x1400133a0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp]
lea rdx, str.POST
mov rcx, r10
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], rbx
mov qword [rbp + 0x130], rbx
mov r8d, 0x27
lea rdx, str.:scroll:_Log_:_Usuario_Tentou_Login
lea rcx, [rbp + 0x118]
call fcn.140003e70
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0x110], rbx
mov r8d, 8
lea rdx, str.16711680
lea rcx, [rbp + 0xf8]
call fcn.140003e70
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r13, qword [rbp + 0x128]
sub rax, r13
cmp rax, 0x43
jb 0x140013a61
lea r12, [rbp + 0x118]
mov r14, qword [rbp + 0x118]
mov rax, qword [rbp + 0x130]
mov qword [rbp - 8], rax
cmp rax, 0xf
cmova r12, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
lea r15, [r13 + 0x43]
mov edi, 0xf
lea rbx, [rbp - 0x38]
cmp r15, rdi
jbe 0x14001353e
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x140013501
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400c1b28
test rax, rax
je 0x140013a7f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14001353a
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14001351a
xor ebx, ebx
jmp 0x14001353a
cmp rcx, 0x1000
jb 0x140013532
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140013a55
jmp 0x1400134e2
call fcn.1400c1b28
mov rbx, rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], rdi
movups xmm0, xmmword [str._username_:__Log___Entrada___content_:_null__embeds_:___title_:__]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x14011ca00]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [0x14011ca10]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [0x14011ca20]
movups xmmword [rbx + 0x30], xmm1
movzx eax, word [0x14011ca30]
mov word [rbx + 0x40], ax
movzx eax, byte [0x14011ca32]
mov byte [rbx + 0x42], al
lea rcx, [rbx + 0x43]
mov r8, r13
mov rdx, r12
call fcn.1400f0690
mov byte [rbx + r15], 0
mov r8d, 0x12
lea rdx, str.___description_:__
lea rcx, [rbp - 0x38]
call fcn.140005000
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
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400135ec
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x58]
call fcn.140005000
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 + 0x18], 0xf
mov qword [rax + 0x10], rdi
mov byte [rax], 0
mov r8d, 0x31
lea rdx, str.___footer_:__text_:__LOG___TENTATIVA___color_:
lea rcx, [rbp - 0x78]
call fcn.140005000
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], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0xf
cmova rdx, qword [rbp + 0xf8]
mov r8, qword [rbp + 0x108]
lea rcx, [rsp + 0x68]
call fcn.140005000
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 + 0x18], 0xf
mov qword [rax + 0x10], rdi
mov byte [rax], 0
mov r8d, 0x17
lea rdx, str._____attachments_:___
lea rcx, [rsp + 0x48]
call fcn.140005000
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140013753
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001374e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a67
call fcn.1400c1b20
movdqa xmm0, xmmword [0x140126010]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400137aa
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001379d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a6d
call fcn.1400c1b20
movdqa xmm0, xmmword [0x140126010]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400137f8
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400137eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a73
call fcn.1400c1b20
movdqa xmm0, xmmword [0x140126010]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140013844
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a79
call fcn.1400c1b20
movdqa xmm0, xmmword [0x140126010]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140013888
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013883
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a7f
call fcn.1400c1b20
lea r9, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0xf
cmova r9, qword [rbp + 0xd8]
mov qword [rsp + 0x30], rdi
mov eax, dword [rbp + 0xe8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json_r_n
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400138dc
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x14001393a
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013935
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a85
call fcn.1400c1b20
movdqa xmm0, xmmword [0x140126010]
movdqu xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xd8], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0xf
jbe 0x140013993
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001398d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a8b
call fcn.1400c1b20
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400139ce
inc rdx
mov rax, r14
cmp rdx, 0x1000
jb 0x1400139c5
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013a4f
mov rcx, r14
call fcn.1400c1b20
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140013a04
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400139ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140013a5b
mov rcx, r8
call fcn.1400c1b20
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
xor eax, eax
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.1400c1b00
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400c7f74
nop
call fcn.1400015a0
nop
call fcn.1400c7f74
nop
call fcn.140001640
nop
call fcn.1400c7f74
nop
call fcn.1400c7f74
nop
call fcn.1400c7f74
nop
call fcn.1400c7f74
nop
call fcn.1400c7f74
int3
call fcn.1400c7f74
nop
call fcn.1400c7f74
int3