Function at 0x14005c250
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 [0x1401278cc], eax
mov rdi, rcx
jl 0x14005c27d
mov eax, 4
add rsp, 0x178
pop rdi
pop rsi
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x140127a38]
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 [0x14012787f]
mov byte [0x14012787f], 1
jne 0x14005c2cd
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14005c2db
mov rcx, rbx
call fcn.140001620
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x14005c2f7
test byte [rbx + 0x21], 4
je 0x14005c2f1
mov rdx, rbx
call fcn.140060a30
mov rdx, qword [rbx + 8]
jmp 0x14005c35a
cmp al, 2
jne 0x14005c353
mov rdx, qword [0x14012bc60]
test rdx, rdx
jne 0x14005c35a
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x14005c333
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rcx, [0x1400ef7d8]
lea rdx, [0x1400ef7e4]
cmovne rdx, rcx
jmp 0x14005c35a
xor edx, edx
call fcn.140007250
mov ecx, 0xffffffff
lea rdx, [0x1400ef7e4]
cmp rax, rcx
cmovne rdx, qword [0x14012bc58]
jmp 0x14005c35a
lea rdx, [0x140129f30]
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
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.1400054f0
mov rbp, qword [0x14012bac0]
mov r12, qword [0x14012bac8]
mov r14d, dword [0x14012bb64]
mov r13d, dword [0x14012bb68]
mov qword [0x14012bac8], rbp
mov dword [0x14012bb68], r14d
mov qword [0x14012bac0], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140126968]
mov dword [0x14012bbc4], eax
mov dword [0x14012bbc0], eax
mov dword [0x14012bb64], eax
cmp byte [rdi], 5
jne 0x14005c4b3
cmp rcx, qword [0x140126970]
jne 0x14005c3f2
call fcn.1400079d0
mov rcx, qword [0x140126968]
cmp rcx, qword [0x140126960]
jb 0x14005c40c
mov rax, qword [0x14012b690]
mov qword [rcx], rax
mov rcx, qword [0x140126968]
add rcx, 0x18
lea rax, [0x140104ff8]
mov qword [0x140126968], rcx
mov qword [rcx + 8], rax
mov rax, qword [0x140124200]
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
mov rdi, qword [rdi + 0x18]
mov qword [0x14012b690], rdi
cmp byte [rax + 0x139], bl
je 0x14005c484
movsxd rax, dword [0x140128af0]
lea rbx, [0x140000000]
mov qword [rbx + rax*8 + 0x129140], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x140128af0]
mov r8d, 0
mov dword [rbx + rdx*4 + 0x128b00], eax
inc edx
cmp edx, 0x190
cmovge edx, r8d
mov dword [0x140128af0], edx
xor r9d, r9d
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.14009f1a0
mov ebx, eax
cmp eax, 1
jne 0x14005c4a6
mov rcx, rdi
call fcn.14005a430
mov ebx, eax
sub qword [0x140126968], 0x18
jmp 0x14005c55e
cmp rcx, qword [0x140126970]
mov dword [rsp + 0x50], ebx
mov rbx, qword [rdi + 0x18]
mov qword [rsp + 0x40], rsi
jne 0x14005c4d5
call fcn.1400079d0
mov rcx, qword [0x140126968]
cmp rcx, qword [0x140126960]
jb 0x14005c4ef
mov rax, qword [0x14012b690]
mov qword [rcx], rax
mov rcx, qword [0x140126968]
add rcx, 0x18
lea rax, [0x140104ff8]
mov qword [0x140126968], 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.1400b8b70
sub qword [0x140126968], 0x18
mov ebx, eax
test eax, eax
je 0x14005c55e
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rcx, qword [0x140124200]
mov rdx, qword [rcx + 0xf8]
lea rcx, [rsp + 0x60]
mov qword [0x140127a40], rdx
mov qword [0x14012bac0], rbp
mov dword [0x14012bb64], r14d
mov qword [0x14012bac8], r12
mov dword [0x14012bb68], r13d
call fcn.140005730
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 [0x14012787f], r15b
mov r15, qword [rsp + 0x160]
add rsp, 0x178
pop rdi
pop rsi
ret