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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, r9
mov esi, r8d
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x2c], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinHTTP_Example_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
test rax, rax
je 0x1400013b3
xor r9d, r9d
movzx r8d, si
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r15, rax
test rax, rax
je 0x1400013b3
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, r12
lea rdx, [0x140004488]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x1400013b3
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400013b3
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400013b3
nop word [rax + rax]
mov dword [rbp - 0x30], ebx
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14000130c
mov ecx, dword [rbp - 0x30]
inc ecx
call fcn.140002204
mov rdi, rax
mov r8d, dword [rbp - 0x30]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp - 0x2c]
mov r8d, dword [rbp - 0x30]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400012fe
mov r9d, dword [rbp - 0x2c]
mov r8, rdi
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x28]
call fcn.140001f30
mov rcx, rdi
call fcn.1400021c0
cmp dword [rbp - 0x30], 0
ja 0x1400012a0
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x28]
sub rsi, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
test rsi, rsi
je 0x140001365
mov rdx, rax
mov r8, rdi
sub r8, rax
nop dword [rax]
movzx ecx, byte [r8 + rdx]
mov byte [rdx], cl
inc ebx
lea rdx, [rdx + 1]
movsxd rax, ebx
cmp rax, rsi
jb 0x140001350
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x38], rsi
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [r14], xmm0
test rdi, rdi
je 0x1400013bb
mov rdx, qword [rbp - 0x18]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400013a9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400021c0
jmp 0x1400013bb
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [r14], xmm0
mov rax, r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400021a0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret