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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4f8], rbx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.time
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbx, rax
test rax, rax
je 0x140002b48
call fcn.140002040
mov rcx, rax
call fcn.140001e40
mov r12, rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x140002737
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140002b48
mov dword [rbp + 0x3e0], r13d
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], r13
mov byte [rsp + 0x30], r13b
lea r9, [rbp + 0x3e0]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400027a9
nop
mov eax, dword [rbp + 0x3e0]
test eax, eax
je 0x1400027a9
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140003180
lea r9, [rbp + 0x3e0]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002770
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
lea rbx, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
cmp r9, 0x10
cmovae rbx, r8
nop word [rax + rax]
lea rcx, [rsp + 0x30]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x40]
add rax, rcx
cmp rbx, rax
je 0x14000282d
movzx edx, byte [rbx]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140002828
lea rcx, [rsp + 0x58]
call fcn.140003090
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
inc rbx
jmp 0x1400027f0
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
mov dword [rbp + 0x3e8], r13d
lea r9, [rbp + 0x3e8]
mov r8d, 0xa
lea rdx, [rbp + 0x3f0]
mov rcx, rbx
call fcn.14000f01c
mov rsi, rax
cmp rbx, qword [rbp + 0x3f0]
jne 0x14000287a
lea rcx, str.invalid_stoll_argument
call fcn.140006394
int3
cmp dword [rbp + 0x3e8], 0
je 0x140002890
lea rcx, str.stoll_argument_out_of_range
call fcn.14000644c
int3
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.time
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x1400028e9
cmp qword [rsp + 0x70], 0x10
jb 0x1400028d1
mov rcx, qword [rsp + 0x58]
call fcn.14002c820
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
jmp 0x140002b36
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
jne 0x140002944
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp qword [rsp + 0x70], 0x10
jb 0x14000292c
mov rcx, qword [rsp + 0x58]
call fcn.14002c820
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
jmp 0x140002b36
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rax, qword [rsp + 0x30]
mov byte [rax], 0
lea r9, [rbp + 0x3e0]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400029b9
nop dword [rax + rax]
mov eax, dword [rbp + 0x3e0]
test eax, eax
je 0x1400029b9
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140003180
lea r9, [rbp + 0x3e0]
mov r8d, 0x400
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002980
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], 0
lea rbx, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
cmp r9, 0x10
cmovae rbx, r8
lea rcx, [rsp + 0x30]
cmp r9, 0x10
cmovae rcx, r8
mov rax, qword [rsp + 0x40]
add rax, rcx
cmp rbx, rax
je 0x140002a2e
movzx edx, byte [rbx]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140002a29
lea rcx, [rbp - 0x80]
call fcn.140003090
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
inc rbx
jmp 0x1400029f2
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rbx, qword [rbp - 0x80]
mov dword [rbp + 0x3e8], r13d
lea r9, [rbp + 0x3e8]
mov r8d, 0xa
lea rdx, [rbp + 0x3f0]
mov rcx, rbx
call fcn.14000f01c
cmp rbx, qword [rbp + 0x3f0]
jne 0x140002a75
lea rcx, str.invalid_stoll_argument
call fcn.140006394
int3
cmp dword [rbp + 0x3e8], 0
je 0x140002a8b
lea rcx, str.stoll_argument_out_of_range
call fcn.14000644c
int3
sub rax, rsi
cmp rax, 0x2328
jle 0x140002af1
cmp qword [rbp - 0x68], 0x10
jb 0x140002aa6
mov rcx, qword [rbp - 0x80]
call fcn.14002c820
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], 0
cmp qword [rsp + 0x70], 0x10
jb 0x140002ac8
mov rcx, qword [rsp + 0x58]
call fcn.14002c820
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x48], 0x10
jb 0x140002aed
mov rcx, qword [rsp + 0x30]
call fcn.14002c820
mov al, 1
jmp 0x140002b4a
cmp qword [rbp - 0x68], 0x10
jb 0x140002b01
mov rcx, qword [rbp - 0x80]
call fcn.14002c820
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], 0
cmp qword [rsp + 0x70], 0x10
jb 0x140002b23
mov rcx, qword [rsp + 0x58]
call fcn.14002c820
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x48], 0x10
jb 0x140002b48
mov rcx, qword [rsp + 0x30]
call fcn.14002c820
xor al, al
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4b0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret