Function at 0x140053690
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 [0x14014259c], eax
mov rdi, rcx
jl 0x1400536bd
mov eax, 4
add rsp, 0x178
pop rdi
pop rsi
ret
mov qword [rsp + 0x190], rbx
mov rbx, qword [0x140142708]
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 [0x14014254f]
mov byte [0x14014254f], 1
jne 0x14005370d
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x14005371b
mov rcx, rbx
call fcn.140001670
movzx eax, byte [rbx + 0x23]
cmp al, 1
jne 0x140053737
test byte [rbx + 0x21], 4
je 0x140053731
mov rdx, rbx
call fcn.140057bc0
mov rdx, qword [rbx + 8]
jmp 0x14005379a
cmp al, 2
jne 0x140053793
mov rdx, qword [0x140146930]
test rdx, rdx
jne 0x14005379a
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140053773
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
lea rcx, [0x140103548]
lea rdx, [0x140103554]
cmovne rdx, rcx
jmp 0x14005379a
xor edx, edx
call fcn.140006d10
mov ecx, 0xffffffff
lea rdx, [0x140103554]
cmp rax, rcx
cmovne rdx, qword [0x140146928]
jmp 0x14005379a
lea rdx, [0x140144c00]
mov r8d, 0x7f
lea rcx, [rsp + 0x60]
call fcn.1400e4f88
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.140004fa0
mov rbp, qword [0x140146790]
mov r12, qword [0x140146798]
mov r14d, dword [0x140146834]
mov r13d, dword [0x140146838]
mov qword [0x140146798], rbp
mov dword [0x140146838], r14d
mov qword [0x140146790], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140140348]
mov dword [0x140146894], eax
mov dword [0x140146890], eax
mov dword [0x140146834], eax
cmp byte [rdi], 5
jne 0x1400538f2
cmp rcx, qword [0x140140350]
jne 0x140053831
call fcn.140007570
mov rcx, qword [0x140140348]
cmp rcx, qword [0x140140340]
jb 0x14005384b
mov rax, qword [0x140146360]
mov qword [rcx], rax
mov rcx, qword [0x140140348]
add rcx, 0x18
lea rax, [0x140118d68]
mov qword [0x140140348], rcx
mov qword [rcx + 8], rax
mov rax, qword [0x14013dbe0]
mov qword [rcx], rbx
mov dword [rcx + 0x10], ebx
mov rdi, qword [rdi + 0x18]
mov qword [0x140146360], rdi
cmp byte [rax + 0x139], bl
je 0x1400538c3
movsxd rax, dword [0x1401437c0]
lea rbx, [0x140000000]
mov qword [rbx + rax*8 + 0x143e10], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x1401437c0]
mov r8d, 0
mov dword [rbx + rdx*4 + 0x1437d0], eax
inc edx
cmp edx, 0x190
cmovge edx, r8d
mov dword [0x1401437c0], edx
xor r9d, r9d
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.14008fa00
mov ebx, eax
cmp eax, 1
jne 0x1400538e5
mov rcx, rdi
call fcn.140051f80
mov ebx, eax
sub qword [0x140140348], 0x18
jmp 0x14005399d
cmp rcx, qword [0x140140350]
mov dword [rsp + 0x50], ebx
mov rbx, qword [rdi + 0x18]
mov qword [rsp + 0x40], rsi
jne 0x140053914
call fcn.140007570
mov rcx, qword [0x140140348]
cmp rcx, qword [0x140140340]
jb 0x14005392e
mov rax, qword [0x140146360]
mov qword [rcx], rax
mov rcx, qword [0x140140348]
add rcx, 0x18
lea rax, [0x140118d68]
mov qword [0x140140348], 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.1400a6d80
sub qword [0x140140348], 0x18
mov ebx, eax
test eax, eax
je 0x14005399d
mov rax, qword [rsp + 0x1a0]
neg rax
sbb ebx, ebx
add ebx, 4
mov rcx, qword [0x14013dbe0]
mov rdx, qword [rcx + 0xf8]
lea rcx, [rsp + 0x60]
mov qword [0x140142710], rdx
mov qword [0x140146790], rbp
mov dword [0x140146834], r14d
mov qword [0x140146798], r12
mov dword [0x140146838], r13d
call fcn.140005150
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 [0x14014254f], r15b
mov r15, qword [rsp + 0x160]
add rsp, 0x178
pop rdi
pop rsi
ret