Function at 0x180024bf0
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
mov eax, 0x1210
call fcn.18012d210
sub rsp, rax
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x180167010]
xor rax, rsp
mov qword [rbp + 0x11a0], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0x20], rcx
movabs rax, 0x891e18f0bbd0758e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x4df6a6f512012b8f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0xfb4ca95411198c13
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xa627ae4ce4067487
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rcx, 0x3baf30ed0152cd11
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rdx, 0x14225300d2a7466a
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs r13, 0x897c1899bbbb75dd
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs r12, 0x4dd6a69c12652be6
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0xfb38a927117c8c47
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0xa617ae62e43774a8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x120]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmm0, xmmword [rbp + 0xa0]
vpxor xmm0, xmm0, xmmword [rbp + 0x140]
vmovdqa xmmword [rbp + 0xa0], xmm0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x80]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbx, rax
mov qword [rbp + 0x20], rax
test rax, rax
jne 0x180024e2b
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bl
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180024e10
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1800045d0
jmp 0x180025488
cmp qword [rsi + 0x18], 8
jb 0x180024e35
mov rsi, qword [rsi]
mov r8d, 0x1bb
xor r9d, r9d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
test rax, rax
jne 0x180024eeb
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs rcx, 0x897c1899bbbb75dd
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r13b
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180024ed0
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1800045d0
jmp 0x180025488
cmp qword [r14 + 0x18], 8
jb 0x180024ef5
mov r14, qword [r14]
movabs rax, 0x897c18cdbbfe759a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov r15, r12
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rcx, 0x897c1899bbbb75dd
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movdqa xmm0, xmmword [rbp + 0x30]
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rsp + 0x30], 0x800000
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, r14
lea rdx, [rbp + 0x30]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
jne 0x18002502b
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs rcx, 0x897c1899bbbb75dd
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r12b
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180025010
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1800045d0
jmp 0x180025488
movabs rax, 0x891418fabbda759e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x4db9a6df12482b83
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xfb57a95511088c29
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xa679ae42e40d74c4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x3bce308e017fcd7e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x142f5365d2cf4609
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xe9ddb3bbd3b0d201
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rcx, 0x284ee4f6edcbf52c
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs r14, 0x897c1899bbbb75dd
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0xfb38a927117c8c47
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
movabs rax, 0xa617ae62e43774a8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movabs rax, 0x3baf30ed0152cd11
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
movabs rax, 0x14225300d2a7466a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movabs rax, 0xe9ddb3bbd3b0d20b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x160]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqa ymmword [rbp + 0x60], ymm1
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, 0xffffffff
lea rdx, [rbp + 0x40]
mov rcx, r12
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, r12
test eax, eax
jne 0x18002527c
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180025261
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1800045d0
jmp 0x180025488
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x18002532b
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180025310
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.1800045d0
jmp 0x180025488
mov dword [rbp + 0xf0], esi
mov qword [rbp + 0xd0], rsi
mov r14, rsi
mov qword [rbp + 0xe0], rsi
mov r15d, 0xf
mov qword [rbp + 0xe8], r15
mov byte [rbp + 0xd0], r14b
nop word [rax + rax]
mov dword [rbp + 0xc0], esi
lea rdx, [rbp + 0xc0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x180025432
mov r8d, dword [rbp + 0xc0]
test r8d, r8d
je 0x180025432
lea r9, [rbp + 0xf0]
lea rdx, [rbp + 0x1a0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x180025432
mov esi, dword [rbp + 0xf0]
mov rax, r15
sub rax, r14
cmp rsi, rax
ja 0x1800253fa
lea rax, [rsi + r14]
mov qword [rbp + 0xe0], rax
lea rbx, [rbp + 0xd0]
cmp r15, 0x10
cmovae rbx, qword [rbp + 0xd0]
lea rcx, [rbx + r14]
mov r8d, esi
lea rdx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov byte [rax + r14], 0
jmp 0x180025415
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x1a0]
mov rdx, rsi
lea rcx, [rbp + 0xd0]
call fcn.180044390
xor esi, esi
cmp dword [rbp + 0xc0], esi
jbe 0x180025432
mov r15, qword [rbp + 0xe8]
mov r14, qword [rbp + 0xe0]
jmp 0x180025360
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
lea rcx, [rbp + 0xd0]
call fcn.180041490
mov rax, rdi
mov rcx, qword [rbp + 0x11a0]
xor rcx, rsp
call fcn.18012be40
mov rbx, qword [rsp + 0x1268]
add rsp, 0x1210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret