Function at 0x1400a2680
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, 0x190
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401f2100]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xa8], rdx
xor r13d, r13d
movabs rax, 0x15fb646eeb6ef36c
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x40], rax
movabs rax, 0x2e3066b8dbb1ee38
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rax
movabs rax, 0xde8a74817bc18997
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x50], rax
movabs rax, 0x78879eaf3527c07e
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x58], rax
movabs rax, 0x36b10c2caa61f8b3
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
movabs rax, 0xa9ebdd74656a5d2f
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x68], rax
movabs rax, 0x5832d634ce89d2db
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x70], rax
movabs rax, 0xfe6c111b86906a0e
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x78], rax
movabs rax, 0x8654f581e15000e4
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x80], rax
movabs rcx, 0x15b0544c1fc7b1e
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x88], rax
movabs rax, 0x15926439eb4ef32d
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
movabs r14, 0x2e6466ecdbf9ee56
mov qword [rbp + 0xb0], r14
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
movabs rax, 0xdee374c77be189c7
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0x78a79ee23542c008
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd8], rax
movabs rax, 0x36c40c5daa04f8e1
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe0], rax
movabs rax, 0xa9cbdd0065195d4a
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe8], rax
movabs rax, 0x5855d65bcefbd28b
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf0], rax
movabs rax, 0xfe43117686f16a7c
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf8], rax
movabs rax, 0x8654f5b1e17e00d5
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x108], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x100]
vmovdqa xmmword [rbp + 0x80], xmm0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x40]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
test rax, rax
je 0x1400a2d51
lea rdx, [rdi + 8]
cmp qword [rdi + 0x20], 7
jbe 0x1400a2986
mov rdx, qword [rdi + 8]
xor r9d, r9d
movzx r8d, bx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
test rax, rax
je 0x1400a2d48
movabs rax, 0x15f36455eb3ef302
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x20], rax
movabs rax, 0x2e17669edb9cee2f
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x28], rax
movabs rax, 0xde8c74b47b8b89e9
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x30], rax
movabs rax, 0x78a79ee23542c066
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
movabs rcx, 0x15926439eb4ef32d
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xb0], r14
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
movabs rax, 0xdee374c77be189c7
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0x78a79ee23542c008
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqu ymmword [rbp + 0x20], ymm1
movabs rax, 0x1592646deb0bf36a
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp], rax
mov qword [rbp + 0xb0], r14
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 8], rax
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xb0], r14
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
vmovdqa xmm0, xmmword [rbp]
vxorps xmm0, xmm0, xmmword [rbp + 0xc0]
vmovdqa xmmword [rbp], xmm0
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp]
mov rcx, rbx
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
je 0x1400a2d3f
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400a2d36
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400a2d36
mov dword [rbp + 0xb0], r13d
mov qword [rbp + 0xc0], r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], r13
mov ecx, 0x10
call fcn.1400a7240
mov qword [rax + 8], r13
mov qword [rbp + 0xc0], rax
lea rcx, [rbp + 0xc0]
mov qword [rax], rcx
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
nop dword [rax + rax]
mov dword [rbp + 0xa0], r13d
lea rdx, [rbp + 0xa0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400a2c4b
mov ecx, dword [rbp + 0xa0]
inc ecx
call fcn.1400a7f00
mov rbx, rax
mov r8d, dword [rbp + 0xa0]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.140115fc0
lea r9, [rbp + 0xb0]
mov r8d, dword [rbp + 0xa0]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400a2c43
mov r8d, dword [rbp + 0xb0]
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140003eb0
mov rcx, rbx
call fcn.1400a79f0
cmp dword [rbp + 0xa0], 0
ja 0x1400a2bd0
mov qword [rsi], r13
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
mov ecx, 0x10
call fcn.1400a7240
mov qword [rax + 8], r13
mov qword [rsi], rax
mov qword [rax], rsi
cmp qword [rbp + 0xe0], 0xf
jbe 0x1400a2c99
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.140001da0
jmp 0x1400a2ca5
lea rcx, [rbp + 0xc0]
call fcn.140001d30
movups xmm0, xmmword [rbp + 0xc8]
movups xmmword [rsi + 8], xmm0
movups xmm1, xmmword [rbp + 0xd8]
movups xmmword [rsi + 0x18], xmm1
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
lea rcx, [rbp + 0xc0]
call fcn.140001d30
mov r8, qword [rbp + 0xe0]
cmp r8, 0xf
jbe 0x1400a2d03
inc r8
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xc0]
call fcn.140004010
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, qword [rbp + 0xc0]
mov qword [rbp + 0xc0], r13
mov edx, 0x10
call fcn.1400a77c0
jmp 0x1400a2d85
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsi], r13
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [r8 + r13], 0
jne 0x1400a2d70
xor edx, edx
mov rcx, rsi
call fcn.1400054e0
nop
mov rcx, rdi
call fcn.140001d30
mov r8, qword [rdi + 0x20]
cmp r8, 7
jbe 0x1400a2da3
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14003f8b0
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], 7
mov word [rdi + 8], r13w
mov rcx, qword [rdi]
mov qword [rdi], r13
mov edx, 0x10
call fcn.1400a77c0
mov rax, rsi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400a7220
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret