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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa10]
sub rsp, 0xb10
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0xa00], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r12b
mov dword [rsp + 0x40], 1
mov r8, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14000e29f
mov r8, qword [rdx]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, dword [rdx + 0x10]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov r8, rsi
lea rcx, [rbp - 0x28]
call fcn.14000e550
mov dword [rsp + 0x40], 3
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
mov r9d, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000e2fc
mov rbx, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
je 0x14000e4d1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x60], 0x68
lea rax, [rbp]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x100
lea rax, [rbp + 0x200]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], 0x400
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rcx, qword [rbp - 0x28]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, dword [rbp - 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
xor r9d, r9d
movzx r8d, word [rbp - 0x7c]
mov rdx, qword [rsp + 0x78]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
test rax, rax
je 0x14000e4c7
mov edx, 0x1bb
mov eax, r12d
mov ecx, 0x800000
cmp word [rbp - 0x7c], dx
cmove eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rbp - 0x58]
lea rdx, [0x1400172a0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x14000e4be
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14000e4b5
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14000e4b5
mov dword [rsp + 0x50], r12d
nop dword [rax + rax]
mov dword [rbp - 0x30], r12d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov ecx, dword [rsp + 0x50]
inc ecx
call fcn.140013304
mov rbx, rax
mov r8d, dword [rsp + 0x50]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp - 0x30]
mov r8d, dword [rsp + 0x50]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov r8d, dword [rbp - 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.140002c80
mov rcx, rbx
call fcn.140012f4c
cmp dword [rsp + 0x50], 0
ja 0x14000e450
mov rcx, rsi
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 rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x14000e514
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e50f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e50f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov rax, rdi
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.140012e20
lea r11, [rsp + 0xb10]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret