Function at 0x14005f660
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
mov rsi, rdx
cmp dword [0x1401605cc], eax
mov rdi, rcx
jl 0x14005f68d
mov eax, 4
add rsp, 0x178
pop rdi
pop rsi
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x140160738]
mov qword [rsp + 0x198], rbp
mov qword [rsp + 0x1a8], r12
mov qword [rsp + 0x170], r13
cmp byte [rbx + 0x23], 0
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], r15
movzx r15d, byte [0x14016057f]
mov byte [0x14016057f], 1
jne 0x14005f6dd
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14005f6eb
mov rcx, rbx
call fcn.140001610
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x14005f707
test byte [rbx + 0x21], 4
je 0x14005f701
mov rdx, rbx
call fcn.140064000
mov rdx, qword [rbx + 8]
jmp 0x14005f76a
cmp al, 2
jne 0x14005f763
mov rdx, qword [0x140164960]
test rdx, rdx
jne 0x14005f76a
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14005f743
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rcx, [0x140120460]
lea rdx, [0x14012046c]
cmovne rdx, rcx
jmp 0x14005f76a
xor edx, edx
call fcn.140007200
mov ecx, 0xffffffff
lea rdx, [0x14012046c]
cmp rax, rcx
cmovne rdx, qword [0x140164958]
jmp 0x14005f76a
lea rdx, [0x140162c30]
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
call fcn.1401020c4
xor ebx, ebx
mov r9b, reloc.WSOCK32.dll_WSAAsyncSelect
mov r8b, 1
mov word [rsp + 0x15e], bx
xor edx, edx
xor ecx, ecx
call fcn.1400054c0
mov rbp, qword [0x1401647c0]
mov r12, qword [0x1401647c8]
mov r14d, dword [0x140164864]
mov r13d, dword [0x140164868]
mov qword [0x1401647c8], rbp
mov dword [0x140164868], r14d
mov qword [0x1401647c0], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14015e378]
mov dword [0x1401648c4], eax
mov dword [0x1401648c0], eax
mov dword [0x140164864], eax
cmp byte [rdi], 5
jne 0x14005f8c2
cmp rcx, qword [0x14015e380]
jne 0x14005f801
call fcn.140007980
mov rcx, qword [0x14015e378]
cmp rcx, qword [0x14015e370]
jb 0x14005f81b
mov rax, qword [0x140164390]
mov qword [rcx], rax
mov rcx, qword [0x14015e378]
add rcx, 0x18
lea rax, [0x140135c78]
mov qword [0x14015e378], rcx
mov qword [rcx + 8], rax
mov rax, qword [0x14015bc10]
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
mov rdi, qword [rdi + 0x18]
mov qword [0x140164390], rdi
cmp byte [rax + 0x139], bl
je 0x14005f893
movsxd rax, dword [0x1401617f0]
lea rbx, [0x140000000]
mov qword [rbx + rax*8 + 0x161e40], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401617f0]
mov r8d, 0
mov dword [rbx + rdx*4 + 0x161800], eax
inc edx
cmp edx, 0x190
cmovge edx, r8d
mov dword [0x1401617f0], edx
xor r9d, r9d
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400a13a0
mov ebx, eax
cmp eax, 1
jne 0x14005f8b5
mov rcx, rdi
call fcn.14005c3b0
mov ebx, eax
sub qword [0x14015e378], 0x18
jmp 0x14005f96d
cmp rcx, qword [0x14015e380]
mov dword [rsp + 0x50], ebx
mov rbx, qword [rdi + 0x18]
mov qword [rsp + 0x40], rsi
jne 0x14005f8e4
call fcn.140007980
mov rcx, qword [0x14015e378]
cmp rcx, qword [0x14015e370]
jb 0x14005f8fe
mov rax, qword [0x140164390]
mov qword [rcx], rax
mov rcx, qword [0x14015e378]
add rcx, 0x18
lea rax, [0x140135c78]
mov qword [0x14015e378], rcx
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x30], r8d
mov qword [rcx + 8], rax
lea rax, [rsp + 0x1a0]
mov qword [rcx], r8
mov dword [rcx + 0x10], r8d
lea r8, str.call
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.1400bd2b0
sub qword [0x14015e378], 0x18
mov ebx, eax
test eax, eax
je 0x14005f96d
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rcx, qword [0x14015bc10]
mov rdx, qword [rcx + 0xf8]
lea rcx, [rsp + 0x60]
mov qword [0x140160740], rdx
mov qword [0x1401647c0], rbp
mov dword [0x140164864], r14d
mov qword [0x1401647c8], r12
mov dword [0x140164868], r13d
call fcn.140005700
mov r14, qword [rsp + 0x168]
mov eax, ebx
mov rbx, qword [rsp + 0x190]
mov r13, qword [rsp + 0x170]
mov r12, qword [rsp + 0x1a8]
mov rbp, qword [rsp + 0x198]
mov byte [0x14016057f], r15b
mov r15, qword [rsp + 0x160]
add rsp, 0x178
pop rdi
pop rsi
ret