Function at 0x1400e8560
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 [0x14072a340]
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 0x1400e8600
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
xor r8d, r8d
lea rdx, [0x14054357e]
mov rcx, r14
call fcn.140006600
jmp 0x1400e8848
mov rbx, qword [r15 + 0x10]
mov rcx, r15
mov rdi, qword [r15 + 0x18]
cmp rdi, 0xf
jbe 0x1400e8614
mov rcx, qword [r15]
test rbx, rbx
jne 0x1400e8630
mov r8, rbx
lea rdx, [0x14054357e]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400e8630
mov al, 1
jmp 0x1400e8632
xor al, al
mov ecx, 0xffffffff
test al, al
cmove r12d, ecx
mov rcx, r15
cmp rdi, 0xf
jbe 0x1400e8649
mov rcx, qword [r15]
test rbx, rbx
jne 0x1400e866a
mov r8, rbx
lea rdx, [0x14054357e]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400e866a
xor edi, edi
mov r8d, edi
mov ebx, edi
jmp 0x1400e86d1
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 0x15
jb 0x1400e887d
mov rax, r15
cmp rdi, 0xf
jbe 0x1400e868d
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.140006740
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 0x1400e86de
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 0x1400e8709
lea rcx, [rsp + 0x58]
call fcn.1400062c0
test r13, r13
jne 0x1400e872d
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 0x1400e85e9
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 0x1400e87f6
movzx ebx, byte [rsp + 0x40]
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x1400e87ef
mov esi, eax
mov rax, r12
sub rax, rdi
cmp rsi, rax
ja 0x1400e87b1
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 0x1400e87ca
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x50]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.140025490
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 0x1400e87ef
mov r12, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
jmp 0x1400e8770
mov rsi, qword [rsp + 0x50]
xor ebx, ebx
cmp qword [rsi + 0x18], 0xf
jbe 0x1400e8800
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.1400062c0
nop
mov rcx, r15
call fcn.1400062c0
mov rax, r14
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1402cf370
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.140005690
nop
int3