Function at 0x140004a80
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, 0x140
cmp dword [0x140132a64], 0
jg 0x140004ec4
mov rcx, qword [0x14012f240]
cmp byte [rcx + 0x12d], 0
je 0x140004ec4
mov eax, dword [reloc.WSOCK32.dll_inet_addr]
cmp dword [0x140132a88], eax
jge 0x140004ec4
cmp dword [0x14012f234], 0
je 0x140004ec4
cmp dword [0x140132a60], 0
jne 0x140004ec4
cmp byte [rcx + 0x12c], 0
jne 0x140004b36
cmp byte [rcx + 0x12e], 0
jne 0x140004b29
cmp dword [rcx + 0x120], 0xffffffff
jle 0x140004b29
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012f240]
sub eax, dword [rcx + 0x11c]
cmp eax, dword [rcx + 0x120]
jb 0x140004b29
mov byte [rcx + 0x12c], 1
cmp byte [rcx + 0x12c], 0
je 0x140004ec4
xor r15d, r15d
mov ebp, r15d
mov rbx, qword [0x140136bd8]
test rbx, rbx
je 0x140004ec4
lea r13, [0x1400f97d8]
mov r14d, 0xffffffff
lea r12, [0x140132e14]
lea rdi, str.Timer
cmp byte [rbx + 0x15], 0
je 0x140004b94
cmp byte [rbx + 0x14], 0
ja 0x140004b94
mov eax, dword [rcx + 0x3c]
cmp dword [rbx + 0x10], eax
jl 0x140004b94
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, eax
sub ecx, dword [rbx + 0xc]
cmp ecx, dword [rbx + 8]
jae 0x140004bc0
mov rcx, qword [0x14012f240]
mov rsi, qword [rbx + 0x18]
mov rbx, rsi
test rsi, rsi
lea rdi, str.Timer
jne 0x140004b67
test ebp, ebp
je 0x140004ec4
lea rcx, [rsp + 0x40]
call fcn.140005820
mov al, 1
jmp 0x140004ec6
test ebp, ebp
jne 0x140004c92
mov ebp, 1
mov rdi, qword [0x140132a80]
cmp byte [rdi + 0x23], 0
jne 0x140004bde
mov rdi, qword [rdi + 0x10]
test byte [rdi + 0x21], 8
je 0x140004bec
mov rcx, rdi
call fcn.140001640
movzx eax, byte [rdi + 0x23]
cmp al, bpl
jne 0x140004c09
test byte [rdi + 0x21], 4
je 0x140004c03
mov rdx, rdi
call fcn.140065660
mov rdx, qword [rdi + 8]
jmp 0x140004c60
cmp al, 2
jne 0x140004c5d
mov rdx, qword [0x140136d00]
test rdx, rdx
jne 0x140004c60
mov ecx, ntohs
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140004c42
mov ecx, reloc.WSOCK32.dll_ntohs
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
lea rdx, [0x1400f97e4]
test eax, eax
cmovne rdx, r13
jmp 0x140004c60
xor edx, edx
call fcn.1400073b0
lea rdx, [0x1400f97e4]
cmp rax, r14
cmovne rdx, qword [0x140136cf8]
jmp 0x140004c60
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], r15w
inc dword [0x140132a88]
add qword [0x14012f240], 0x150
lea rdi, str.Timer
mov dword [rbx + 0xc], esi
cmp byte [rbx + 0x16], 0
je 0x140004ce0
mov byte [rbx + 0x15], 0
add dword [0x140136bec], r14d
jne 0x140004ce0
cmp dword [0x140132ab8], 0
jne 0x140004ce0
cmp dword [0x140133b04], 0
jne 0x140004ce0
cmp byte [0x1401328be], 0
je 0x140004ce0
mov edx, 9
mov rcx, qword [0x140132ab0]
call qword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x140004ce0
mov byte [0x1401328be], 0
mov dword [0x140136c64], esi
mov r9, qword [rbx]
mov rcx, r9
call fcn.1400c4a80
test eax, eax
je 0x140004cfa
cmp eax, 1
jne 0x140004d0e
mov eax, reloc.WSOCK32.dll_recv
mov rax, qword [r9 + rax]
test rax, rax
je 0x140004d0e
movzx r9d, byte [rax]
jmp 0x140004d11
xor r9b, r9b
xor r8d, r8d
xor edx, edx
mov ecx, dword [rbx + 0x10]
call fcn.1400055e0
mov rax, qword [0x14012f240]
mov qword [rax + 0xf0], rbx
inc byte [rbx + 0x14]
mov rcx, qword [0x1401319a8]
cmp rcx, qword [0x1401319b0]
jne 0x140004d4b
call fcn.140007bf0
mov rcx, qword [0x1401319a8]
cmp rcx, qword [0x1401319a0]
jb 0x140004d65
mov rax, qword [0x140136730]
mov qword [rcx], rax
mov rcx, qword [0x1401319a8]
add rcx, 0x18
mov qword [0x1401319a8], rcx
mov qword [rcx], r15
mov qword [rcx + 8], rdi
mov dword [rcx + 0x10], r15d
mov rcx, qword [rbx]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8, str.call
mov rdx, rcx
call fcn.1400c07e0
sub qword [0x1401319a8], 0x18
dec byte [rbx + 0x14]
mov rsi, qword [rbx + 0x18]
cmp byte [rbx + 0x16], 0
je 0x140004ddd
cmp byte [rbx + 0x15], 0
jne 0x140004ddd
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004ddd
call fcn.1400c4a80
cmp eax, 2
jne 0x140004ddd
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004dda
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov qword [rbx], r15
cmp qword [rbx], 0
jne 0x140004eb8
mov rdi, r15
mov rbx, qword [0x140136bd8]
test rbx, rbx
je 0x140004eb8
nop word [rax + rax]
cmp qword [rbx], 0
jne 0x140004e57
cmp byte [rbx + 0x15], 0
je 0x140004e51
mov byte [rbx + 0x15], 0
add dword [0x140136bec], r14d
jne 0x140004e51
cmp dword [0x140132ab8], 0
jne 0x140004e51
cmp dword [0x140133b04], 0
jne 0x140004e51
cmp byte [0x1401328be], 0
je 0x140004e51
mov edx, 9
mov rcx, qword [0x140132ab0]
call qword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x140004e51
mov byte [0x1401328be], 0
cmp byte [rbx + 0x14], 0
je 0x140004e6f
mov rdi, rbx
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140004e00
mov rcx, qword [0x14012f240]
jmp 0x140004b98
mov rax, qword [rbx + 0x18]
test rdi, rdi
je 0x140004e7e
mov qword [rdi + 0x18], rax
jmp 0x140004e85
mov qword [0x140136bd8], rax
cmp qword [0x140136be0], rbx
jne 0x140004e95
mov qword [0x140136be0], rdi
add dword [0x140136be8], r14d
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004eab
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
nop
mov edx, SafeArrayAllocDescriptor
mov rcx, rbx
call fcn.1400f60d0
mov rcx, qword [0x14012f240]
jmp 0x140004b98
xor al, al
lea r11, [rsp + 0x140]
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