Function at 0x140003000
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 0x1400034a8
call fcn.1400029a0
mov rcx, rax
call fcn.1400027a0
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 0x140003097
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400034a8
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 0x140003109
nop
mov eax, dword [rbp + 0x3e0]
test eax, eax
je 0x140003109
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140003d90
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 0x1400030d0
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 0x14000318d
movzx edx, byte [rbx]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140003188
lea rcx, [rsp + 0x58]
call fcn.140001090
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
inc rbx
jmp 0x140003150
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.140010cd0
mov rsi, rax
cmp rbx, qword [rbp + 0x3f0]
jne 0x1400031da
lea rcx, str.invalid_stoll_argument
call fcn.14000ad28
int3
cmp dword [rbp + 0x3e8], 0
je 0x1400031f0
lea rcx, str.stoll_argument_out_of_range
call fcn.14000ade0
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 0x140003249
cmp qword [rsp + 0x70], 0x10
jb 0x140003231
mov rcx, qword [rsp + 0x58]
call fcn.14002dcdc
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
jmp 0x140003496
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 0x1400032a4
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp qword [rsp + 0x70], 0x10
jb 0x14000328c
mov rcx, qword [rsp + 0x58]
call fcn.14002dcdc
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
jmp 0x140003496
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 0x140003319
nop dword [rax + rax]
mov eax, dword [rbp + 0x3e0]
test eax, eax
je 0x140003319
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140003d90
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 0x1400032e0
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 0x14000338e
movzx edx, byte [rbx]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x140003389
lea rcx, [rbp - 0x80]
call fcn.140001090
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
inc rbx
jmp 0x140003352
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.140010cd0
cmp rbx, qword [rbp + 0x3f0]
jne 0x1400033d5
lea rcx, str.invalid_stoll_argument
call fcn.14000ad28
int3
cmp dword [rbp + 0x3e8], 0
je 0x1400033eb
lea rcx, str.stoll_argument_out_of_range
call fcn.14000ade0
int3
sub rax, rsi
cmp rax, 0x2328
jle 0x140003451
cmp qword [rbp - 0x68], 0x10
jb 0x140003406
mov rcx, qword [rbp - 0x80]
call fcn.14002dcdc
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], 0
cmp qword [rsp + 0x70], 0x10
jb 0x140003428
mov rcx, qword [rsp + 0x58]
call fcn.14002dcdc
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x48], 0x10
jb 0x14000344d
mov rcx, qword [rsp + 0x30]
call fcn.14002dcdc
mov al, 1
jmp 0x1400034aa
cmp qword [rbp - 0x68], 0x10
jb 0x140003461
mov rcx, qword [rbp - 0x80]
call fcn.14002dcdc
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], 0
cmp qword [rsp + 0x70], 0x10
jb 0x140003483
mov rcx, qword [rsp + 0x58]
call fcn.14002dcdc
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x58], 0
cmp qword [rsp + 0x48], 0x10
jb 0x1400034a8
mov rcx, qword [rsp + 0x30]
call fcn.14002dcdc
xor al, al
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4b0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret