Function at 0x140088af0
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 [0x140315080]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, r8d
mov r15, rdx
mov r13, rcx
mov qword [rbp], rcx
mov qword [rbp + 0xc8], rdx
xor r14d, r14d
movabs rax, 0x4d5e64f245cff604
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xde0cfd34d3548fa0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x259318fdca430eaf
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0x65c9283bbf852486
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x2baf2a880b6ae85b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x53bb92b0edbd8f87
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0x195a22401a39aaf3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0xc7b5a00749fe3056
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0x8d98e51dca001f7c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rcx, 0xc609ea48d088c5f6
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs r12, 0x4d3764a545eff645
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rsi, 0xde58fd60d31c8fce
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0x25fa18bbca630eff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x65e92876bfe024f0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x2bda2af90b0fe809
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x539b92c4edce8fe2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
movabs rax, 0x193d222f1a4baaa3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x130], rax
movabs rax, 0xc79aa06a499f3024
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x138], rax
movabs rax, 0x8d98e52dca2e1f4d
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], 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 0x1400890b2
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140088d8b
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 0x1400890a9
movabs rax, 0x4d5664c9459ff66a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xde2bfd12d3798fb7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x259518c8ca090ed1
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x65e92876bfe0249e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x160], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x168], rax
movabs rax, 0x25fa18bbca630eff
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
movabs rax, 0x65e92876bfe024f0
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, 0x4d3764f145aaf602
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 + 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], 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 0x1400890a0
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 0x140089097
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140089097
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 + 8]
nop
mov dword [rbp + 0xc0], r14d
lea rdx, [rbp + 0xc0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x14008902c
mov ecx, dword [rbp + 0xc0]
inc ecx
call fcn.1400ea4b4
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 0x140089021
mov edi, dword [rbp + 0xd0]
mov rcx, qword [rbp + 0xf0]
mov rax, rsi
sub rax, rcx
cmp rdi, rax
ja 0x140088fff
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 0x14008901a
mov qword [rsp + 0x20], rdi
mov r9, r14
movzx r8d, bl
mov rdx, rdi
lea rcx, [rbp + 0xe0]
call fcn.140004650
mov rsi, qword [rbp + 0xf8]
mov rcx, r14
call fcn.1400ea0c4
xor r14d, r14d
cmp dword [rbp + 0xc0], 0
ja 0x140088f50
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 0x140089120
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14008911b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140089118
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]
inc r8
cmp byte [r14 + r8], 0
jne 0x1400890d0
xor edx, edx
mov rcx, r13
call fcn.140004260
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 7
jbe 0x140089120
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x14008911b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008915d
mov rcx, r8
call fcn.1400ea0c4
mov rax, r13
mov word [r15], r14w
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], r14
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400e9e20
mov rbx, qword [rsp + 0x248]
add rsp, 0x1f0
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