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

Disassembly:
sub rsp, 0x538
mov qword [rsp + 0x528], 0xfffffffffffffffe
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.time
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x4d0], rax
cmp qword [rsp + 0x4d0], 0
jne 0x1400056fd
xor al, al
jmp 0x140005b63
call fcn.140005050
mov qword [rsp + 0x4c8], rax
mov rcx, qword [rsp + 0x4c8]
call fcn.140004df0
mov qword [rsp + 0x4e0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x4c0], rax
cmp qword [rsp + 0x4c0], 0
jne 0x140005774
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140005b63
mov dword [rsp + 0x4d8], 0
lea rcx, [rsp + 0x30]
call fcn.140001770
nop
lea r9, [rsp + 0x4d8]
mov r8d, 0x400
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x4c0]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400057da
cmp dword [rsp + 0x4d8], 0
jbe 0x1400057da
mov eax, dword [rsp + 0x4d8]
mov r8d, eax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.140006830
jmp 0x14000578a
mov rcx, qword [rsp + 0x4c0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x60]
call fcn.140001770
nop
lea rdx, [rsp + 0x4e8]
lea rcx, [rsp + 0x30]
call fcn.140006950
jmp 0x140005822
lea rcx, [rsp + 0x4e8]
call fcn.140008520
lea rdx, [rsp + 0x508]
lea rcx, [rsp + 0x30]
call fcn.140006990
mov rdx, rax
lea rcx, [rsp + 0x4e8]
call fcn.1400084c0
movzx eax, al
test eax, eax
je 0x140005890
lea rcx, [rsp + 0x4e8]
call fcn.140008500
movzx eax, byte [rax]
mov byte [rsp + 0x4f0], al
movsx eax, byte [rsp + 0x4f0]
cmp eax, 0x30
jl 0x14000588e
movsx eax, byte [rsp + 0x4f0]
cmp eax, 0x39
jg 0x14000588e
movzx edx, byte [rsp + 0x4f0]
lea rcx, [rsp + 0x60]
call fcn.1400018e0
jmp 0x140005815
mov r8d, 0xa
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140004cc0
mov qword [rsp + 0xb0], rax
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140070828]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x4d0], rax
cmp qword [rsp + 0x4d0], 0
jne 0x140005912
mov byte [rsp + 0x510], 0
lea rcx, [rsp + 0x60]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x30]
call fcn.1400018b0
movzx eax, byte [rsp + 0x510]
jmp 0x140005b63
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x4c0], rax
cmp qword [rsp + 0x4c0], 0
jne 0x14000598a
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x511], 0
lea rcx, [rsp + 0x60]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x30]
call fcn.1400018b0
movzx eax, byte [rsp + 0x511]
jmp 0x140005b63
lea rcx, [rsp + 0x30]
call fcn.140006930
lea r9, [rsp + 0x4d8]
mov r8d, 0x400
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x4c0]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400059e4
cmp dword [rsp + 0x4d8], 0
jbe 0x1400059e4
mov eax, dword [rsp + 0x4d8]
mov r8d, eax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x30]
call fcn.140006830
jmp 0x140005994
mov rcx, qword [rsp + 0x4c0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x88]
call fcn.140001770
nop
lea rdx, [rsp + 0x4f8]
lea rcx, [rsp + 0x30]
call fcn.140006950
jmp 0x140005a2f
lea rcx, [rsp + 0x4f8]
call fcn.140008520
lea rdx, [rsp + 0x518]
lea rcx, [rsp + 0x30]
call fcn.140006990
mov rdx, rax
lea rcx, [rsp + 0x4f8]
call fcn.1400084c0
movzx eax, al
test eax, eax
je 0x140005aa0
lea rcx, [rsp + 0x4f8]
call fcn.140008500
movzx eax, byte [rax]
mov byte [rsp + 0x500], al
movsx eax, byte [rsp + 0x500]
cmp eax, 0x30
jl 0x140005a9e
movsx eax, byte [rsp + 0x500]
cmp eax, 0x39
jg 0x140005a9e
movzx edx, byte [rsp + 0x500]
lea rcx, [rsp + 0x88]
call fcn.1400018e0
jmp 0x140005a22
mov r8d, 0xa
xor edx, edx
lea rcx, [rsp + 0x88]
call fcn.140004cc0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cmp rax, 0x2328
jle 0x140005b0c
mov byte [rsp + 0x520], 1
lea rcx, [rsp + 0x88]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x60]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x30]
call fcn.1400018b0
movzx eax, byte [rsp + 0x520]
jmp 0x140005b63
mov byte [rsp + 0x521], 0
lea rcx, [rsp + 0x88]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x60]
call fcn.1400018b0
nop
lea rcx, [rsp + 0x30]
call fcn.1400018b0
movzx eax, byte [rsp + 0x521]
jmp 0x140005b63
add rsp, 0x538
ret