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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov r14, rdx
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
xor edi, edi
nop word [rax + rax]
mov dword [rsp + 0x128], edi
lea rdx, [rsp + 0x128]
mov rcx, qword [r14 + 0x1d8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, eax
mov ebx, dword [r15 + 0x1ec]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [r14 + 0x1f0]
jbe 0x140051b37
test ebx, ebx
jne 0x140051ae5
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [r14 + 0x1f8]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rdx, qword [rbx + 0xb8]
mov dword [rdx + 0x1ec], eax
mov rax, qword [rbx + 0xb8]
mov dword [rax + 0x2d0], edi
mov rax, qword [rbx + 0xb8]
mov dword [rax + 0x2d4], edi
xor edx, edx
mov rcx, qword [rbx + 0xb8]
call fcn.1400527c0
mov rax, qword [rbx]
lea rdx, [rbx + 0xc8]
mov rcx, rbx
call qword [rax + 0x48]
mov eax, dword [rsp + 0x128]
test esi, esi
je 0x140051b5b
cmp eax, 0x103
jne 0x140051b5b
mov ecx, dword [r14 + 0x1e4]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140051aa0
test eax, eax
je 0x140051d2f
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 + 0x58]
call fcn.140019990
nop
mov r8d, 4
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.140019a50
nop
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rax]
call fcn.1400c758c
mov ebx, eax
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
lock add dword [rdx + 0x10], esi
jg 0x140051bd7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051bf0
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 0x140051d32
xor ecx, ecx
call fcn.1400c3a60
mov rbx, rax
call fcn.140022e20
movsxd rcx, eax
sub rbx, rcx
cmp rbx, 0x93a80
jge 0x140051d32
call fcn.14004b5d0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400022a0
nop
call fcn.140049620
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400022a0
nop
mov r8d, dword [rsp + 0x128]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14001f2f0
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14001f390
nop
mov r8d, r12d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14001f2f0
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051cb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051cd0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051ced
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051d06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.1400530d0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140051d32
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140051d32
or esi, 0xffffffff
mov dword [r15 + 0x1e0], edi
lea r13, [r14 + 0x1f8]
mov rcx, r13
call fcn.140061040
mov rcx, qword [r15 + 0x190]
sub rcx, 0x18
mov qword [rsp + 0xc8], rcx
call fcn.1400025b0
mov qword [rsp + 0xb8], rax
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov rcx, r14
call fcn.140050f20
mov r14d, eax
mov dword [rsp + 0x130], eax
test eax, eax
je 0x140051dd6
mov r8, qword [r15 + 0xe0]
mov rdx, rdi
lea rax, str.task
nop dword [rax + rax]
movzx ecx, word [r8 + rdx*2]
inc rdx
cmp cx, word [rax + rdx*2 - 2]
jne 0x140051db7
cmp rdx, 5
jne 0x140051da0
jmp 0x140051dbc
sbb edi, edi
or edi, 1
test edi, edi
sete al
test al, al
je 0x140051dcd
mov rcx, r15
call fcn.140015370
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rdx, qword [r15 + 0x190]
mov qword [rsp + 0xc0], rdx
mov eax, edi
test rdx, rdx
setne al
mov dword [rsp + 0x138], eax
test eax, eax
jne 0x140051e02
mov ecx, 0x80004005
call fcn.140001920
mov rax, rbx
sub rdx, rbx
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140051e24
add rax, 2
test cx, cx
jne 0x140051e10
jmp 0x140051e29
sbb edi, edi
or edi, 1
mov dword [rsp + 0x98], edi
test edi, edi
je 0x140051f40
lea rdx, str.___:
lea rcx, [rsp + 0x30]
call fcn.1400030f0
nop
call fcn.140049e50
mov rdx, rax
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140019bd0
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.14000ea60
nop
lea r8, [r15 + 0x190]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14000ea60
nop
mov rdx, rax
mov rcx, r15
call fcn.1400530d0
nop
mov rcx, qword [rsp + 0x78]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x40], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140051ec1
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x88]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x48], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140051eec
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x60], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140051f14
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x70], rcx
mov eax, esi
lock xadd dword [rcx + 0x10], eax
dec eax
jg 0x140051f3b
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x20]
mov rcx, r13
call fcn.140061040
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x80], rbx
lock xadd dword [rbx + 0x10], esi
dec esi
jg 0x140051f70
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret