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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
cmp dword [0x1401341f4], 0
jg 0x140004d3e
mov rcx, qword [0x14012fc08]
cmp byte [rcx + 0x12d], 0
je 0x140004d3e
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
cmp dword [0x140134218], eax
jge 0x140004d3e
cmp dword [0x14012fc00], 0
je 0x140004d3e
cmp dword [0x1401341f0], 0
jne 0x140004d3e
cmp byte [rcx + 0x12c], 0
jne 0x1400049c6
cmp byte [rcx + 0x12e], 0
jne 0x1400049b9
cmp dword [rcx + 0x120], 0xffffffff
jle 0x1400049b9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012fc08]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x1400049b9
mov byte [rcx + 0x12c], 1
cmp byte [rcx + 0x12c], 0
je 0x140004d3e
xor r13d, r13d
mov ebp, r13d
mov r15, qword [0x140137188]
test r15, r15
je 0x140004d3e
lea r14, [0x1400fb870]
mov r12d, 0xffffffff
mov rsi, qword [rsp + 0x160]
cmp byte [r15 + 0x16], 0
je 0x140004a23
cmp byte [r15 + 0x14], 0
ja 0x140004a23
mov eax, dword [rcx + 0x3c]
cmp dword [r15 + 0x10], eax
jl 0x140004a23
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov ecx, eax
sub ecx, dword [r15 + 0xc]
cmp ecx, dword [r15 + 8]
jae 0x140004a48
mov rcx, qword [0x14012fc08]
mov rsi, qword [r15 + 0x18]
mov r15, rsi
test rsi, rsi
jne 0x1400049f1
test ebp, ebp
je 0x140004d3e
lea rcx, [rsp + 0x30]
call fcn.140005640
mov al, 1
jmp 0x140004d40
test ebp, ebp
jne 0x140004b12
mov ebp, 1
mov rbx, qword [0x140134210]
cmp byte [rbx + 0x23], 0
jne 0x140004a66
mov rbx, qword [rbx + 0x10]
test byte [rbx + 0x21], 8
je 0x140004a74
mov rcx, rbx
call fcn.140001550
movzx eax, byte [rbx + 0x23]
cmp al, bpl
jne 0x140004a91
test byte [rbx + 0x21], 4
je 0x140004a8b
mov rdx, rbx
call fcn.1400520f0
mov rdx, qword [rbx + 8]
jmp 0x140004ae8
cmp al, 2
jne 0x140004ae1
mov rdx, qword [0x1401372c0]
test rdx, rdx
jne 0x140004ae8
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140004ac6
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea rdx, [0x1400fb87c]
test eax, eax
cmovne rdx, r14
jmp 0x140004ae8
xor edx, edx
call fcn.140006cb0
lea rdx, [0x1400fb87c]
cmp rax, r12
cmovne rdx, qword [0x1401372b8]
jmp 0x140004ae8
lea rdx, [0x1401344d4]
mov r8d, 0x7f
lea rcx, [rsp + 0x30]
call fcn.1400de184
mov word [rsp + 0x12e], r13w
inc dword [0x140134218]
add qword [0x14012fc08], 0x150
mov dword [r15 + 0xc], edi
cmp byte [r15 + 0x17], 0
je 0x140004b63
mov byte [r15 + 0x16], 0
add dword [0x14013719c], r12d
jne 0x140004b63
cmp dword [0x140134248], 0
jne 0x140004b63
cmp dword [0x140135180], 0
jne 0x140004b63
cmp byte [0x140134086], 0
je 0x140004b63
mov edx, 9
mov rcx, qword [0x140134240]
call qword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x140004b63
mov byte [0x140134086], 0
mov dword [0x140137224], edi
mov r9, qword [r15]
mov rcx, r9
call fcn.1400a6d50
test eax, eax
je 0x140004b7d
cmp eax, 1
jne 0x140004b91
mov eax, reloc.WSOCK32.dll_recv
mov rax, qword [rax + r9]
test rax, rax
je 0x140004b91
movzx r9d, byte [rax]
jmp 0x140004b94
xor r9b, r9b
xor r8d, r8d
xor edx, edx
mov ecx, dword [r15 + 0x10]
call fcn.140005400
mov rax, qword [0x14012fc08]
mov qword [rax + 0xf0], r15
inc byte [r15 + 0x14]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Timer
mov rcx, r15
call fcn.1400a6c70
dec byte [r15 + 0x14]
mov rbx, r15
cmp byte [rbx + 0x16], 0
jne 0x140004d1e
cmp byte [rbx + 0x14], 0
jne 0x140004d1e
cmp byte [rbx + 0x15], 0
jne 0x140004d1e
mov rsi, qword [rbx + 0x18]
lea r14, [rsi + 0x15]
test rsi, rsi
je 0x140004c03
inc byte [r14]
cmp rbx, r15
jne 0x140004c32
cmp byte [r15 + 0x17], 0
je 0x140004c32
mov rcx, qword [r15]
test rcx, rcx
je 0x140004c32
call fcn.1400a6d50
cmp eax, 2
jne 0x140004c32
mov rcx, qword [r15]
test rcx, rcx
je 0x140004c2f
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov qword [r15], r13
mov rax, r14
cmp qword [rbx], 0
jne 0x140004cbd
mov rdi, r13
mov rbx, qword [0x140137188]
test rbx, rbx
je 0x140004cbd
nop
cmp qword [rbx], 0
jne 0x140004cad
cmp byte [rbx + 0x16], 0
je 0x140004ca1
mov byte [rbx + 0x16], 0
add dword [0x14013719c], r12d
jne 0x140004ca1
cmp dword [0x140134248], 0
jne 0x140004ca1
cmp dword [0x140135180], 0
jne 0x140004ca1
cmp byte [0x140134086], 0
je 0x140004ca1
mov edx, 9
mov rcx, qword [0x140134240]
call qword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x140004ca1
mov byte [0x140134086], 0
cmp byte [rbx + 0x14], 0
jne 0x140004cad
cmp byte [rbx + 0x15], 0
je 0x140004cd0
mov rdi, rbx
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140004c50
lea rax, [rsi + 0x15]
mov rbx, rsi
test rsi, rsi
je 0x140004a2f
dec byte [rax]
jmp 0x140004bd5
mov rax, qword [rbx + 0x18]
test rdi, rdi
je 0x140004cdf
mov qword [rdi + 0x18], rax
jmp 0x140004ce6
mov qword [0x140137188], rax
cmp qword [0x140137190], rbx
jne 0x140004cf6
mov qword [0x140137190], rdi
add dword [0x140137198], r12d
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004d0c
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
nop
mov edx, SafeArrayAllocDescriptor
mov rcx, rbx
call fcn.1400c9e40
mov rax, r14
jmp 0x140004cbd
mov rcx, qword [0x14012fc08]
lea r14, [0x1400fb870]
cmp rbx, r15
jne 0x140004a27
mov rsi, qword [rbx + 0x18]
jmp 0x140004a27
xor al, al
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret