Function at 0x140084410
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 [0x140304080]
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, 0xe6c34e4240ab2a44
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x60], rax
movabs rax, 0xe988de1427dc1248
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x68], rax
movabs rax, 0x3e1f3185a9c790ef
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x70], rax
movabs rax, 0x85c5f893665bf05e
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x78], rax
movabs rax, 0x6e4dfba8ff699bdb
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
movabs rax, 0x73e4d840a68b4cbf
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x88], rax
movabs rax, 0x7a7db8d891e4ef43
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x90], rax
movabs rax, 0x6e40050f124790ce
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x98], rax
movabs rax, 0x19bae8dd9cc948fc
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xa0], rax
movabs rcx, 0x619ab57846bf2d6e
mov qword [rbp + 0xd0], rcx
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xa8], rax
movabs r12, 0xe6aa4e15408b2a05
mov qword [rbp + 0xd0], r12
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x100], rax
movabs rsi, 0xe9dcde4027941226
mov qword [rbp + 0xd0], rsi
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x108], rax
movabs rax, 0x3e7631c3a9e790bf
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x110], rax
movabs rax, 0x85e5f8de663ef028
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x118], rax
movabs rax, 0x6e38fbd9ff0c9b89
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x120], rax
movabs rax, 0x73c4d834a6f84cda
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x128], rax
movabs rax, 0x7a1ab8b79196ef13
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x130], rax
movabs rax, 0x6e6f0562122690bc
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x138], rax
movabs rax, 0x19bae8ed9ce748cd
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 0x140084a94
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140084726
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 0x140084a8b
movabs rax, 0xe6cb4e7940fb2a2a
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x30], rax
movabs rax, 0xe9afde3227f1125f
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x38], rax
movabs rax, 0x3e1931b0a98d9091
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x40], rax
movabs rax, 0x85e5f8de663ef046
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, 0x3e7631c3a9e790bf
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xf0], rax
movabs rax, 0x85e5f8de663ef028
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, 0xe6aa4e4140ce2a42
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 0x140084a82
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 0x140084a79
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140084a79
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 0x140084a0e
mov ecx, dword [rbp + 0xc0]
inc ecx
call fcn.1400e4b78
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 0x140084a03
mov edi, dword [rbp + 0xd0]
mov rcx, qword [rbp + 0xf0]
mov rax, rsi
sub rax, rcx
cmp rdi, rax
ja 0x1400849e1
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 0x1400849fc
mov qword [rsp + 0x20], rdi
mov r9, r14
movzx r8d, bl
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.1400047e0
mov rsi, qword [rbp + 0xf8]
mov rcx, r14
call fcn.1400e46b4
xor r14d, r14d
cmp dword [rbp + 0xc0], 0
ja 0x140084932
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 0x140084b00
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140084afb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140084af8
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 0x140084ab0
xor edx, edx
mov rcx, r13
call fcn.1400043f0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x140084b00
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140084afb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140084b3d
mov rcx, r8
call fcn.1400e46b4
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.1400e4410
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