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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140018010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rbx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rdi], rax
test rax, rax
jne 0x14000a786
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a968
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a963
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000a960
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx r8d, word [rdi + 0xb4]
test r8w, r8w
je 0x14000a932
xor r9d, r9d
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rdi + 8], rax
test rax, rax
je 0x14000a932
cmp dword [rdi + 0x28], r14d
je 0x14000a8fd
mov ecx, dword [rdi + 0xb0]
test ecx, ecx
je 0x14000a8fd
xor r9d, r9d
mov r8, rsi
mov rdx, qword [rdi + 0x20]
cmp ecx, 0xb
mov rcx, rax
jne 0x14000a7e8
mov dword [rsp + 0x30], 0x800000
jmp 0x14000a7ed
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rdi + 0x10], rax
cmp rax, r14
je 0x14000a8fd
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400093ec
mov rdx, rax
mov rcx, rdi
call fcn.14000b5ec
test eax, eax
jne 0x14000a867
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a968
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a963
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000a960
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000a8c0
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14000a8c0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a8b2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a8ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a8b9
mov rcx, r8
call fcn.14000ee94
mov al, 1
jmp 0x14000a96a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a968
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a963
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000a960
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a968
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a963
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000a960
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000a968
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000a963
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a994
mov rcx, r8
call fcn.14000ee94
xor al, al
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r14b
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000ee70
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3