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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14038c080]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov ebx, r8d
mov r15, rdx
mov r13, rcx
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xc8], rdx
xor r14d, r14d
movabs rax, 0x6354f4e6cc07fa84
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x60], rax
movabs rax, 0x731d896473fb184c
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x68], rax
movabs rax, 0x5329a7518c103a7
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x70], rax
movabs rax, 0x698d3207a943539a
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x78], rax
movabs rax, 0x2e8688bce1db713b
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
movabs rax, 0x34a95e18ac4d5883
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x88], rax
movabs rax, 0x842b96309b4b06eb
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x90], rax
movabs rax, 0x342310ebe8c27502
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x98], rax
movabs rax, 0x967d6059f452499c
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xa0], rax
movabs rcx, 0x4dd861480e87c4ca
mov qword [rbp + 0xd0], rcx
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xa8], rax
movabs r12, 0x633df4b1cc27fac5
mov qword [rbp + 0xd0], r12
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x100], rax
movabs rsi, 0x7349893073b31822
mov qword [rbp + 0xd0], rsi
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x108], rax
movabs rax, 0x55b9a3318e103f7
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x110], rax
movabs rax, 0x69ad324aa92653ec
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x118], rax
movabs rax, 0x2ef388cde1be7169
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x120], rax
movabs rax, 0x34895e6cac3e58e6
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x128], rax
movabs rax, 0x844c965f9b3906bb
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x130], rax
movabs rax, 0x340c1086e8a37570
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x138], rax
movabs rax, 0x967d6069f47c49ad
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0xd0], rcx
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x148], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x120]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmm0, xmmword [rbp + 0xa0]
vxorps xmm0, xmm0, xmmword [rbp + 0x140]
vmovdqa xmmword [rbp + 0xa0], xmm0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
test rax, rax
je 0x140080874
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140080506
mov rdx, qword [r15]
xor r9d, r9d
movzx r8d, bx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
test rax, rax
je 0x14008086b
movabs rax, 0x635cf4ddcc57faea
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x30], rax
movabs rax, 0x733a894273d6185b
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x38], rax
movabs rax, 0x5349a40188b03d9
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x40], rax
movabs rax, 0x69ad324aa9265382
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0xd0], r12
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xd0], rsi
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xe8], rax
movabs rax, 0x55b9a3318e103f7
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xf0], rax
movabs rax, 0x69ad324aa92653ec
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xf8], rax
vmovdqu ymm0, ymmword [rbp + 0x30]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqu ymmword [rbp + 0x30], ymm1
movabs rax, 0x633df4e5cc62fa82
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0xd0], rsi
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0xd0], r12
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xd0], rsi
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xe8], rax
vmovdqa xmm0, xmmword [rbp + 0x10]
vxorps xmm0, xmm0, xmmword [rbp + 0xe0]
vmovdqa xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x10]
mov rcx, rbx
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
je 0x140080862
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140080859
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140080859
mov dword [rbp + 0xd0], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r14
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], rsi
mov byte [rbp + 0xe0], 0
movzx ebx, byte [rbp]
mov dword [rbp + 0xc0], r14d
lea rdx, [rbp + 0xc0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400807ee
mov ecx, dword [rbp + 0xc0]
inc ecx
call fcn.14014a528
mov r14, rax
mov r8d, dword [rbp + 0xc0]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0xd0]
mov r8d, dword [rbp + 0xc0]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400807e3
mov edi, dword [rbp + 0xd0]
mov rcx, qword [rbp + 0xf0]
mov rax, rsi
sub rax, rcx
cmp rdi, rax
ja 0x1400807c1
lea rax, [rdi + rcx]
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0xe0]
cmp rsi, 0xf
cmova rax, qword [rbp + 0xe0]
lea rsi, [rax + rcx]
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x1400807dc
mov qword [rsp + 0x20], rdi
mov r9, r14
movzx r8d, bl
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.1400044e0
mov rsi, qword [rbp + 0xf8]
mov rcx, r14
call fcn.14014a134
xor r14d, r14d
cmp dword [rbp + 0xc0], 0
ja 0x140080712
movups xmm0, xmmword [rbp + 0xe0]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0xf0]
movups xmmword [r13 + 0x10], xmm1
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x1400808e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400808db
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400808d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x140080890
xor edx, edx
mov rcx, r13
call fcn.1400040f0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x1400808e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400808db
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008091d
mov rcx, r8
call fcn.14014a134
mov rax, r13
mov word [r15], r14w
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], r14
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140149e90
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3