Function at 0x140063700
Capabilities:
Check for time delay via gettickcount
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov r12, r8
mov rbx, rdx
mov r15, rcx
mov edi, 0x84000000
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14006373f
cmp ax, 9
jne 0x140063745
add rbx, 2
jmp 0x140063730
cmp word [rbx], 0x2a
jne 0x1400637c0
add rbx, 2
mov rcx, rbx
call fcn.140010bd0
mov rcx, rbx
test al, al
je 0x14006376e
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.1400aee04
mov rdi, rax
jmp 0x140063775
call fcn.1400ae994
mov edi, eax
mov r8, rbx
test rbx, rbx
je 0x1400637c0
movzx edx, word [rbx]
test dx, dx
je 0x1400637c0
nop word [rax + rax]
lea rcx, [0x1400e2b00]
mov eax, SafeArrayAllocDescriptor
nop dword [rax]
cmp dx, ax
je 0x14006381b
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400637a0
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140063790
xor r13d, r13d
lea rcx, str.AutoHotkey
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea edx, [r13 + 4]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
jne 0x14006384c
mov rax, qword [0x140100a58]
lea rdx, [0x1400e25dc]
test byte [rax + 0x140], 1
jne 0x140063835
mov rcx, qword [0x140104d40]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008f120
jmp 0x140063ac4
mov rbx, r8
nop
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14006382f
cmp ax, 9
jne 0x1400637c0
add rbx, 2
jmp 0x140063820
lea r9, [0x1400cef3c]
xor r8d, r8d
mov rcx, r15
call fcn.140038dd0
jmp 0x140063ac4
mov qword [rsp + 0x28], r13
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rdi, rax
test rax, rax
jne 0x14006387d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400637e7
lea rdx, [0x1400eb6a4]
mov qword [rsp + 0x4d0], rsi
mov rcx, r12
call fcn.1400b3484
mov rsi, rax
test rax, rax
jne 0x1400638bb
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call fcn.14003c5b0
jmp 0x140063abc
xor eax, eax
mov dword [rsp + 0x30], gethostname
mov qword [rsp + 0x58], rax
mov ecx, 0xffdf
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
movzx eax, word [rbx]
sub ax, 0x48
mov dword [rsp + 0x58], 0x400
test cx, ax
mov rcx, rdi
je 0x1400639ce
lea r9, [rbp + 0x3d8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test eax, eax
je 0x140063a88
nop dword [rax + rax]
cmp dword [rbp + 0x3d8], r13d
je 0x140063a88
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140100a58]
sub eax, dword [0x140107e7c]
cmp eax, dword [rcx + 0x118]
jbe 0x14006398d
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140063981
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140107e7c], eax
mov edx, dword [rbp + 0x3d8]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400b36d0
lea r9, [rbp + 0x3d8]
mov r8d, 0x400
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test eax, eax
jne 0x140063930
jmp 0x140063a88
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 8]
call qword [sym.imp.WININET.dll_InternetReadFileExA]
mov ebx, eax
test eax, eax
je 0x140063a88
nop word [rax + rax]
cmp dword [rsp + 0x58], r13d
je 0x140063a88
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140100a58]
sub eax, dword [0x140107e7c]
cmp eax, dword [rcx + 0x118]
jbe 0x140063a4b
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rsp + 0x68]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140063a3f
mov edx, 1
or ecx, 0xffffffff
call fcn.1400016f0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140107e7c], eax
mov edx, dword [rsp + 0x58]
lea rcx, [rbp - 0x60]
mov r9, rsi
mov r8d, 1
call fcn.1400b36d0
xor r9d, r9d
mov dword [rsp + 0x58], 0x400
lea rdx, [rsp + 0x30]
mov rcx, rdi
lea r8d, [r9 + 8]
call qword [sym.imp.WININET.dll_InternetReadFileExA]
mov ebx, eax
test eax, eax
jne 0x1400639f0
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call fcn.1400b37d8
test ebx, ebx
jne 0x140063ab1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
sete dl
mov rcx, r15
call fcn.140038ea0
mov rsi, qword [rsp + 0x4d0]
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret