Function at 0x1400f6270
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 [0x1402e0068]
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.1401e6750
lea r8, str.gotohttp.tmp
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call fcn.1400044a0
lea r11, [r15 + 0x2bb]
cmp byte [r11], 0
je 0x1400f62fd
or eax, 0xffffffff
jmp 0x1400f66fd
mov qword [rsp + 0x40], r11
lea rax, [r15 + 0xe8]
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.1400e46d0
nop
mov rcx, qword [rax]
lea rdx, [0x14023ce88]
test rcx, rcx
cmovne rdx, rcx
mov rcx, qword [rsp + 0x48]
add rcx, 0x88
call fcn.1400efeb0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400f639a
call fcn.1401e6538
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 0x1400f63e8
imul edi, edi, 0x3e8
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400f63fd
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.1400192b0
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400f66f0
mov edi, esi
lea rdx, [0x14029fcf4]
lea rcx, [rsp + 0x2b0]
call fcn.1401e97ac
mov r13, rax
test rax, rax
jne 0x1400f6455
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 0x1400f66fd
mov rax, qword [rbx]
lea rdx, str.Content_Length
mov rcx, rbx
call qword [rax + 0x18]
mov rcx, rax
call fcn.140001d00
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 0x1400f6511
nop dword [rax + rax]
movsxd rdx, esi
mov r9, r13
mov r8d, 1
lea rcx, [rsp + 0x3c0]
call fcn.1401e9984
cmp rax, 1
jne 0x1400f650c
add ebp, esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [r12 + 0x7d0]
cmp eax, ecx
jbe 0x1400f64e7
mov r8d, r14d
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.1400f2140
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 0x1400f64a0
jmp 0x1400f6511
mov edi, 3
mov rcx, r13
call fcn.1401e95fc
test edi, edi
jne 0x1400f66b8
lea rcx, [rsp + 0x2b0]
call fcn.14017f4d0
mov rsi, rax
test rax, rax
jne 0x1400f653e
lea edi, [rax + 4]
jmp 0x1400f66b8
mov rcx, rax
call fcn.1401800c0
test eax, eax
je 0x1400f6554
mov edi, 5
jmp 0x1400f66b0
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.14017ff10
test eax, eax
jne 0x1400f65b1
lea rdx, str..exe
lea rcx, [rsp + 0x1a0]
call fcn.140001360
test rax, rax
jne 0x1400f65c3
mov rcx, rsi
call fcn.1401801a0
test eax, eax
jne 0x1400f66b0
jmp 0x1400f6560
mov rcx, rsi
call fcn.140180ab0
test eax, eax
jne 0x1400f66b0
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 [0x14023e654]
mov byte [rdi + 3], al
lea r8, [rsp + 0x1a0]
mov edx, 0x104
lea rcx, [rsp + 0x90]
call fcn.1400044a0
lea rdx, [0x14029fcf4]
lea rcx, [rsp + 0x90]
call fcn.1401e97ac
mov rbp, rax
test rax, rax
jne 0x1400f6631
lea edi, [rax + 7]
jmp 0x1400f66a8
mov r8d, 0x800
lea rdx, [rsp + 0x3c0]
mov rcx, rsi
call fcn.140180ae0
mov edi, eax
test eax, eax
jle 0x1400f6685
nop dword [rax]
movsxd rdx, edi
mov r9, rbp
mov r8d, 1
lea rcx, [rsp + 0x3c0]
call fcn.1401e9984
mov r8d, 0x800
lea rdx, [rsp + 0x3c0]
mov rcx, rsi
call fcn.140180ae0
mov edi, eax
test eax, eax
jg 0x1400f6650
mov rcx, rbp
call fcn.1401e95fc
test edi, edi
jns 0x1400f66a5
mov edi, 8
lea rcx, [rsp + 0x90]
call fcn.1401e97b8
jmp 0x1400f66a8
mov edi, r12d
mov rcx, rsi
call fcn.140181050
mov rcx, rsi
call fcn.14017f4f0
lea rcx, [rsp + 0x2b0]
call fcn.1401e97b8
test edi, edi
jne 0x1400f66db
lea rdx, [rsp + 0x90]
mov rcx, r15
call fcn.1400ea3a0
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 0x1400f66fd
mov rcx, qword [rsp + 0x40]
mov byte [rcx], 0
mov eax, 1
mov rcx, qword [rsp + 0xbc0]
xor rcx, rsp
call fcn.1401e6720
mov rbx, qword [rsp + 0xc28]
add rsp, 0xbd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret