Function at 0x140008e10
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 [0x1400d9040]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rsi, r8
mov qword [rsp + 0x68], rdx
mov r15, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x78], r8
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x70], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.Apidog
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r12, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140008eee
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
xor r8d, r8d
lea rdx, [0x14009e681]
mov rcx, r15
call fcn.140012490
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140008ee5
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140008ee0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400092ba
mov rcx, r8
call fcn.1400979c4
mov qword [rsi + 0x10], r13
jmp 0x140009177
mov r14, qword [rsi + 0x10]
mov rcx, rsi
mov rbx, qword [rsi + 0x18]
cmp rbx, 0xf
jbe 0x140008f02
mov rcx, qword [rsi]
test r14, r14
jne 0x140008f1e
mov r8, r14
lea rdx, [0x14009e681]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140008f1e
mov al, 1
jmp 0x140008f20
xor al, al
mov ecx, 0xffffffff
test al, al
cmove r13d, ecx
mov rcx, rsi
cmp rbx, 0xf
jbe 0x140008f37
mov rcx, qword [rsi]
test r14, r14
jne 0x140008f59
mov r8, r14
lea rdx, [0x14009e681]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140008f59
xor ebx, ebx
mov r8d, ebx
jmp 0x14000907e
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x15
jb 0x1400092c1
mov qword [rsp + 0x60], rsi
cmp rbx, 0xf
jbe 0x140008f86
mov rax, qword [rsi]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r12, [r14 + 0x15]
mov ebx, 0xf
lea rdi, [rsp + 0x40]
cmp r12, rbx
jbe 0x140009024
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x140008fe6
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140097980
test rax, rax
je 0x1400090e6
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000901f
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000900e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400092c7
jmp 0x140008fc7
test rcx, rcx
je 0x14000901d
call fcn.140097980
mov rdi, rax
jmp 0x14000901f
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [str.Authorization:_token]
movups xmmword [rdi], xmm0
mov eax, dword [0x14009f5f0]
mov dword [rdi + 0x10], eax
movzx eax, byte [0x14009f5f4]
mov byte [rdi + 0x14], al
lea rcx, [rdi + 0x15]
mov r8, r14
mov rdx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
mov edi, 6
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r8, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
xor ebx, ebx
mov r14, qword [rsp + 0x68]
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140009090
mov rdx, qword [r14]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
mov r9d, r13d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
test dil, 2
je 0x140009105
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400090f2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400090ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400979c4
movdqa xmm0, xmmword [0x1400c7150]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
test r13, r13
jne 0x1400091af
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], rbx
xor r8d, r8d
lea rdx, [0x14009e681]
mov rcx, r15
call fcn.140012490
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140009173
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000916e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400092ba
mov rcx, r8
call fcn.1400979c4
mov qword [rsi + 0x10], rbx
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rax, r15
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140097960
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov rdi, rbx
mov qword [rbp - 0x68], rbx
mov r12d, 0xf
mov qword [rbp - 0x60], r12
mov byte [rbp - 0x78], 0
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 0x14000927d
movzx ebx, byte [rsp + 0x30]
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x140009276
mov r14d, eax
mov rax, r12
sub rax, rdi
cmp r14, rax
ja 0x140009235
lea rax, [rdi + r14]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp r12, 0xf
cmova rax, qword [rbp - 0x78]
add rdi, rax
mov r8d, r14d
lea rdx, [rbp - 0x50]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + r14], 0
jmp 0x14000924e
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x50]
movzx r8d, bl
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.140012300
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 0x140009276
mov r12, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
jmp 0x1400091f2
mov r14, qword [rsp + 0x68]
xor ebx, ebx
cmp qword [r14 + 0x18], 0xf
jbe 0x140009287
mov r14, qword [r14]
mov rcx, r14
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [r15 + 0x10], xmm1
jmp 0x140009139
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400016f0
int3
call fcn.140001640
int3