Function at 0x1400f1f80
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xbd0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rsp + 0xc28], rbx
mov rax, qword [0x1402de400]
xor rax, rsp
mov qword [rsp + 0xbc0], rax
mov edi, r8d
mov rbx, rdx
mov r15, rcx
mov byte [rsp + 0x90], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x91]
call fcn.1401e42d0
lea r8, str.gotohttp.tmp
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call fcn.140004450
lea r11, [r15 + 0x2c3]
cmp byte [r11], 0
je 0x1400f200d
or eax, 0xffffffff
jmp 0x1400f240d
mov qword [rsp + 0x40], r11
lea rax, [r15 + 0xf0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r15
mov byte [r11], 1
lea rdx, [rsp + 0x58]
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
sub dword [rsp + 0x60], 0xa
mov eax, dword [rsp + 0x5c]
add eax, 0x28
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x48]
add rcx, 0x98
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor edx, edx
mov r8d, 0xbb
lea rcx, [rsp + 0x68]
call fcn.1400e0160
nop
mov rcx, qword [rax]
lea rdx, [0x140239da0]
test rcx, rcx
cmovne rdx, rcx
mov rcx, qword [rsp + 0x48]
add rcx, 0x88
call fcn.1400ebb10
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400f20aa
call fcn.1401e3600
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x70], esi
mov rcx, qword [rsp + 0x48]
add rcx, 0x98
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x50]
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
add dword [rsp + 0x5c], 0x14
test edi, edi
je 0x1400f20f8
imul edi, edi, 0x3e8
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400f210d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, al
imul ecx, ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str._gotohttp_x64.zip
mov rcx, rbx
call fcn.140016db0
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400f2400
mov edi, esi
lea rdx, [0x14029d034]
lea rcx, [rsp + 0x2b0]
call fcn.1401e696c
mov r13, rax
test rax, rax
jne 0x1400f2165
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
mov rax, qword [rsp + 0x40]
mov byte [rax], r13b
lea eax, [r13 + 2]
jmp 0x1400f240d
mov rax, qword [rbx]
lea rdx, str.Content_Length
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, rax
call fcn.140001cb0
mov r14d, eax
mov ebp, esi
mov r12d, esi
mov rax, qword [rbx]
mov r9d, 1
mov r8d, 0x800
lea rdx, [rsp + 0x3c0]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_getservbyport]
mov esi, eax
test eax, eax
jle 0x1400f2221
nop dword [rax + rax]
movsxd rdx, esi
mov r9, r13
mov r8d, 1
lea rcx, [rsp + 0x3c0]
call fcn.1401e6b44
cmp rax, 1
jne 0x1400f221c
add ebp, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [r12 + 0x7d0]
cmp eax, ecx
jbe 0x1400f21f7
mov r8d, r14d
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.1400edda0
mov r12d, esi
mov rax, qword [rbx]
mov r9d, 1
mov r8d, 0x800
lea rdx, [rsp + 0x3c0]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_getservbyport]
mov esi, eax
test eax, eax
jg 0x1400f21b0
jmp 0x1400f2221
mov edi, 3
mov rcx, r13
call fcn.1401e67bc
test edi, edi
jne 0x1400f23c8
lea rcx, [rsp + 0x2b0]
call fcn.14017c910
mov rsi, rax
test rax, rax
jne 0x1400f224e
lea edi, [rax + 4]
jmp 0x1400f23c8
mov rcx, rax
call fcn.14017d500
test eax, eax
je 0x1400f2264
mov edi, 5
jmp 0x1400f23c0
mov edi, 6
xor r12d, r12d
nop dword [rax]
mov byte [rsp + 0x1a0], r12b
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, 0x104
lea r8, [rsp + 0x1a0]
xor edx, edx
mov rcx, rsi
call fcn.14017d350
test eax, eax
jne 0x1400f22c1
lea rdx, str..exe
lea rcx, [rsp + 0x1a0]
call fcn.140001310
test rax, rax
jne 0x1400f22d3
mov rcx, rsi
call fcn.14017d5e0
test eax, eax
jne 0x1400f23c0
jmp 0x1400f2270
mov rcx, rsi
call fcn.14017def0
test eax, eax
jne 0x1400f23c0
lea rdi, [rsp + 0x1a0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..tmp]
mov dword [rdi - 1], eax
movzx eax, byte [0x14023b7ac]
mov byte [rdi + 3], al
lea r8, [rsp + 0x1a0]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.140004450
lea rdx, [0x14029d034]
lea rcx, [rsp + 0x90]
call fcn.1401e696c
mov rbp, rax
test rax, rax
jne 0x1400f2341
lea edi, [rax + 7]
jmp 0x1400f23b8
mov r8d, 0x800
lea rdx, [rsp + 0x3c0]
mov rcx, rsi
call fcn.14017df20
mov edi, eax
test eax, eax
jle 0x1400f2395
nop dword [rax]
movsxd rdx, edi
mov r9, rbp
mov r8d, 1
lea rcx, [rsp + 0x3c0]
call fcn.1401e6b44
mov r8d, 0x800
lea rdx, [rsp + 0x3c0]
mov rcx, rsi
call fcn.14017df20
mov edi, eax
test eax, eax
jg 0x1400f2360
mov rcx, rbp
call fcn.1401e67bc
test edi, edi
jns 0x1400f23b5
mov edi, 8
lea rcx, [rsp + 0x90]
call fcn.1401e6978
jmp 0x1400f23b8
mov edi, r12d
mov rcx, rsi
call fcn.14017e490
mov rcx, rsi
call fcn.14017c930
lea rcx, [rsp + 0x2b0]
call fcn.1401e6978
test edi, edi
jne 0x1400f23eb
lea rdx, [rsp + 0x90]
mov rcx, r15
call fcn.1400e5ee0
mov edi, eax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
nop
mov rcx, qword [rsp + 0x40]
mov byte [rcx], 0
mov eax, edi
jmp 0x1400f240d
mov rcx, qword [rsp + 0x40]
mov byte [rcx], 0
mov eax, 1
mov rcx, qword [rsp + 0xbc0]
xor rcx, rsp
call fcn.1401e42a0
mov rbx, qword [rsp + 0xc28]
add rsp, 0xbd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret