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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x748
lea rax, [rsp + 0x88]
mov r13, r8
mov rbx, rcx
mov rbp, r9
mov rcx, rax
mov qword [rsp + 0x798], rdx
mov edx, 0x30
lea rdi, [rsp + 0xa8]
mov qword [rsp + 0x58], rax
call fcn.6a942f37
or r8, 0xffffffffffffffff
lea rdx, [0x6a9495cd]
mov rcx, r13
call fcn.6a945248
or r9, 0xffffffffffffffff
mov rdx, r13
mov rcx, rdi
lea r8, [rax + 1]
mov qword [rsp + 0x60], rdi
call fcn.6a945230
lea rax, [rsp + 0xc8]
mov r8, qword [rsp + 0x58]
lea rdx, str.Content_Type:_multipart_form_data__boundary
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.6a947290
lea r15, [rsp + 0x108]
mov r8, qword [rsp + 0x58]
lea rdx, [0x6a9495fd]
mov rcx, r15
call fcn.6a947290
lea rax, [rsp + 0x128]
lea r8, [0x6a949600]
mov rdx, r15
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.6a9471b0
lea rax, [rsp + 0x148]
mov rdx, qword [rsp + 0x50]
lea r8, str.Content_Disposition:_form_data__name_file___filename_
mov rcx, rax
mov qword [rsp + 0x48], rax
call fcn.6a9471b0
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call fcn.6a945160
lea r14, [rsp + 0x168]
mov rdx, rax
lea r12, [rsp + 0x340]
mov rcx, r14
call fcn.6a945128
lea r8, [0x6a94963b]
mov rdx, r14
mov rcx, r12
call fcn.6a9471b0
lea rcx, [rsp + 0xe8]
lea r8, str.Content_Type:_application_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
mov rdx, r12
call fcn.6a9471b0
mov rcx, r12
call fcn.6a945188
mov rcx, r14
call fcn.6a945188
mov rcx, qword [rsp + 0x48]
call fcn.6a945188
mov rcx, qword [rsp + 0x50]
call fcn.6a945188
mov rcx, r15
call fcn.6a945188
mov r8, qword [rsp + 0x58]
lea rdx, str._r_n__
mov rcx, r12
call fcn.6a947290
lea r8, str.___r_n
mov rdx, r12
mov rcx, r15
call fcn.6a9471b0
mov rcx, r12
call fcn.6a945188
mov r8d, 6
mov rdx, r13
mov rcx, r14
call fcn.6a9451c8
lea rcx, [rsp + 0x1c0]
call fcn.6a945250
test al, al
je 0x6a9435ad
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.6a945200
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov rsi, qword [rsp + 0x70]
call fcn.6a945208
test rsi, rsi
jns 0x6a94325e
lea rcx, str.cannot_create_std::vector_larger_than_max_size__
call fcn.6a9450c8
je 0x6a943277
mov rcx, rsi
call sub.libstdc_6.dll_operator_new_unsigned_long_long_
mov r13, rax
mov rcx, rsi
xor eax, eax
mov rdi, r13
rep stosb byte [rdi], al
jmp 0x6a94327a
xor r13d, r13d
mov r8, rsi
mov rdx, r13
mov rcx, r14
call fcn.6a945210
mov rdx, qword [rax]
mov rcx, r14
mov rdx, qword [rdx - 0x18]
test byte [rax + rdx + 0x20], 5
je 0x6a9432a9
call fcn.6a9451d0
mov r12d, 0xe2
jmp 0x6a943597
call fcn.6a9451d0
lea rax, [rsp + 0x158]
mov qword [rsp + 0x340], rsi
mov qword [rsp + 0x148], rax
cmp rsi, 0xf
jbe 0x6a9432f4
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, r12
call fcn.6a945138
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x340]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x148]
xor eax, eax
cmp rsi, rax
je 0x6a943310
mov cl, byte [r13 + rax]
mov byte [rdx + rax], cl
inc rax
jmp 0x6a9432fe
mov rax, qword [rsp + 0x340]
mov rdx, qword [rsp + 0x148]
lea r8, [rsp + 0xe8]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x150], rax
mov byte [rdx + rax], 0
xor edx, edx
call fcn.6a945150
mov rdx, rax
mov rcx, r12
call fcn.6a945128
mov rdx, r15
mov rcx, r12
call fcn.6a945160
mov rcx, qword [rsp + 0x50]
mov rdx, rax
call fcn.6a945128
lea rcx, [rsp + 0x340]
call fcn.6a945188
mov rcx, qword [rsp + 0x48]
call fcn.6a945188
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov dword [rsp + 0x20], 0
lea rcx, str.HTTP_1.1
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
test rax, rax
je 0x6a943587
mov qword [rsp + 0x38], 0
xor r9d, r9d
mov rcx, rax
mov r8d, 0x1bb
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
mov rdx, qword [rbx]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbx, rax
test rax, rax
jne 0x6a9433f9
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r12d, 0xe5
jmp 0x6a94358d
mov rax, qword [rsp + 0x798]
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x800000
lea rdx, str.POST
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r8, qword [rax]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r14, rax
test rax, rax
jne 0x6a94345e
mov rcx, rbx
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rbx
mov rcx, r12
call rbx
mov r12d, 0xe4
jmp 0x6a94358d
mov r9d, 4
lea r8, [rsp + 0x84]
mov edx, 6
mov rcx, rax
mov dword [rsp + 0x84], 0xea60
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [rsp + 0x130]
mov r9, qword [rsp + 0x128]
mov rcx, r14
mov r8d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x6a9434f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
mov esi, eax
mov r14, qword [sym.imp.WININET.dll_InternetCloseHandle]
call r14
mov rcx, rbx
call r14
mov rcx, r12
call r14
xor r12d, r12d
cmp esi, 0x2ee2
sete r12b
lea r12d, [r12*4 + 0xe3]
jmp 0x6a94358d
mov rax, qword [rbp]
mov qword [rbp + 8], 0
lea rsi, [rsp + 0x340]
mov rdi, qword [sym.imp.WININET.dll_InternetReadFile]
mov byte [rax], 0
lea rax, [rsp + 0x148]
mov dword [rsp + 0x148], 0
mov qword [rsp + 0x48], rax
mov r9, qword [rsp + 0x48]
mov r8d, 0x3ff
mov rdx, rsi
mov rcx, r14
call rdi
test eax, eax
je 0x6a943569
mov eax, dword [rsp + 0x148]
test eax, eax
je 0x6a943569
mov rdx, rsi
mov rcx, rbp
mov byte [rsp + rax + 0x340], 0
call fcn.6a945108
mov dword [rsp + 0x148], 0
jmp 0x6a943527
mov rsi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call rsi
mov rcx, rbx
call rsi
mov rcx, r12
call rsi
mov r12d, 0xe8
jmp 0x6a94358d
mov r12d, 0xe6
mov rcx, qword [rsp + 0x50]
call fcn.6a945188
test r13, r13
je 0x6a9436aa
mov rcx, r13
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x6a9436aa
mov r12d, 0xe1
jmp 0x6a9436aa
lea rcx, [rsp + 0x168]
call fcn.6a9451c0
mov rcx, r15
call fcn.6a945188
lea rcx, [rsp + 0xe8]
call fcn.6a945188
mov rcx, qword [rsp + 0x68]
call fcn.6a945188
mov rcx, qword [rsp + 0x60]
call fcn.6a945188
mov rcx, qword [rsp + 0x58]
call fcn.6a945188
mov eax, r12d
add rsp, 0x748
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret