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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x180167010]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
movabs rax, 0x891518f5bbcb759c
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x118], rax
movabs rax, 0x4dbca6ff12042b8d
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x110], rax
movabs rax, 0xfb38a927117c8c26
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x108], rax
movabs rsi, 0xa617ae62e43774a8
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x100], rax
movabs r15, 0x897c1899bbbb75dd
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x78], rax
movabs rbx, 0x4dd6a69c12652be6
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x70], rax
movabs r12, 0xfb38a927117c8c47
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x68], rax
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x60], rax
vmovdqu ymm0, ymmword [rsp + 0x80]
vpxor ymm1, ymm0, ymmword [r11 - 0x78]
vmovdqu ymmword [rsp + 0x80], ymm1
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [r11 - 0x118]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
test rax, rax
jne 0x18001d3ec
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r13b
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001d3d0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800045d0
jmp 0x18001dbca
movabs rax, 0x894a18f0bbcb75bc
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
movabs rax, 0x4da6a6f5124b2bd2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xa8], rax
movabs rax, 0xfb16a95e111a8c2e
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
movabs rax, 0xa617ae05e44574c7
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x158], rax
vmovdqu ymm0, ymmword [rsp + 0xa0]
vpxor ymm1, ymm0, ymmword [rsp + 0x140]
vmovdqu ymmword [rsp + 0xa0], ymm1
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, [rsp + 0xa0]
mov rcx, r13
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x18001d58c
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], sil
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001d570
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800045d0
jmp 0x18001dbca
movabs rax, 0x897c1899bbbb75f2
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x60]
pxor xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x60], xmm0
movabs rax, 0x897c18cdbbfe759a
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x118], rax
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
jne 0x18001d72c
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r12b
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001d710
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800045d0
jmp 0x18001dbca
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, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, r12
test eax, eax
jne 0x18001d800
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001d7e4
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800045d0
jmp 0x18001dbca
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x18001d8bc
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001d8a0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800045d0
jmp 0x18001dbca
mov dword [rsp + 0xc4], r14d
mov qword [rsp + 0xc8], r14
mov rbx, r14
mov qword [rsp + 0xd8], rbx
mov r15d, 0xf
mov qword [rsp + 0xe0], r15
mov byte [rsp + 0xc8], bl
nop dword [rax]
mov dword [rsp + 0xc0], r14d
lea rdx, [rsp + 0xc0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x18001daff
mov ecx, dword [rsp + 0xc0]
inc ecx
call fcn.18012c598
mov r14, rax
mov r8d, dword [rsp + 0xc0]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0xc4]
mov r8d, dword [rsp + 0xc0]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x18001da40
mov esi, dword [rsp + 0xc4]
mov rax, r15
sub rax, rbx
cmp rsi, rax
ja 0x18001d9a5
lea rax, [rsi + rbx]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0xc8]
cmp r15, 0x10
cmovae rax, qword [rsp + 0xc8]
add rbx, rax
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x18001d9bd
mov qword [rsp + 0x20], rsi
mov r9, r14
mov rdx, rsi
lea rcx, [rsp + 0xc8]
call fcn.180044390
mov rcx, r14
call fcn.18012be60
cmp dword [rsp + 0xc0], 0
jbe 0x18001d9e7
mov r15, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
xor r14d, r14d
jmp 0x18001d8f0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0xd8]
movups xmmword [rdi + 0x10], xmm1
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], al
jmp 0x18001dbbd
mov rcx, r14
call fcn.18012be60
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs rdx, 0x897c1899bbbb75dd
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rcx, 0x4dd6a69c12652be6
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 0xf
mov byte [rdi], al
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x18001daf0
jmp 0x18001dbaf
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs rdx, 0x897c1899bbbb75dd
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rcx, 0x4dd6a69c12652be6
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xf8], rax
movdqa xmm0, xmmword [rsp + 0x50]
pxor xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001dba5
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800045d0
nop
lea rcx, [rsp + 0xc8]
call fcn.180041490
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.18012be40
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret