Function at 0x14005b990
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401bce90]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x88], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
xor edi, edi
nop
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, eax
mov ebx, dword [r15 + 0x1e4]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [r14 + 0x1e8]
jbe 0x14005ba71
test ebx, ebx
jne 0x14005ba1f
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [r14 + 0x1f0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0xb8]
mov dword [rcx + 0x1e4], eax
mov rax, qword [rbx + 0xb8]
mov dword [rax + 0x2c8], edi
mov rax, qword [rbx + 0xb8]
mov dword [rax + 0x2cc], edi
xor edx, edx
mov rcx, qword [rbx + 0xb8]
call fcn.14005ca00
mov rax, qword [rbx]
lea rdx, [rbx + 0xc8]
mov rcx, rbx
call qword [rax + 0x48]
mov eax, dword [rsp + 0x20]
test esi, esi
je 0x14005ba92
cmp eax, 0x103
jne 0x14005ba92
mov ecx, dword [r14 + 0x1dc]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14005b9e0
test eax, eax
je 0x14005bc5e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, r12d
mov eax, 0x10624dd3
mul ecx
mov r12d, edx
shr r12d, 6
lea rcx, [r15 + 0x48]
mov r8d, 8
lea rdx, [rsp + 0x78]
call fcn.14001a5c0
nop
mov r8d, 4
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14001a680
nop
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rax]
call fcn.1400d3048
mov ebx, eax
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
lock add dword [rdx + 0x10], esi
jg 0x14005bb09
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005bb22
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ebx, eax
cmp ebx, 7
jne 0x14005bc62
xor ecx, ecx
call fcn.1400d0e94
mov rbx, rax
call fcn.140024c30
movsxd rcx, eax
sub rbx, rcx
cmp rbx, 0x93a80
jge 0x14005bc62
call fcn.1400544c0
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002100
nop
call fcn.140051160
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002100
nop
mov r8d, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140020700
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400207c0
nop
mov r8d, r12d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140020700
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005bbe5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005bc02
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005bc1c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005bc35
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14005d1c0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005bc62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14005bc62
or rsi, 0xffffffffffffffff
mov dword [r15 + 0x1d8], edi
lea r13, [r14 + 0x1f0]
mov rcx, r13
call fcn.14006ca00
mov rcx, qword [r15 + 0x188]
sub rcx, 0x18
mov qword [rsp + 0xd8], rcx
call fcn.140002400
mov qword [rsp + 0xe0], rax
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov rcx, r14
call fcn.14005add0
mov r14d, eax
mov dword [rsp + 0x94], eax
test eax, eax
je 0x14005bdc6
mov ecx, dword [0x1401c4d60]
lea r8d, [rcx + 1]
imul r8d, ecx
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xd
sub r8d, edx
cmp r8d, 8
jne 0x14005bd7c
mov word [rsp + 0x108], di
xor eax, eax
mov dword [rsp + 0x10a], eax
mov word [rsp + 0x10e], ax
mov dword [0x1401c4d60], edi
mov r9d, edi
mov dword [rsp + 0x30], edi
cmp r9d, 2
jge 0x14005bd6e
mov r8d, edi
mov dword [rsp + 0x34], edi
nop
cmp r8d, 2
jge 0x14005bd64
test r9d, r9d
je 0x14005bd5a
test r8d, r8d
je 0x14005bd5a
movsxd rcx, r9d
movsxd rax, r8d
lea rdx, [rax + rcx*2]
lea rax, [rax + rcx*2]
movsx ecx, word [rsp + rax*2 + 0x104]
movsx eax, word [rsp + rdx*2 + 0x106]
inc ecx
add ecx, eax
mov word [rsp + rdx*2 + 0x108], cx
inc r8d
mov dword [rsp + 0x34], r8d
jmp 0x14005bd20
inc r9d
mov dword [rsp + 0x30], r9d
jmp 0x14005bd11
movsx eax, word [rsp + 0x10e]
mov dword [0x1401c4d60], eax
mov rdx, qword [r15 + 0xe0]
mov rcx, rdi
lea r8, str.task
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14005bda7
cmp rcx, 5
jne 0x14005bd90
jmp 0x14005bdac
sbb edi, edi
or edi, 1
test edi, edi
sete al
test al, al
je 0x14005bdbd
mov rcx, r15
call fcn.1400166d0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, qword [r15 + 0x188]
mov qword [rsp + 0xf0], rdx
mov eax, edi
test rdx, rdx
setne al
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x14005bdef
mov ecx, 0x80004005
call fcn.140001920
mov rax, rbx
sub rdx, rbx
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x14005be09
add rax, 2
test cx, cx
jne 0x14005bdf5
jmp 0x14005be0e
sbb edi, edi
or edi, 1
mov dword [rsp + 0x90], edi
test edi, edi
je 0x14005bf3d
lea rdx, str.___:
lea rcx, [rsp + 0x48]
call fcn.140003170
nop
call fcn.140052440
mov rdx, rax
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.14001a800
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000f690
nop
lea r8, [r15 + 0x188]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14000f690
nop
mov rdx, rax
mov rcx, r15
call fcn.14005d1c0
nop
mov rcx, qword [rsp + 0xb0]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xa0], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x14005beb2
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x80]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x58], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x14005bedd
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xa8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x14005bf0b
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0xb8], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x14005bf38
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x28]
mov rcx, r13
call fcn.14006ca00
mov r8d, dword [0x1401c4d60]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
and ecx, 0x80000007
jge 0x14005bf6a
dec ecx
or ecx, 0xfffffff8
inc ecx
cmp ecx, 7
jne 0x14005bfb6
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x2f4
movsxd rcx, r8d
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400cd918
mov qword [rsp + 0xd0], rax
mov rcx, rax
call fcn.1400cf37c
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0xc8], rbx
lock xadd dword [rbx + 0x10], esi
dec esi
jg 0x14005bfdd
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400ce2d0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret