Function at 0x1400a2790
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 [0x1401f3100]
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, 0x588175c1bcc2e1c6
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x40], rax
movabs rax, 0x65afda4302865c32
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rax
movabs rax, 0xf188baaa234913e1
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x50], rax
movabs rax, 0xbabe9a582dbbd370
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x58], rax
movabs rax, 0x5dc121031d180b39
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
movabs rax, 0xf2a52cd7541a56e5
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x68], rax
movabs rax, 0x213ce4279ffc85c5
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x70], rax
movabs rax, 0xb182603c7a50b3c8
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x78], rax
movabs rax, 0x488756ce38d78c9e
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x80], rax
movabs rcx, 0xe0630b9f64654e44
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x88], rax
movabs rax, 0x58e87596bce2e187
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
movabs r14, 0x65fbda1702ce5c5c
mov qword [rbp + 0xb0], r14
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
movabs rax, 0xf1e1baec236913b1
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0xba9e9a152dded306
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd8], rax
movabs rax, 0x5db421721d7d0b6b
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe0], rax
movabs rax, 0xf2852ca354695680
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe8], rax
movabs rax, 0x215be4489f8e8595
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf0], rax
movabs rax, 0xb1ad60517a31b3ba
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf8], rax
movabs rax, 0x488756fe38f98caf
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 0x1400a2e61
lea rdx, [rdi + 8]
cmp qword [rdi + 0x20], 7
jbe 0x1400a2a96
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 0x1400a2e58
movabs rax, 0x588975fabc92e1a8
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x20], rax
movabs rax, 0x6588da6502ab5c25
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x28], rax
movabs rax, 0xf18eba9f2303139f
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x30], rax
movabs rax, 0xba9e9a152dded368
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
movabs rcx, 0x58e87596bce2e187
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, 0xf1e1baec236913b1
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0xba9e9a152dded306
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, 0x58e875c2bca7e1c0
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 0x1400a2e4f
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 0x1400a2e46
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400a2e46
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.1400a7320
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 0x1400a2d5b
mov ecx, dword [rbp + 0xa0]
inc ecx
call fcn.1400a7fe0
mov rbx, rax
mov r8d, dword [rbp + 0xa0]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.140117640
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 0x1400a2d53
mov r8d, dword [rbp + 0xb0]
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140003eb0
mov rcx, rbx
call fcn.1400a7ad0
cmp dword [rbp + 0xa0], 0
ja 0x1400a2ce0
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.1400a7320
mov qword [rax + 8], r13
mov qword [rsi], rax
mov qword [rax], rsi
cmp qword [rbp + 0xe0], 0xf
jbe 0x1400a2da9
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.140001da0
jmp 0x1400a2db5
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 0x1400a2e13
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.1400a78a0
jmp 0x1400a2e95
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 0x1400a2e80
xor edx, edx
mov rcx, rsi
call fcn.1400054d0
nop
mov rcx, rdi
call fcn.140001d30
mov r8, qword [rdi + 0x20]
cmp r8, 7
jbe 0x1400a2eb3
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14003f7e0
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.1400a78a0
mov rax, rsi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400a7300
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret