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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
movaps xmmword [rsp + 0x420], xmm6
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinHTTP_Discord_File_Uploader_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
test rax, rax
jne 0x140001545
lea rdx, str.WinHttpOpen_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005250
lea rdx, [0x140005430]
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]
xor al, al
jmp 0x140002765
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
mov dword [rbp - 0x10], 0x68
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c0], xmm1
mov qword [rbp + 0x1d0], r15
mov ecx, 0x200
call fcn.1400066c0
mov qword [rbp + 0x1c0], rax
lea rbx, [rax + 0x200]
mov qword [rbp + 0x1d0], rbx
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1c8], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1a8], xmm1
mov qword [rbp + 0x1b8], r15
mov ecx, 0x800
call fcn.1400066c0
mov qword [rbp + 0x1a8], rax
lea rbx, [rax + 0x800]
mov qword [rbp + 0x1b8], rbx
xor edx, edx
mov r8d, 0x800
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x1b0], rbx
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x1c8]
sub rcx, rax
sar rcx, 1
mov dword [rbp + 0x10], ecx
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x38], rax
sub rbx, rax
sar rbx, 1
mov dword [rbp + 0x40], ebx
cmp qword [rdi + 0x18], 7
jbe 0x140001636
mov rdi, qword [rdi]
lea r9, [rbp - 0x10]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x14000167f
lea rdx, str.WinHttpCrackUrl_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005250
lea rdx, [0x140005430]
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]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x1400026bd
xor r9d, r9d
movzx r8d, word [rbp + 0x14]
mov rdx, qword [rbp + 8]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
test rax, rax
jne 0x1400016a5
lea rdx, str.WinHttpConnect_failed
jmp 0x140001653
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp + 0x38]
lea rdx, str.POST
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
mov qword [rbp - 0x18], rax
test rax, rax
jne 0x140001714
lea rdx, str.WinHttpOpenRequest_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005250
lea rdx, [0x140005430]
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]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1400026bd
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140001290
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14000173c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140004e50
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x5c], edx
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400017ac
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
movdqa xmm6, xmmword [0x140008e20]
movdqu xmmword [rbp - 0x68], xmm6
mov byte [rbp - 0x78], 0
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140001887
lea rdx, str.Failed_to_open_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005250
mov rdi, rax
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140001290
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000180b
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140005f00
lea rdx, [0x140005430]
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]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001865
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001860
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001860
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x140002676
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rdi, qword [rax + 8]
add rdi, qword [rax]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
mov qword [rbp + 0x1a0], r15
movabs rbx, 0x7fffffffffffffff
test rdi, rdi
je 0x140001943
cmp rdi, rbx
ja 0x1400027a3
cmp rdi, 0x1000
jb 0x14000190b
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400027a9
call fcn.1400066c0
mov rcx, rax
test rax, rax
je 0x140002658
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140001913
mov rcx, rdi
call fcn.1400066c0
mov qword [rbp + 0x190], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x1a0], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x198], rbx
movabs rbx, 0x7fffffffffffffff
mov r8, rdi
mov rdx, qword [rbp + 0x190]
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140001a01
lea rdx, str.Failed_to_read_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005250
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140001290
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400019a0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140005f00
lea rdx, [0x140005430]
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]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400019fa
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
xor bl, bl
jmp 0x140002621
mov rdx, r14
lea rcx, [rbp + 0x1f8]
call fcn.140001290
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x180], xmm1
mov ecx, 0x30
call fcn.1400066c0
mov rdx, rax
mov qword [rbp + 0x170], rax
movdqa xmm0, xmmword [0x140008e30]
movdqu xmmword [rbp + 0x180], xmm0
movups xmm0, xmmword [str._____________________________1234567890]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140008760]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140008770]
mov dword [rax + 0x20], ecx
movzx eax, word [0x140008774]
mov word [rdx + 0x24], ax
movzx eax, byte [0x140008776]
mov byte [rdx + 0x26], al
mov byte [rdx + 0x27], 0
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140008df0]
mov qword [rbp + 0x220], rax
lea rcx, [rbp + 0x2a8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov edi, 1
mov dword [rsp + 0x60], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x228]
lea rcx, [rbp + 0x220]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x220], rax
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x21c], edx
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x228], rax
mov qword [rbp + 0x290], r15
mov dword [rbp + 0x298], 4
lea rdx, [0x140008780]
lea rcx, [rbp + 0x220]
call fcn.140005250
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
mov rcx, rax
call fcn.140005f00
lea rdx, [0x140008784]
mov rcx, rax
call fcn.140005250
mov rcx, rax
lea rdx, str.Content_Disposition:_form_data__name_file___filename_
call fcn.140005250
lea rdx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 0xf
cmova rdx, qword [rbp + 0x1f8]
mov r8, qword [rbp + 0x208]
mov rcx, rax
call fcn.140005f00
lea rdx, [0x1400087b4]
mov rcx, rax
call fcn.140005250
mov rcx, rax
lea rdx, str.Content_Type:_application_octet_stream_r_n_r_n
call fcn.140005250
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r15, qword [rbp + 0x190]
mov rsi, qword [rbp + 0x198]
cmp r15, rsi
jne 0x140001c07
movdqu xmmword [rsp + 0x50], xmm6
mov byte [rsp + 0x40], 0
jmp 0x140001ce3
sub rsi, r15
cmp rsi, rbx
ja 0x1400027af
cmp rsi, 0xf
ja 0x140001c41
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov r8, rsi
mov rdx, r15
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rsi + 0x40], 0
jmp 0x140001ce3
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140001c87
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400066c0
test rax, rax
je 0x140001d8b
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140001cc1
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140001ca1
xor r14d, r14d
jmp 0x140001cc1
cmp rcx, 0x1000
jb 0x140001cb9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000279d
jmp 0x140001c68
call fcn.1400066c0
mov r14, rax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
mov r8, rsi
mov rdx, r15
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rsi], 0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140005f00
lea rdx, [0x140008784]
mov rcx, rax
call fcn.140005250
mov rcx, rax
lea rdx, [0x140008780]
call fcn.140005250
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
mov rcx, rax
call fcn.140005f00
lea rdx, str.___r_n
mov rcx, rax
call fcn.140005250
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140001d97
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rdx, qword [rbp + 0x170]
mov r14, qword [rbp + 0x180]
add r14, rdx
lea rbx, [rbp + 0x170]
cmp qword [rbp + 0x188], 0xf
cmova rbx, qword [rbp + 0x170]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor r9d, r9d
mov qword [rsp + 0x78], r9
cmp rbx, r14
jne 0x140001dfb
mov r8d, r9d
mov ecx, 7
mov qword [rbp - 0x80], rcx
mov word [rsp + 0x68], r9w
jmp 0x140001f18
sub r14, rbx
mov qword [rbp - 0x80], 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x1400027b5
mov esi, 7
cmp r14, rsi
jbe 0x140001ed4
mov rsi, r14
or rsi, 7
cmp rsi, rax
jbe 0x140001e84
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140001ec1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002797
mov rcx, rax
call fcn.1400066c0
mov rcx, rax
test rax, rax
je 0x140001eba
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
xor r9d, r9d
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rsi
jmp 0x140001ed9
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140002797
add rcx, rcx
jne 0x140001e44
mov rax, r9
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rsi
jmp 0x140001ed9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400066c0
xor r9d, r9d
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rsi
jmp 0x140001ed9
mov rax, qword [rsp + 0x68]
lea r8, [rsp + 0x68]
cmp rsi, 7
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140001f05
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140001ef1
mov qword [rsp + 0x78], r14
mov word [r8 + r14*2], r9w
mov rcx, qword [rbp - 0x80]
mov r8, qword [rsp + 0x78]
mov rax, rcx
sub rax, r8
mov r15d, 0x2c
cmp rax, r15
jb 0x140001fc9
lea rax, [r8 + 0x2c]
mov qword [rsp + 0x78], rax
lea rsi, [rsp + 0x68]
cmp rcx, 7
cmova rsi, qword [rsp + 0x68]
lea rax, [0x140008848]
lea rcx, str.Content_Type:_multipart_form_data__boundary
cmp rax, rsi
jbe 0x140001f76
lea rax, [rsi + r8*2]
cmp rcx, rax
ja 0x140001f76
cmp rsi, rcx
ja 0x140001f6b
mov r14, r9
jmp 0x140001f79
mov r14, rsi
sub r14, rcx
sar r14, 1
jmp 0x140001f79
mov r14, r15
lea rcx, [rsi + 0x58]
lea r8, [r8*2 + 2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [r14 + r14]
mov r8, rbx
lea rdx, str.Content_Type:_multipart_form_data__boundary
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.Content_Type:_multipart_form_data__boundary
lea rdx, [rdx + 0x58]
lea rdx, [rdx + r14*2]
lea rcx, [rbx + rsi]
sub r15, r14
lea r8, [r15 + r15]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x68]
jmp 0x140001fdb
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.140006450
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1e8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e8], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
or edi, 2
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14000205f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000205a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000205a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqu xmmword [rbp - 0x68], xmm6
mov byte [rbp - 0x78], 0
or edi, 8
mov dword [rsp + 0x60], edi
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [rbp + 0x298]
and al, 0x22
cmp al, 2
je 0x1400020ed
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400020ed
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rbx, rax
cmp rax, qword [rbp + 0x290]
cmovb rbx, qword [rbp + 0x290]
sub rbx, rsi
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x140002137
test byte [rbp + 0x298], 4
jne 0x14000212d
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x14000212d
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rsi
jmp 0x140002137
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
test rsi, rsi
je 0x14000214b
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140005060
and edi, 0xfffffff7
or edi, 4
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movdqu xmmword [rbp - 0x28], xmm6
mov byte [rbp - 0x38], 0
or edi, 0x20
mov dword [rsp + 0x60], edi
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [rbp + 0x298]
and al, 0x22
cmp al, 2
je 0x1400021cc
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400021cc
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rbx, rax
cmp rax, qword [rbp + 0x290]
cmovb rbx, qword [rbp + 0x290]
sub rbx, rsi
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x140002216
test byte [rbp + 0x298], 4
jne 0x14000220c
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x14000220c
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rsi, rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rsi
jmp 0x140002216
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
test rsi, rsi
je 0x14000222a
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140005060
and edi, 0xffffffdf
or edi, 0x10
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm6
mov byte [rbp - 0x58], 0
bts edi, 7
mov dword [rsp + 0x60], edi
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [rbp + 0x298]
and al, 0x22
cmp al, 2
je 0x1400022ac
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400022ac
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const___ptr64]
mov rdi, rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov rbx, rax
cmp rax, qword [rbp + 0x290]
cmovb rbx, qword [rbp + 0x290]
sub rbx, rdi
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
jmp 0x1400022f6
test byte [rbp + 0x298], 4
jne 0x1400022ec
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
test rax, rax
je 0x1400022ec
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
mov rdi, rax
lea rcx, [rbp + 0x228]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const___ptr64]
mov rbx, rax
sub rbx, rdi
jmp 0x1400022f6
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14000230b
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.140005060
nop
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r9, qword [rbp - 0x58]
lea rdx, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 7
cmova rdx, qword [rbp + 0x1d8]
mov qword [rsp + 0x30], r15
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbp + 0x1e8]
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edi, eax
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140002397
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002392
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
movdqu xmmword [rbp - 0x48], xmm6
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x1400023df
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14000241d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002418
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002418
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
test edi, edi
jne 0x140002463
lea rdx, str.WinHttpSendRequest_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005250
lea rdx, [0x140005430]
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]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x1400024b7
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov edi, eax
test eax, eax
jne 0x140002497
lea rdx, str.WinHttpReceiveResponse_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140005250
lea rdx, [0x140005430]
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]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
setne bl
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 7
jbe 0x140002500
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
movdqa xmm0, xmmword [0x140008e10]
movdqu xmmword [rbp + 0x1e8], xmm0
mov word [rbp + 0x1d8], r15w
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x220], rax
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x21c], edx
lea rcx, [rbp + 0x228]
call fcn.140003c80
lea rcx, [rbp + 0x230]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2a8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x188]
cmp rdx, 0xf
jbe 0x1400025b5
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
movdqu xmmword [rbp + 0x180], xmm6
mov byte [rbp + 0x170], 0
mov rdx, qword [rbp + 0x210]
cmp rdx, 0xf
jbe 0x140002608
inc rdx
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002603
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
mov qword [rbp + 0x208], r15
mov qword [rbp + 0x210], 0xf
mov byte [rbp + 0x1f8], 0
mov rcx, qword [rbp + 0x190]
test rcx, rcx
je 0x140002676
mov rdx, qword [rbp + 0x1a0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000265f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000265f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x1a0], r15
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x5c], edx
lea rcx, [rbp + 0x70]
call fcn.140004990
lea rcx, [rbp + 0x78]
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 + 0x110]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x140002719
mov rax, qword [rbp + 0x1b8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002702
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002702
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1a8], xmm0
mov qword [rbp + 0x1b8], r15
mov rcx, qword [rbp + 0x1c0]
test rcx, rcx
je 0x140002762
mov rdx, qword [rbp + 0x1d0]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000275d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000275d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400067d4
movzx eax, bl
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.1400066a0
mov rbx, qword [rsp + 0x488]
movaps xmm6, xmmword [rsp + 0x420]
add rsp, 0x430
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001110
nop
call fcn.140001110
nop
call fcn.140005ee0
int3
call fcn.140001110
nop
call fcn.1400011b0
int3
call fcn.1400011b0
int3