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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
cmp dword [0x1401278c8], 0
jg 0x140004d62
mov rcx, qword [0x140124200]
cmp byte [rcx + 0x12d], 0
je 0x140004d62
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
cmp dword [0x1401278cc], eax
jge 0x140004d62
cmp dword [0x1401241f4], 0
je 0x140004d62
cmp dword [0x1401278bc], 0
jne 0x140004d62
cmp byte [rcx + 0x12c], 0
jne 0x1400049d6
cmp byte [rcx + 0x12e], 0
jne 0x1400049c9
cmp dword [rcx + 0x120], 0xffffffff
jle 0x1400049c9
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x140124200]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x1400049c9
mov byte [rcx + 0x12c], 1
cmp byte [rcx + 0x12c], 0
je 0x140004d62
xor r14d, r14d
mov ebp, r14d
mov rbx, qword [0x14012bb38]
test rbx, rbx
je 0x140004d62
lea r13, [0x1400ef7c8]
mov r15d, 0xffffffff
lea r12, [0x140129f30]
lea rdi, str.Timer
cmp byte [rbx + 0x15], 0
je 0x140004a34
cmp byte [rbx + 0x14], 0
ja 0x140004a34
mov eax, dword [rcx + 0x3c]
cmp dword [rbx + 0x10], eax
jl 0x140004a34
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, eax
sub ecx, dword [rbx + 0xc]
cmp ecx, dword [rbx + 8]
jae 0x140004a60
mov rcx, qword [0x140124200]
mov rsi, qword [rbx + 0x18]
mov rbx, rsi
test rsi, rsi
lea rdi, str.Timer
jne 0x140004a07
test ebp, ebp
je 0x140004d62
lea rcx, [rsp + 0x40]
call fcn.1400056c0
mov al, 1
jmp 0x140004d64
test ebp, ebp
jne 0x140004b2e
mov ebp, 1
mov rdi, qword [0x140127a38]
cmp byte [rdi + 0x23], 0
jne 0x140004a7e
mov rdi, qword [rdi + 0x10]
test byte [rdi + 0x21], 8
je 0x140004a8c
mov rcx, rdi
call fcn.1400015e0
movzx eax, byte [rdi + 0x23]
cmp al, bpl
jne 0x140004aa9
test byte [rdi + 0x21], 4
je 0x140004aa3
mov rdx, rdi
call fcn.140060930
mov rdx, qword [rdi + 8]
jmp 0x140004afc
cmp al, 2
jne 0x140004af9
mov rdx, qword [0x14012bc60]
test rdx, rdx
jne 0x140004afc
lea ecx, [rdx + 0xd]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140004ade
lea ecx, [rax + 0xf]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea rdx, [0x1400ef7d4]
test eax, eax
cmovne rdx, r13
jmp 0x140004afc
xor edx, edx
call fcn.1400071d0
lea rdx, [0x1400ef7d4]
cmp rax, r15
cmovne rdx, qword [0x14012bc58]
jmp 0x140004afc
mov rdx, r12
mov r8d, 0x7f
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rsp + 0x13e], r14w
inc dword [0x1401278cc]
add qword [0x140124200], 0x150
lea rdi, str.Timer
mov dword [rbx + 0xc], esi
cmp byte [rbx + 0x16], 0
je 0x140004b84
mov byte [rbx + 0x15], 0
add dword [0x14012bb4c], r15d
jne 0x140004b84
cmp dword [0x140127a68], 0
jne 0x140004b84
cmp dword [0x140128a84], 0
jne 0x140004b84
cmp byte [0x14012787e], 0
je 0x140004b84
mov edx, 9
mov rcx, qword [0x140127a60]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x14012787e]
test eax, eax
cmovne ecx, r14d
mov byte [0x14012787e], cl
mov dword [0x14012bbc4], esi
mov r9, qword [rbx]
mov rcx, r9
call fcn.1400bcb20
test eax, eax
je 0x140004b9e
cmp eax, 1
jne 0x140004bad
mov rax, qword [r9 + 0x10]
test rax, rax
je 0x140004bad
movzx r9d, byte [rax]
jmp 0x140004bb0
xor r9b, r9b
xor r8d, r8d
xor edx, edx
mov ecx, dword [rbx + 0x10]
call fcn.140005480
mov rax, qword [0x140124200]
mov qword [rax + 0xf0], rbx
inc byte [rbx + 0x14]
mov rcx, qword [0x140126968]
cmp rcx, qword [0x140126970]
jne 0x140004bea
call fcn.140007950
mov rcx, qword [0x140126968]
cmp rcx, qword [0x140126960]
jb 0x140004c04
mov rax, qword [0x14012b690]
mov qword [rcx], rax
mov rcx, qword [0x140126968]
add rcx, 0x18
mov qword [0x140126968], rcx
mov qword [rcx], r14
mov qword [rcx + 8], rdi
mov dword [rcx + 0x10], r14d
mov rcx, qword [rbx]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, str.call
mov rdx, rcx
call fcn.1400b8990
sub qword [0x140126968], 0x18
dec byte [rbx + 0x14]
mov rsi, qword [rbx + 0x18]
cmp byte [rbx + 0x16], 0
je 0x140004c7c
cmp byte [rbx + 0x15], 0
jne 0x140004c7c
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004c7c
call fcn.1400bcb20
cmp eax, 2
jne 0x140004c7c
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004c79
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov qword [rbx], r14
cmp qword [rbx], 0
jne 0x140004d56
mov rdi, r14
mov rbx, qword [0x14012bb38]
test rbx, rbx
je 0x140004d56
movzx ecx, byte [0x14012787e]
cmp qword [rbx], 0
jne 0x140004cfa
cmp byte [rbx + 0x15], 0
je 0x140004cf4
mov byte [rbx + 0x15], 0
add dword [0x14012bb4c], r15d
jne 0x140004cf4
cmp dword [0x140127a68], 0
jne 0x140004cf4
cmp dword [0x140128a84], 0
jne 0x140004cf4
test cl, cl
je 0x140004cf4
mov edx, 9
mov rcx, qword [0x140127a60]
call qword [sym.imp.USER32.dll_KillTimer]
movzx ecx, byte [0x14012787e]
test eax, eax
cmovne ecx, r14d
mov byte [0x14012787e], cl
cmp byte [rbx + 0x14], 0
je 0x140004d08
mov rdi, rbx
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x140004d56
jmp 0x140004ca0
mov rax, qword [rbx + 0x18]
test rdi, rdi
je 0x140004d17
mov qword [rdi + 0x18], rax
jmp 0x140004d1e
mov qword [0x14012bb38], rax
mov rax, qword [0x14012bb40]
cmp rax, rbx
cmove rax, rdi
mov qword [0x14012bb40], rax
add dword [0x14012bb48], r15d
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004d49
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
nop
mov edx, SafeArrayAllocDescriptor
mov rcx, rbx
call fcn.1400ec260
mov rcx, qword [0x140124200]
jmp 0x140004a38
xor al, al
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret