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 [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, 0xa3b66c485c4697f0
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x40], rax
movabs rax, 0x2358d412d6b88fa8
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rax
movabs rax, 0x8d52781f144fc8d3
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x50], rax
movabs rax, 0x35fde5bd17754eee
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x58], rax
movabs rax, 0x9e768722f05470b7
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
movabs rax, 0x2be9de99682e2f
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x68], rax
movabs rax, 0xa51cfff2d76c5727
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x70], rax
movabs rax, 0x4e4a99990ae022ae
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x78], rax
movabs rax, 0xd6fdb1378a7ebe28
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x80], rax
movabs rcx, 0x7e0c9f0e30cdcece
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x88], rax
movabs rax, 0xa3df6c1f5c6697b1
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
movabs r14, 0x230cd446d6f08fc6
mov qword [rbp + 0xb0], r14
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
movabs rax, 0x8d3b7859146fc883
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0x35dde5f017104e98
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd8], rax
movabs rax, 0x9e038753f03170e5
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe0], rax
movabs rax, 0xbe9aa991b2e4a
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe8], rax
movabs rax, 0xa57bff9dd71e5777
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf0], rax
movabs rax, 0x4e6599f40a8122dc
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf8], rax
movabs rax, 0xd6fdb1078a50be19
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, 0xa3be6c735c16979e
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x20], rax
movabs rax, 0x237fd434d6958fbf
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x28], rax
movabs rax, 0x8d54782a1405c8ad
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x30], rax
movabs rax, 0x35dde5f017104ef6
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
movabs rcx, 0xa3df6c1f5c6697b1
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, 0x8d3b7859146fc883
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0x35dde5f017104e98
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, 0xa3df6c4b5c2397f6
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.1401160a0
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