Function at 0x140088e10
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, 0x1f0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1403d3080]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, r8d
mov r12, rdx
mov r15, rcx
mov qword [rbp], rcx
mov qword [rbp + 0xc8], rdx
xor r13d, r13d
movabs rax, 0xa0b3f417577f77ee
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x2851d57ddf1fe212
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x6e889e58b62e39c1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xc9738f8a40ec5468
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x665aa0ad261085f1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x225e710126ac9cb5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x403903056fdc7b05
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x75a6299e087b8a90
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x3d893788116c6726
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rcx, 0x149c2321f83b25e4
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs r14, 0xa0daf440575f77af
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rsi, 0x2805d529df57e27c
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0x6ee19e1eb60e3991
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0xc9538fc74089541e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x662fa0dc267585a3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x227e717526df9cd0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0x405e036a6fae7b55
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0x758929f3081a8ae2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0x3d8937b811426717
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
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], r13d
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 0x1400893ab
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x1400890ad
mov rdx, qword [r12]
xor r9d, r9d
movzx r8d, bx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
test rax, rax
je 0x1400893a2
movabs rax, 0xa0bbf42c572f7780
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x2876d55bdf32e205
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x6e8e9e6db66439bf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xc9538fc740895470
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0x6ee19e1eb60e3991
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
movabs rax, 0xc9538fc74089541e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
vmovdqu ymm0, ymmword [rbp + 0x30]
vpxor ymm1, ymm0, ymmword [rbp + 0x160]
vmovdqu ymmword [rbp + 0x30], ymm1
movabs rax, 0xa0daf414571a77e8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
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], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x10]
mov rcx, rbx
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
je 0x140089399
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140089390
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140089390
mov dword [rbp + 0xd0], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r13
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], rdi
mov byte [rbp + 0xe0], 0
nop dword [rax]
mov dword [rbp + 0xc0], r13d
lea rdx, [rbp + 0xc0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140089345
mov ecx, dword [rbp + 0xc0]
inc ecx
call fcn.140161f24
mov rsi, 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, rsi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14008933d
mov ebx, dword [rbp + 0xd0]
mov rcx, qword [rbp + 0xf0]
mov rax, rdi
sub rax, rcx
cmp rbx, rax
ja 0x14008931f
lea rax, [rcx + rbx]
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0xe0]
cmp rdi, 0xf
cmova rax, qword [rbp + 0xe0]
lea rdi, [rax + rcx]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140089336
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.140004490
mov rdi, qword [rbp + 0xf8]
mov rcx, rsi
call fcn.140161a64
cmp dword [rbp + 0xc0], 0
ja 0x140089270
movups xmm0, xmmword [rbp + 0xe0]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0xf0]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp + 0xf0], r13
mov qword [rbp + reloc.WS2_32.dll_ntohs8], 0xf
mov byte [rbp + 0xe0], 0
lea rcx, [rbp + 0xe0]
call fcn.140003520
jmp 0x1400893d6
mov rcx, r14
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 [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x1400893c1
xor edx, edx
mov rcx, r15
call fcn.140004190
nop
mov rcx, r12
call fcn.14002cc60
mov rax, r15
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1401617c0
mov rbx, qword [rsp + 0x248]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret