Function at 0x1400876c0
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 [0x140365f00]
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, 0xfb4fd630e846d1c8
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x60], rax
movabs rax, 0x187c7ae2049d6de8
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x68], rax
movabs rax, 0xe80995ef25cb257b
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x70], rax
movabs rax, 0xc5406c5149974be
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x78], rax
movabs rax, 0xedd2507a918347ff
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x80], rax
movabs rax, 0x4cc339aec1fe3def
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x88], rax
movabs rax, 0x22e81482387f3c6f
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x90], rax
movabs rax, 0x9e7340214fc27fbe
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x98], rax
movabs rax, 0xd13de3ef5e231280
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xa0], rax
movabs rcx, 0xeda3c1ce6ceaedce
mov qword [rbp + 0xd0], rcx
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xa8], rax
movabs r12, 0xfb26d667e866d189
mov qword [rbp + 0xd0], r12
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x100], rax
movabs rsi, 0x18287ab604d56d86
mov qword [rbp + 0xd0], rsi
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x108], rax
movabs rax, 0xe86095a925eb252b
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x110], rax
movabs rax, 0xc74068814fc74c8
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x118], rax
movabs rax, 0xeda7500b91e647ad
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x120], rax
movabs rax, 0x4ce339dac18d3d8a
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x128], rax
movabs rax, 0x228f14ed380d3c3f
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x130], rax
movabs rax, 0x9e5c404c4fa37fcc
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x138], rax
movabs rax, 0xd13de3df5e0d12b1
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 0x140087d44
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x1400879d6
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 0x140087d3b
movabs rax, 0xfb47d60be816d1a6
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x30], rax
movabs rax, 0x185b7ac404b06dff
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x38], rax
movabs rax, 0xe80f95da25812505
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0x40], rax
movabs rax, 0xc74068814fc74a6
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, 0xe86095a925eb252b
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xf0], rax
movabs rax, 0xc74068814fc74c8
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, 0xfb26d633e823d1ce
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 0x140087d32
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 0x140087d29
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140087d29
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 0x140087cbe
mov ecx, dword [rbp + 0xc0]
inc ecx
call fcn.140130b78
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 0x140087cb3
mov edi, dword [rbp + 0xd0]
mov rcx, qword [rbp + 0xf0]
mov rax, rsi
sub rax, rcx
cmp rdi, rax
ja 0x140087c91
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 0x140087cac
mov qword [rsp + 0x20], rdi
mov r9, r14
movzx r8d, bl
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.140004690
mov rsi, qword [rbp + 0xf8]
mov rcx, r14
call fcn.140130784
xor r14d, r14d
cmp dword [rbp + 0xc0], 0
ja 0x140087be2
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 0x140087db0
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140087dab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140087da8
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 0x140087d60
xor edx, edx
mov rcx, r13
call fcn.1400042a0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x140087db0
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140087dab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140087ded
mov rcx, r8
call fcn.140130784
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.1401304e0
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