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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.HoverSound_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
test rax, rax
je 0x1400978a6
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.vauth.top
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r13, rax
test rax, rax
jne 0x1400978ad
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x140097ade
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str._updates_sounds_hover.mp3
lea rdx, [0x140369848]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
xor r15b, r15b
test rax, rax
je 0x140097ac8
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140097abf
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140097abf
mov dword [rsp + 0xa8], ebx
mov rax, qword [0x1405220f8]
mov qword [0x140522100], rax
nop word [rax + rax]
mov dword [rsp + 0xa0], ebx
lea rdx, [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140097aa4
mov r8d, dword [rsp + 0xa0]
test r8d, r8d
je 0x140097aa4
mov esi, r8d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rdi, rbx
mov qword [rsp + 0x50], rbx
cmp r8, 0x1000
jb 0x1400979b7
lea rcx, [r8 + 0x27]
cmp rcx, r8
jbe 0x140097af6
call fcn.1402714fc
test rax, rax
je 0x140097afc
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400979c2
mov rcx, rsi
call fcn.1402714fc
mov rbx, rax
mov rbp, rbx
mov qword [rsp + 0x40], rbx
lea rdi, [rbx + rsi]
mov qword [rsp + 0x50], rdi
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140275d90
mov qword [rsp + 0x48], rdi
mov r8d, dword [rsp + 0xa0]
lea r9, [rsp + 0xa8]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140097a70
mov r9d, dword [rsp + 0xa8]
add r9, rbx
mov r8, rbx
mov rdx, qword [0x140522100]
lea rcx, [0x1405220f8]
call fcn.1400a02e0
nop
test rbx, rbx
je 0x140097a5f
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140097a54
add rdi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x140097afc
mov rbx, rax
mov rdx, rdi
mov rcx, rbx
call fcn.1402711ec
cmp dword [rsp + 0xa0], 0
jbe 0x140097aa4
xor ebx, ebx
jmp 0x140097940
test rbx, rbx
je 0x140097aa4
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140097a99
add rdi, 0x27
mov rax, qword [rbx - 8]
sub rbx, rax
add rbx, 0xfffffffffffffff8
cmp rbx, 0x1f
ja 0x140097afc
mov rbx, rax
mov rdx, rdi
mov rcx, rbx
call fcn.1402711ec
movzx r15d, r15b
mov eax, 1
mov rcx, qword [0x140522100]
cmp qword [0x1405220f8], rcx
cmovne r15d, eax
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx eax, r15b
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400955c0
int3
call fcn.140290dbc
int3