Function at 0x1400cc950
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r15, r8
mov rsi, rdx
mov qword [rsp + 0x50], rdx
mov r14, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x78], r8
xor r12d, r12d
mov dword [rsp + 0x44], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, str.Apidog
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r13, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1400cc9f0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
xor r8d, r8d
lea rdx, [0x1404f90b6]
mov rcx, r14
call fcn.1400055c0
jmp 0x1400ccc38
mov rbx, qword [r15 + 0x10]
mov rcx, r15
mov rdi, qword [r15 + 0x18]
cmp rdi, 0xf
jbe 0x1400cca04
mov rcx, qword [r15]
test rbx, rbx
jne 0x1400cca20
mov r8, rbx
lea rdx, [0x1404f90b6]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400cca20
mov al, 1
jmp 0x1400cca22
xor al, al
mov ecx, 0xffffffff
test al, al
cmove r12d, ecx
mov rcx, r15
cmp rdi, 0xf
jbe 0x1400cca39
mov rcx, qword [r15]
test rbx, rbx
jne 0x1400cca5a
mov r8, rbx
lea rdx, [0x1404f90b6]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400cca5a
xor edi, edi
mov r8d, edi
mov ebx, edi
jmp 0x1400ccac1
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 0x15
jb 0x1400ccc6d
mov rax, r15
cmp rdi, 0xf
jbe 0x1400cca7d
mov rax, qword [r15]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_setsockopt
lea r9, str.Authorization:_token
mov r8, r15
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.1400182e0
mov ebx, 6
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova r8, qword [rsp + 0x58]
xor edi, edi
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400ccace
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x80000000
mov r9d, r12d
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
test bl, 2
je 0x1400ccaf9
lea rcx, [rsp + 0x58]
call fcn.1400159a0
test r13, r13
jne 0x1400ccb1d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rdi
jmp 0x1400cc9d9
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor ebx, ebx
mov edi, ebx
mov qword [rbp - 0x68], rbx
mov r12d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], r12
mov byte [rbp - 0x78], bl
mov dword [rbp - 0x80], ebx
lea r9, [rbp - 0x80]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400ccbe6
movzx ebx, byte [rsp + 0x40]
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x1400ccbdf
mov esi, eax
mov rax, r12
sub rax, rdi
cmp rsi, rax
ja 0x1400ccba1
lea rax, [rdi + rsi]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp r12, 0xf
cmova rax, qword [rbp - 0x78]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x50]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1400ccbba
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x50]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140017ce0
lea r9, [rbp - 0x80]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400ccbdf
mov r12, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
jmp 0x1400ccb60
mov rsi, qword [rsp + 0x50]
xor ebx, ebx
cmp qword [rsi + 0x18], 0xf
jbe 0x1400ccbf0
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
lea rcx, [rbp - 0x78]
call fcn.1400159a0
nop
mov rcx, r15
call fcn.1400159a0
mov rax, r14
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14028f750
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001840
nop
int3