Function at 0x140052980
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, 0x100
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0xa0], rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
xor edi, edi
nop dword [rax]
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 0x140052a51
test ebx, ebx
jne 0x1400529ff
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.1400536d0
mov rax, qword [rbx]
lea rdx, [rbx + 0xc8]
mov rcx, rbx
call qword [rax + 0x50]
mov eax, dword [rsp + 0x20]
test esi, esi
je 0x140052a72
cmp eax, 0x103
jne 0x140052a72
mov ecx, dword [r14 + 0x1dc]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400529c0
test eax, eax
je 0x140052c43
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 + 0xc0]
call fcn.1400194b0
nop
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140019570
nop
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rax]
call fcn.1400c86e8
mov ebx, eax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
lock add dword [rdx + 0x10], esi
jg 0x140052aeb
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 0x140052b07
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 0x140052c46
xor ecx, ecx
call fcn.1400c6534
mov rbx, rax
call fcn.1400225a0
movsxd rcx, eax
sub rbx, rcx
cmp rbx, 0x93a80
jge 0x140052c46
call fcn.14004c6d0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002090
nop
call fcn.14004a620
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140002090
nop
mov r8d, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14001e860
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14001e8e0
nop
mov r8d, r12d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14001e860
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140052bc7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140052be4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140052c01
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140052c1a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.140053e90
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140052c46
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140052c46
or esi, 0xffffffff
mov dword [r15 + 0x1d8], edi
lea r13, [r14 + 0x1f0]
mov rcx, r13
call fcn.1400620a0
mov rcx, qword [r15 + 0x188]
sub rcx, 0x18
mov qword [rsp + 0xe0], rcx
call fcn.140002390
mov qword [rsp + 0xd0], rax
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov rcx, r14
call fcn.140051d90
mov r14d, eax
mov dword [rsp + 0xa8], eax
test eax, eax
je 0x140052ce6
mov r8, qword [r15 + 0xe0]
mov rdx, rdi
lea rax, str.task
nop dword [rax]
movzx ecx, word [r8 + rdx*2]
inc rdx
cmp cx, word [rax + rdx*2 - 2]
jne 0x140052cc7
cmp rdx, 5
jne 0x140052cb0
jmp 0x140052ccc
sbb edi, edi
or edi, 1
test edi, edi
sete al
test al, al
je 0x140052cdd
mov rcx, r15
call fcn.140015d60
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, qword [r15 + 0x188]
mov qword [rsp + 0xd8], rdx
mov eax, edi
test rdx, rdx
setne al
mov dword [rsp + 0xac], eax
test eax, eax
jne 0x140052d12
mov ecx, 0x80004005
call fcn.140001930
mov rax, rbx
sub rdx, rbx
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140052d34
add rax, 2
test cx, cx
jne 0x140052d20
jmp 0x140052d39
sbb edi, edi
or edi, 1
mov dword [rsp + 0x58], edi
test edi, edi
je 0x140052e59
lea rdx, [0x140137910]
lea rcx, [rsp + 0x40]
call fcn.140002f70
nop
call fcn.14004b1e0
mov rdx, rax
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1400196f0
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14000ee60
nop
lea r8, [r15 + 0x188]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000ee60
nop
mov rdx, rax
mov rcx, r15
call fcn.140053e90
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x98], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140052dd4
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0xb0]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x50], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140052dff
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x70], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140052e27
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x80], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140052e54
mov rdx, qword [rsp + 0x80]
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.1400620a0
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x90], rbx
lock xadd dword [rbx + 0x10], esi
dec esi
jg 0x140052e89
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret