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

Disassembly:
push rsi
push r14
sub rsp, 0x38
cmp dword [0x140132ec0], 0
jg 0x14000432a
mov rcx, qword [0x14012c398]
mov eax, dword [0x140132ee0]
cmp byte [rcx + 0xc1], 0
jne 0x140004053
test eax, eax
jne 0x14000432a
cmp eax, dword [reloc.WSOCK32.dll_inet_addr]
jge 0x14000432a
cmp dword [0x14012c390], 0
je 0x14000432a
cmp byte [0x140132ea6], 0
jne 0x14000432a
test eax, eax
je 0x1400040c5
cmp byte [rcx + 0x7a], 0
jne 0x1400040c5
cmp dword [rcx + 0x70], 0xffffffff
jle 0x1400040bb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x14012c398]
sub eax, dword [rcx + 0x74]
cmp eax, dword [rcx + 0x70]
jb 0x1400040bb
cmp dword [rcx + 0x6c], 0
je 0x1400040bb
cmp byte [rcx + 0xc2], 0
mov byte [rcx + 0x7a], 1
jne 0x1400040bb
mov dword [rcx + 0x88], 5
cmp byte [rcx + 0x7a], 0
je 0x14000432a
mov rsi, qword [0x140135228]
xor r14d, r14d
test rsi, rsi
je 0x14000432a
mov qword [rsp + 0x58], rbx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x30], rdi
nop dword [rax]
cmp byte [rsi + 0x16], 0
je 0x14000411d
cmp byte [rsi + 0x14], 0
ja 0x14000411d
mov eax, dword [rcx + 0x68]
cmp dword [rsi + 0x10], eax
jl 0x14000411d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov ebp, eax
sub ecx, dword [rsi + 0xc]
cmp ecx, dword [rsi + 8]
jae 0x140004150
mov rcx, qword [0x14012c398]
mov rbx, qword [rsi + 0x18]
mov rsi, rbx
test rbx, rbx
jne 0x1400040f0
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
test r14d, r14d
je 0x14000432a
call fcn.1400048b0
mov al, 1
add rsp, 0x38
pop r14
pop rsi
ret
mov rdi, qword [0x14012c398]
test r14d, r14d
jne 0x140004176
inc dword [0x140132ee0]
mov r14d, 1
add rdi, 0xc8
mov qword [0x14012c398], rdi
cmp byte [rsi + 0x17], 0
mov dword [rsi + 0xc], ebp
je 0x1400041cb
mov byte [rsi + 0x16], 0
add dword [0x14013523c], 0xffffffff
jne 0x1400041cb
cmp dword [0x140132f18], 0
jne 0x1400041cb
cmp dword [0x14013337c], 0
jne 0x1400041cb
cmp byte [0x140132eb4], 0
je 0x1400041cb
mov rcx, qword [0x140132f10]
mov edx, 9
call qword [sym.imp.USER32.dll_KillTimer]
mov rdi, qword [0x14012c398]
test eax, eax
je 0x1400041cb
mov byte [0x140132eb4], 0
mov rax, qword [0x140132eb8]
mov dword [0x1401352b8], ebp
mov edx, dword [rsi + 0x10]
test rax, rax
je 0x1400041e9
lea rcx, [rax + 0x80]
jmp 0x1400041eb
xor ecx, ecx
test rdi, rdi
je 0x1400041f9
lea rax, [rdi + 0x80]
jmp 0x1400041fb
xor eax, eax
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [rcx + 0x40]
xorps xmm1, xmm1
movsd qword [rax + 0x40], xmm0
movups xmmword [rdi], xmm1
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi + 0x20], xmm1
movups xmmword [rdi + 0x30], xmm1
movups xmmword [rdi + 0x40], xmm1
movups xmmword [rdi + 0x50], xmm1
movups xmmword [rdi + 0x60], xmm1
movups xmmword [rdi + 0x70], xmm1
movzx eax, byte [rdi + 0xc2]
mov byte [rdi + 0x7a], 1
mov dword [rdi + 0x68], edx
test al, al
jne 0x14000425d
mov byte [rdi + 0xc2], al
cmp dword [0x1401352b4], 0
je 0x14000426f
cmp dword [0x1401352b0], 0
jne 0x140004273
test al, al
je 0x1400042b0
mov dword [rdi + 0x88], reloc.WSOCK32.dll_recv
mov byte [rdi + 0x7a], 0
test al, al
jne 0x1400042b0
cmp dword [0x1401352b4], 0
jge 0x140004297
mov dword [rdi + 0x70], 0xffffffff
jmp 0x1400042b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x74], eax
mov eax, dword [0x1401352b4]
mov dword [rdi + 0x70], eax
mov rdi, qword [0x14012c398]
mov qword [rdi + 0x30], rsi
lea rdx, str.Timer
inc byte [rsi + 0x14]
xor r9d, r9d
xor r8d, r8d
mov byte [rsp + 0x20], 0
mov rcx, rsi
call fcn.14009c770
dec byte [rsi + 0x14]
mov rcx, rsi
cmp byte [rcx + 0x16], 0
jne 0x140004315
cmp byte [rcx + 0x14], 0
jne 0x140004315
cmp byte [rcx + 0x15], 0
jne 0x140004315
mov rbx, qword [rcx + 0x18]
test rbx, rbx
je 0x1400042f5
inc byte [rbx + 0x15]
mov rdx, qword [rcx]
lea rcx, [0x140134a20]
call fcn.14004fc30
mov rcx, rbx
test rbx, rbx
je 0x140004129
dec byte [rbx + 0x15]
jmp 0x1400042d7
cmp rcx, rsi
jne 0x14000431e
mov rbx, qword [rcx + 0x18]
mov rcx, qword [0x14012c398]
jmp 0x140004121
xor al, al
add rsp, 0x38
pop r14
pop rsi
ret