Function at 0x140084920
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, 0x210
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140321090]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov ebx, r8d
mov r15, rdx
mov r13, rcx
mov qword [rbp], rcx
mov qword [rbp + 0xc8], rdx
xor r14d, r14d
movabs rax, 0xbef2fbf69ecbfce4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x9a2e5040fe2d6824
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xd801608de8377ed7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x5297d27bce4c1192
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0xf86fb1bc1fdd48db
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x6506b944e9a2c69b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x608a65e8cf17fc5b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x69d2b12faa52fa3a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xfd8b4cb9fe14923c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rcx, 0x692a721cb2950732
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs r12, 0xbe9bfba19eebfca5
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rsi, 0x9a7a5014fe65684a
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0xd86860cbe8177e87
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0x52b7d236ce2911e4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0xf81ab1cd1fb84889
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
movabs rax, 0x6526b930e9d1c6fe
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
movabs rax, 0x60ed6587cf65fc0b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
movabs rax, 0x69fdb142aa33fa48
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
movabs rax, 0xfd8b4c89fe3a920d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x120]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x140]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqa xmm0, xmmword [rbp + 0xa0]
vpxor xmm0, xmm0, xmmword [rbp + 0x160]
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 0x140084ede
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x140084bbb
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 0x140084ed5
movabs rax, 0xbefafbcd9e9bfc8a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0x9a095066fe006833
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0xd80760b8e87d7ea9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x52b7d236ce29118a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x180], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x188], rax
movabs rax, 0xd86860cbe8177e87
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x190], rax
movabs rax, 0x52b7d236ce2911e4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
vmovdqu ymm0, ymmword [rbp + 0x30]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqu ymmword [rbp + 0x30], ymm1
movabs rax, 0xbe9bfbf59eaefce2
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], r12
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
vmovdqa xmm0, xmmword [rbp + 0x10]
vpxor xmm0, xmm0, xmmword [rbp + 0x100]
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 0x140084ecc
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 0x140084ec3
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140084ec3
mov dword [rbp + 0xd0], r14d
mov qword [rbp + 0xd8], r14
mov qword [rbp + 0xe8], r14
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf0], rsi
mov byte [rbp + 0xd8], 0
movzx ebx, byte [rbp + 8]
nop dword [rax]
mov dword [rbp + 0xc0], r14d
lea rdx, [rbp + 0xc0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140084e5c
mov ecx, dword [rbp + 0xc0]
inc ecx
call fcn.1400f00e0
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 0x140084e51
mov edi, dword [rbp + 0xd0]
mov rcx, qword [rbp + 0xe8]
mov rax, rsi
sub rax, rcx
cmp rdi, rax
ja 0x140084e2f
lea rax, [rdi + rcx]
mov qword [rbp + 0xe8], rax
lea rax, [rbp + 0xd8]
cmp rsi, 0x10
cmovae rax, qword [rbp + 0xd8]
lea rsi, [rax + rcx]
mov r8d, edi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x140084e4a
mov qword [rsp + 0x20], rdi
mov r9, r14
movzx r8d, bl
mov rdx, rdi
lea rcx, [rbp + 0xd8]
call fcn.1400040e0
mov rsi, qword [rbp + 0xf0]
mov rcx, r14
call fcn.1400efe14
xor r14d, r14d
cmp dword [rbp + 0xc0], 0
ja 0x140084d80
movups xmm0, xmmword [rbp + 0xd8]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0xe8]
movups xmmword [r13 + 0x10], xmm1
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x140084f41
mov rcx, qword [r15]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140084f3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140084f39
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]
mov qword [r13], r14
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r14 + r8], 0
jne 0x140084ef1
xor edx, edx
mov rcx, r13
call fcn.140003d00
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x140084f41
mov rcx, qword [r15]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140084f3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140084f7e
mov rcx, r8
call fcn.1400efe14
mov qword [r15 + 0x10], r14
mov rax, r13
mov word [r15], r14w
mov qword [r15 + 0x18], 7
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400efb60
mov rbx, qword [rsp + 0x268]
add rsp, 0x210
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