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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x180167010]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
mov qword [rbp], rcx
movabs rax, 0x891918fdbbde7597
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x4db3a6f012452b88
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0xfb4ba90711058c3d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rax, 0xa67eae00e45e74c3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
movabs rax, 0x3b9e30c2013bcd75
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0x14225300d2974644
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs r14, 0x897c1899bbbb75dd
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rdi, 0x4dd6a69c12652be6
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs r15, 0xfb38a927117c8c47
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs r12, 0xa617ae62e43774a8
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0x3baf30ed0152cd11
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0x14225300d2a7466a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vpxor xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x80], xmm0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x60]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], bl
test rax, rax
je 0x180003451
movabs rax, 0x894518b7bb8c75e5
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x4de3a6ad124b2bde
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xfb0ca91511528c77
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xa617ae62e437749f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x140], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x148], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x150], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x158], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x140]
vmovdqu ymmword [rbp + 0x40], ymm1
mov r8d, 0x9c75
xor r9d, r9d
lea rdx, [rbp + 0x40]
mov rcx, r13
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
je 0x180003448
movabs rax, 0x895218eabbdf75f2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0x4dd6a6e8121d2b92
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movdqa xmm0, xmmword [rbp + 0x20]
pxor xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0x20], xmm0
movabs rax, 0x897c18cdbbfe759a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
movdqa xmm0, xmmword [rbp + 0x30]
pxor xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
test rax, rax
je 0x18000343f
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 0x1800035ef
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1800035ef
mov dword [rbp + 0xa4], ebx
nop word [rax + rax]
mov dword [rbp + 0xa0], ebx
lea rdx, [rbp + 0xa0]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x18000355b
mov ecx, dword [rbp + 0xa0]
inc ecx
call fcn.18012c598
mov r14, rax
mov r8d, dword [rbp + 0xa0]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0xa0]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1800034c0
mov edi, dword [rbp + 0xa4]
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xc0]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x18000340a
lea rax, [rdi + rcx]
mov qword [rbp + 0xb8], rax
lea rbx, [rbp + 0xa8]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0xa8]
add rbx, rcx
mov r8d, edi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
xor ebx, ebx
jmp 0x180003421
mov qword [rsp + 0x20], rdi
mov r9, r14
mov rdx, rdi
lea rcx, [rbp + 0xa8]
call fcn.180044390
mov rcx, r14
call fcn.18012be60
cmp dword [rbp + 0xa0], 0
ja 0x180003350
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movups xmm0, xmmword [rbp + 0xa8]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0xb8]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp + 0xb8], rbx
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
lea rcx, [rbp + 0xa8]
call fcn.180041490
mov rax, rsi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.18012be40
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movabs rdx, 0x897c1899bbbb75dd
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rcx, 0x4dd6a69c12652be6
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rcx
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 [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180003540
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.1800045d0
jmp 0x18000347f
movabs rdx, 0x897c1899bbbb75dd
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rcx, 0x4dd6a69c12652be6
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rcx
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 [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1800035d4
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.1800045d0
jmp 0x18000347f
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], rdi
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], rdi
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 [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180003654
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.1800045d0
jmp 0x18000347f