Function at 0x140002579
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x968
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x920], rcx
mov qword [rbp + 0x928], rdx
mov qword [rbp + 0x930], r8
mov qword [rbp + 0x938], r9
lea rax, [rbp + 0x690]
mov edx, 0x30
mov rcx, rax
call sym.generate_boundary_abi:cxx11__int_
mov rax, qword [rbp + 0x930]
mov r8, 0xffffffffffffffff
lea rdx, [0x14001c1b6]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::find_last_of_char_const__unsigned_long_long__const
lea rcx, [rax + 1]
lea rax, [rbp + 0x670]
mov rdx, qword [rbp + 0x930]
mov r9, 0xffffffffffffffff
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::substr_unsigned_long_long__unsigned_long_long__const
lea rax, [rbp + 0x6b0]
mov r8d, r13d
lea rdx, str.Content_Type:_multipart_form_data__boundary
mov rcx, rax
call sym._ZN11xorstr_impl6stringILy44ELi15EEC1IJLy0ELy1ELy2ELy3ELy4ELy5ELy6ELy7ELy8ELy9ELy10ELy11ELy12ELy13ELy14ELy15ELy16ELy17ELy18ELy
lea rax, [rbp + 0x6b0]
mov rcx, rax
call method.xorstr_impl::string_44ull__15_.decrypt__
mov rdx, rax
lea rax, [rbp + 0x650]
lea rcx, [rbp + 0x690]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x6e0]
mov r8d, ebx
lea rdx, str.Content_Type:_application_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
mov rcx, rax
call sym._ZN11xorstr_impl6stringILy77ELi17EEC1IJLy0ELy1ELy2ELy3ELy4ELy5ELy6ELy7ELy8ELy9ELy10ELy11ELy12ELy13ELy14ELy15ELy16ELy17ELy18ELy
lea rax, [rbp + 0x6e0]
mov rcx, rax
call method.xorstr_impl::string_77ull__17_.decrypt__
mov rbx, rax
lea rax, [rbp + 0x790]
mov r8d, esi
lea rdx, str.Content_Disposition:_form_data__name_file___filename_
mov rcx, rax
call sym._ZN11xorstr_impl6stringILy55ELi16EEC1IJLy0ELy1ELy2ELy3ELy4ELy5ELy6ELy7ELy8ELy9ELy10ELy11ELy12ELy13ELy14ELy15ELy16ELy17ELy18ELy
lea rax, [rbp + 0x790]
mov rcx, rax
call method.xorstr_impl::string_55ull__16_.decrypt__
mov rsi, rax
lea rax, [rbp + 0x7f0]
lea rdx, [rbp + 0x690]
mov r8, rdx
lea rdx, [0x14001c278]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x7d0]
lea rdx, [rbp + 0x7f0]
lea r8, [0x14001c27b]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x770]
lea rdx, [rbp + 0x7d0]
mov r8, rsi
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x750]
lea rcx, [rbp + 0x670]
lea rdx, [rbp + 0x770]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0x730]
lea rdx, [rbp + 0x750]
lea r8, [0x14001c27e]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x630]
lea rdx, [rbp + 0x730]
mov r8, rbx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x730]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x750]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x770]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x7d0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x7f0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x810]
lea rdx, [rbp + 0x690]
mov r8, rdx
lea rdx, str._r_n__
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x610]
lea rdx, [rbp + 0x810]
lea r8, str.___r_n
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x810]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov edx, 2
mov ecx, 4
call method.std.operator_std::_Ios_Openmode__std::_Ios_Openmode_
mov ecx, eax
mov rdx, qword [rbp + 0x930]
lea rax, [rbp + 0x420]
mov r8d, ecx
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
lea rax, [rbp + 0x420]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::is_open__
xor eax, 1
test al, al
je 0x140002828
mov ebx, 0xe1
jmp 0x140002d68
lea rax, [rbp + 0x830]
lea rdx, [rbp + 0x420]
mov rcx, rax
call sym.std::istream::tellg__
lea rax, [rbp + 0x830]
mov rcx, rax
call method.std::fpos__Mbstatet_.operator_long_long___const
mov qword [rbp + 0x8d8], rax
lea rax, [rbp + 0x420]
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.std::istream::seekg_long_long__std::_Ios_Seekdir_
lea rax, [rbp + 0x84f]
mov qword [rbp + 0x8b0], rax
nop
nop
mov rdx, qword [rbp + 0x8d8]
lea rcx, [rbp + 0x84f]
lea rax, [rbp + 0x400]
mov r8, rcx
mov rcx, rax
call method.std::vector_char__std::allocator_char___.vector_unsigned_long_long__std::allocator_char__const_
lea rax, [rbp + 0x84f]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp + 0x400]
mov rcx, rax
call method.std::vector_char__std::allocator_char___.data__
mov rdx, rax
mov rcx, qword [rbp + 0x8d8]
lea rax, [rbp + 0x420]
mov r8, rcx
mov rcx, rax
call sym.std::istream::read_char__long_long_
mov rdx, qword [rax]
sub rdx, 0x18
mov rdx, qword [rdx]
add rax, rdx
mov rcx, rax
call sym.std::basic_ios_char__std::char_traits_char___::operator____const
test al, al
je 0x14000290b
lea rax, [rbp + 0x420]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::close__
mov ebx, 0xe2
jmp 0x140002d59
lea rax, [rbp + 0x420]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::close__
lea rax, [rbp + 0x897]
mov qword [rbp + 0x8a8], rax
nop
nop
lea rax, [rbp + 0x400]
mov rcx, rax
call method.std::vector_char__std::allocator_char___.end__
mov rbx, rax
lea rax, [rbp + 0x400]
mov rcx, rax
call method.std::vector_char__std::allocator_char___.begin__
mov rdx, rax
lea rcx, [rbp + 0x897]
lea rax, [rbp + 0x870]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string___gnu_cxx::__normal_iterator_char__std::vector_char__std.allocator_char_______void____gnu_cxx::__normal_iterator_char__std::vector_char__std::allocator_
lea rax, [rbp + 0x850]
lea rcx, [rbp + 0x870]
lea rdx, [rbp + 0x630]
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std::allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x3e0]
lea rcx, [rbp + 0x610]
lea rdx, [rbp + 0x850]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basi
lea rax, [rbp + 0x850]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x870]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x897]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp + 0x898]
mov r8d, r12d
lea rdx, str.HTTP_1.1
mov rcx, rax
call method.xorstr_impl::string_8ull__18_.string_0ull__1ull__2ull__3ull__4ull__5ull__6ull__7ull__char_const__std::integer_sequence_unsigned_long_long__0ull__1ull__2ull__3ull__4ull__5ull__6ull__7ull__
lea rax, [rbp + 0x898]
mov rcx, rax
call method.xorstr_impl::string_8ull__18_.decrypt__
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0x8d0], rax
cmp qword [rbp + 0x8d0], 0
jne 0x140002a40
mov ebx, 0xe6
jmp 0x140002d4a
mov rax, qword [rbp + 0x920]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rdx, rax
mov rax, qword [rbp + 0x8d0]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x1bb
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetConnectA]
call rax
mov qword [rbp + 0x8c8], rax
cmp qword [rbp + 0x8c8], 0
jne 0x140002ac1
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe5
jmp 0x140002d4a
mov rax, qword [rbp + 0x928]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rbx, rax
lea rax, [rbp + 0x8a2]
mov r8d, edi
lea rdx, str.POST
mov rcx, rax
call method.xorstr_impl::string_4ull__19_.string_0ull__1ull__2ull__3ull__char_const__std::integer_sequence_unsigned_long_long__0ull__1ull__2ull__3ull__
lea rax, [rbp + 0x8a2]
mov rcx, rax
call method.xorstr_impl::string_4ull__19_.decrypt__
mov rdx, rax
mov rax, qword [rbp + 0x8c8]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rbx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpOpenRequestA]
call rax
mov qword [rbp + 0x8c0], rax
cmp qword [rbp + 0x8c0], 0
jne 0x140002b7e
mov rax, qword [rbp + 0x8c8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe4
jmp 0x140002d4a
mov dword [rbp + 0x3dc], 0xea60
lea rdx, [rbp + 0x3dc]
mov rax, qword [rbp + 0x8c0]
mov r9d, 4
mov r8, rdx
mov edx, 6
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetSetOptionA]
call rax
lea rax, [rbp + 0x3e0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::size___const
mov dword [rbp + 0x8bc], eax
lea rax, [rbp + 0x3e0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rbx, rax
lea rax, [rbp + 0x650]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::size___const
mov esi, eax
lea rax, [rbp + 0x650]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rcx, rax
mov rax, qword [rbp + 0x8c0]
mov edx, dword [rbp + 0x8bc]
mov dword [rsp + 0x20], edx
mov r9, rbx
mov r8d, esi
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_HttpSendRequestA]
call rax
test eax, eax
sete al
test al, al
je 0x140002c91
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [rbp + 0x8b8], eax
mov rax, qword [rbp + 0x8c0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8c8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
cmp dword [rbp + 0x8b8], 0x2ee2
jne 0x140002c87
mov ebx, 0xe7
jmp 0x140002d4a
mov ebx, 0xe3
jmp 0x140002d4a
mov rax, qword [rbp + 0x938]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::clear__
mov dword [rbp - 0x34], 0
jmp 0x140002ccd
mov eax, dword [rbp - 0x34]
mov eax, eax
mov byte [rbp + rax - 0x30], 0
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x938]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_const_
mov dword [rbp - 0x34], 0
lea rcx, [rbp - 0x34]
lea rdx, [rbp - 0x30]
mov rax, qword [rbp + 0x8c0]
mov r9, rcx
mov r8d, 0x3ff
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
test eax, eax
je 0x140002d03
mov eax, dword [rbp - 0x34]
test eax, eax
je 0x140002d03
mov eax, 1
jmp 0x140002d08
mov eax, 0
test al, al
jne 0x140002ca9
mov rax, qword [rbp + 0x8c0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8c8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x8d0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov ebx, 0xe8
lea rax, [rbp + 0x3e0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x400]
mov rcx, rax
call method.std::vector_char__std::allocator_char___.vector__
lea rax, [rbp + 0x420]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream__
lea rax, [rbp + 0x610]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x630]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x650]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x670]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x690]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140002f42
add rsp, 0x968
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
ret