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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x180075010]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov r14, r8
mov qword [rbp + 0x110], r8
mov qword [rbp - 0x68], rdx
mov edi, ecx
xor esi, esi
mov dword [rsp + 0x30], esi
mov r13d, esi
lea r12, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp], r12
lea rdx, vtable.CVolObject.0
mov qword [rbp], rdx
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
lea rcx, vtable.CWString.0
mov qword [rbp], rcx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
lea r8, vtable.CVolMem.0
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x50], 0x40
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x50], 0xfe
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x60], rcx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x10], 0xfe
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov eax, eax
sub rax, rbx
cmp rax, 0x3e8
jge 0x180004f64
lea r15, [0x18005ec08]
lea rdx, vtable.CWConstString.0
mov qword [rbp + 0xb8], r12
lea r8, vtable.CVolObject.0
mov qword [rbp + 0xb8], r8
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], rsi
lea rcx, vtable.CWString.0
mov qword [rbp + 0xb8], rcx
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xd8], r8
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], rsi
lea r9, vtable.CVolMem.0
mov qword [rbp + 0xd8], r9
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x108], 0x40
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0x108], 0xfe
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x60], r8
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x60], rcx
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x80], r8
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x80], r9
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xb0], 0x40
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0xb0], 0xfe
mov qword [rbp + 0x60], rdx
mov qword [rbp + 0x78], r15
lea r9, [rbp + 0xb8]
lea r8, [rbp + 0x60]
mov rdx, r13
call fcn.1800066a0
mov r13, rax
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, vtable.CVolMem.0
mov qword [rbp + 0x80], rax
mov rdx, qword [rbp + 0x98]
test rdx, rdx
je 0x1800046cf
lea rcx, [rbp + 0x80]
mov rax, qword [rbp + 0x80]
call qword [rax + 0x18]
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xa0], rsi
lea rcx, vtable.CVolObject.0
mov qword [rbp + 0x80], rcx
mov qword [rbp + 0x60], rcx
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, vtable.CVolMem.0
mov qword [rbp + 0xd8], rax
mov rdx, qword [rbp + 0xf0]
test rdx, rdx
je 0x180004734
lea rcx, [rbp + 0xd8]
mov rax, qword [rbp + 0xd8]
call qword [rax + 0x18]
lea rcx, vtable.CVolObject.0
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0x100], rsi
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0xd8], rcx
mov qword [rbp + 0xb8], rcx
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180004783
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x180004783
lea rdx, [rbp - 0x70]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rbp - 0x70], edi
je 0x18000479f
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov eax, eax
sub rax, rbx
cmp rax, 0x3e8
jge 0x180004f64
jmp 0x180004555
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.180006480
mov rbx, rax
lea rcx, [rbp]
mov rdx, qword [rbp]
call qword [rdx + 0x88]
mov rcx, qword [rbx + 8]
mov qword [rbp + 8], rcx
mov rcx, qword [rbx + 0x10]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbx + 0x18]
mov qword [rbp + 0x18], rcx
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x20]
call qword [rdx + 0x88]
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x20]
call fcn.1800025c0
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rbx, vtable.CVolMem.0
mov qword [rsp + 0x58], rbx
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x18000481c
lea rcx, [rsp + 0x58]
call qword [method.CWString.virtual_24]
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x78], rsi
lea rdi, vtable.CVolObject.0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x38], rdi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x120]
call fcn.18003aac0
mov r8d, 0x104
lea rdx, [rbp + 0x120]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetClassNameW]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rcx, vtable.CWString.0
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], 0x40
mov qword [rsp + 0x50], rsi
mov qword [rbp - 0x78], 0xfe
mov qword [rsp + 0x38], rcx
mov r12, 0xffffffffffffffff
mov rdx, qword [rbp + 0x120]
test dx, dx
je 0x18000498d
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rbp - 0x80]
cmp rbx, 2
jb 0x180004906
cmp word [rcx + rbx - 2], 0
jne 0x180004906
sub rbx, 2
mov qword [rbp - 0x80], rbx
lea r8, [rbp + 0x120]
mov rax, r12
lea rax, [rax + 1]
cmp word [r8 + rax*2], 0
jne 0x180004910
lea rdi, [rax*2 + 2]
mov rax, qword [rsp + 0x78]
sub rax, rbx
cmp rax, rdi
jl 0x180004960
cmp rdi, 2
jne 0x180004941
mov word [rbx + rcx], dx
add qword [rbp - 0x80], rdi
jmp 0x180004986
cmp rdi, 4
jne 0x180004950
mov dword [rbx + rcx], edx
add qword [rbp - 0x80], rdi
jmp 0x180004986
cmp rdi, 8
jne 0x180004960
mov qword [rbx + rcx], rdx
add qword [rbp - 0x80], rdi
jmp 0x180004986
test rdi, rdi
jle 0x180004986
lea rdx, [rbx + rdi]
lea rcx, [rsp + 0x58]
call fcn.18002a210
lea rcx, [rbx + rax]
mov r8, rdi
lea rdx, [rbp + 0x120]
call fcn.18003a6b0
lea rdi, vtable.CVolObject.0
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x60]
mov rax, qword [rbp - 0x60]
call qword [rax + 0x88]
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
call qword [rax + 0x88]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x40]
call fcn.1800025c0
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, vtable.CVolMem.0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x180004a0d
lea rcx, [rsp + 0x58]
call qword [method.CWString.virtual_24]
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x38], rdi
mov rcx, qword [rbp - 0x68]
mov rsi, qword [rcx + 0x18]
test rsi, rsi
je 0x180004a37
mov rax, rsi
jmp 0x180004a45
cmp qword [rcx + 0x48], 0
mov rax, r15
je 0x180004a45
mov rax, qword [rcx + 0x38]
cmp word [rax], 0
jne 0x180004a6b
mov rax, qword [r14 + 0x18]
test rax, rax
jne 0x180004a61
cmp qword [r14 + 0x48], rax
mov rax, r15
je 0x180004a61
mov rax, qword [r14 + 0x38]
cmp word [rax], 0
je 0x180004f5e
test rsi, rsi
je 0x180004a75
mov rax, rsi
jmp 0x180004a83
cmp qword [rcx + 0x48], 0
mov rax, r15
je 0x180004a83
mov rax, qword [rcx + 0x38]
mov rdx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x48]
cmp word [rax], 0
jne 0x180004bc0
mov r9, qword [r14 + 0x18]
test r9, r9
jne 0x180004aab
cmp qword [r14 + 0x48], r9
mov r9, r15
je 0x180004aab
mov r9, qword [r14 + 0x38]
test rdi, rdi
je 0x180004acd
mov r10, rdi
mov r11, r12
nop word [rax + rax]
inc r11
cmp word [rdi + r11*2], 0
jne 0x180004ac0
jmp 0x180004b06
test rdx, rdx
jne 0x180004af9
mov r10, r15
xor r11d, r11d
test r9, r9
je 0x180004baf
cmp word [r9], 0
je 0x180004baf
test r11, r11
jne 0x180004b13
mov r10, r12
jmp 0x180004bb2
mov r10, qword [rbp - 0x28]
mov r11, rdx
shr r11, 1
dec r11
test r11, r11
jns 0x180004ad8
mov r10, r12
jmp 0x180004bb2
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [r9 + r8*2], 0
jne 0x180004b20
test r8, r8
jns 0x180004b41
mov r8, r12
inc r8
cmp word [r9 + r8*2], 0
jne 0x180004b33
test r8, r8
jle 0x180004b0b
sub r11, r8
inc r11
test r11, r11
jle 0x180004b0b
xor ebx, ebx
sub r9, r10
mov rcx, r10
xor edx, edx
cmp rdx, r8
je 0x180004b85
movzx eax, word [r9 + rcx]
cmp word [rcx], ax
jne 0x180004b70
inc rdx
add rcx, 2
jmp 0x180004b58
inc rbx
add r10, 2
sub r9, 2
cmp rbx, r11
jl 0x180004b53
mov r10, r12
jmp 0x180004bb2
test r10, r10
je 0x180004b0b
test rdi, rdi
je 0x180004b9a
mov rax, rdi
sub r10, rax
sar r10, 1
jmp 0x180004bb2
mov rax, r15
cmp qword [rbp - 0x18], 0
cmovne rax, qword [rbp - 0x28]
sub r10, rax
sar r10, 1
jmp 0x180004bb2
xor r10d, r10d
cmp r10d, 0xffffffff
jne 0x180004f5e
mov rcx, qword [rbp - 0x68]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
je 0x180004bce
mov rax, rdi
jmp 0x180004bdc
cmp qword [r14 + 0x48], 0
mov rax, r15
je 0x180004bdc
mov rax, qword [r14 + 0x38]
mov r15, qword [rbp + 0x48]
mov r13, qword [rbp + 0x38]
mov r14, qword [rbp + 0x18]
cmp word [rax], 0
jne 0x180004d1d
test rsi, rsi
je 0x180004bfc
mov r9, rsi
jmp 0x180004c0e
cmp qword [rcx + 0x48], 0
lea r9, [0x18005ec08]
je 0x180004c0e
mov r9, qword [rcx + 0x38]
test r14, r14
je 0x180004c2d
mov r10, r14
mov r11, r12
nop dword [rax]
inc r11
cmp word [r14 + r11*2], 0
jne 0x180004c20
jmp 0x180004c69
test r15, r15
jne 0x180004c5d
lea r10, [0x18005ec08]
xor r11d, r11d
test r9, r9
je 0x180004d10
cmp word [r9], 0
je 0x180004d10
test r11, r11
jne 0x180004c76
mov r10, r12
jmp 0x180004d13
mov r10, r13
mov r11, r15
shr r11, 1
dec r11
test r11, r11
jns 0x180004c3c
mov r10, r12
jmp 0x180004d13
mov r8, r12
nop dword [rax]
inc r8
cmp word [r9 + r8*2], 0
jne 0x180004c80
test r8, r8
jns 0x180004ca1
mov r8, r12
inc r8
cmp word [r9 + r8*2], 0
jne 0x180004c93
test r8, r8
jle 0x180004c6e
sub r11, r8
inc r11
test r11, r11
jle 0x180004c6e
xor ebx, ebx
sub r9, r10
mov rcx, r10
xor edx, edx
cmp rdx, r8
je 0x180004ce5
movzx eax, word [r9 + rcx]
cmp word [rcx], ax
jne 0x180004cd0
inc rdx
add rcx, 2
jmp 0x180004cb8
inc rbx
add r10, 2
sub r9, 2
cmp rbx, r11
jl 0x180004cb3
mov r10, r12
jmp 0x180004d13
test r10, r10
je 0x180004c6e
test r14, r14
je 0x180004cfa
mov rax, r14
sub r10, rax
sar r10, 1
jmp 0x180004d13
lea rax, [0x18005ec08]
test r15, r15
cmovne rax, r13
sub r10, rax
sar r10, 1
jmp 0x180004d13
xor r10d, r10d
cmp r10d, 0xffffffff
jne 0x180004f59
test rsi, rsi
jne 0x180004d3c
mov rdx, qword [rbp - 0x68]
cmp qword [rdx + 0x48], rsi
jne 0x180004d38
lea rbx, [0x18005ec08]
mov rsi, rbx
jmp 0x180004d43
mov rsi, qword [rdx + 0x38]
lea rbx, [0x18005ec08]
test r14, r14
je 0x180004d5d
mov r9, r14
mov r10, r12
nop
inc r10
cmp word [r14 + r10*2], 0
jne 0x180004d50
jmp 0x180004d94
test r15, r15
jne 0x180004d88
mov r9, rbx
xor r10d, r10d
test rsi, rsi
je 0x180004e2e
cmp word [rsi], 0
je 0x180004e2e
test r10, r10
jne 0x180004da1
mov r9, r12
jmp 0x180004e31
mov r9, r13
mov r10, r15
shr r10, 1
dec r10
test r10, r10
jns 0x180004d68
mov r9, r12
jmp 0x180004e31
mov r8, r12
inc r8
cmp word [rsi + r8*2], 0
jne 0x180004da4
test r8, r8
jns 0x180004dce
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x180004dc0
test r8, r8
jle 0x180004d99
sub r10, r8
inc r10
test r10, r10
jle 0x180004d99
xor r11d, r11d
sub rsi, r9
mov rcx, r9
xor edx, edx
cmp rdx, r8
je 0x180004e12
movzx eax, word [rsi + rcx]
cmp word [rcx], ax
jne 0x180004dfd
inc rdx
add rcx, 2
jmp 0x180004de6
inc r11
add r9, 2
sub rsi, 2
cmp r11, r10
jl 0x180004de1
mov r9, r12
jmp 0x180004e31
test r9, r9
je 0x180004d99
test r14, r14
jne 0x180004e26
mov r14, rbx
test r15, r15
cmovne r14, r13
sub r9, r14
sar r9, 1
jmp 0x180004e31
xor r9d, r9d
cmp r9d, 0xffffffff
je 0x180004f62
test rdi, rdi
jne 0x180004e57
mov rdi, qword [rbp + 0x110]
cmp qword [rdi + 0x48], 0
jne 0x180004e53
mov rdi, rbx
jmp 0x180004e57
mov rdi, qword [rdi + 0x38]
mov rsi, qword [rbp - 0x48]
test rsi, rsi
je 0x180004e7d
mov r10, rsi
mov r9, r12
nop word [rax + rax]
inc r9
cmp word [rsi + r9*2], 0
jne 0x180004e70
jmp 0x180004e9b
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x180004e8e
mov r10, rbx
xor r9d, r9d
jmp 0x180004ea4
mov r10, qword [rbp - 0x28]
mov r9, rax
shr r9, 1
dec r9
test r9, r9
js 0x180004f53
test rdi, rdi
je 0x180004f50
cmp word [rdi], 0
je 0x180004f50
test r9, r9
je 0x180004f53
mov r8, r12
inc r8
cmp word [rdi + r8*2], 0
jne 0x180004ec3
test r8, r8
jns 0x180004eee
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x180004ee0
test r8, r8
jle 0x180004f53
sub r9, r8
inc r9
test r9, r9
jle 0x180004f53
xor r11d, r11d
sub rdi, r10
mov rcx, r10
xor edx, edx
cmp rdx, r8
je 0x180004f2f
movzx eax, word [rdi + rcx]
cmp word [rcx], ax
jne 0x180004f1d
inc rdx
add rcx, 2
jmp 0x180004f06
inc r11
add r10, 2
sub rdi, 2
cmp r11, r9
jl 0x180004f01
jmp 0x180004f53
test r10, r10
je 0x180004f53
test rsi, rsi
jne 0x180004f45
cmp qword [rbp - 0x18], rsi
cmovne rbx, qword [rbp - 0x28]
mov rsi, rbx
mov r12, r10
sub r12, rsi
sar r12, 1
jmp 0x180004f53
xor r12d, r12d
cmp r12d, 0xffffffff
je 0x180004f62
mov r13, qword [rsp + 0x20]
xor esi, esi
jmp 0x180004f67
xor esi, esi
mov r13, rsi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rdi, vtable.CVolMem.0
mov qword [rbp - 0x40], rdi
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x180004f8e
lea rcx, [rbp - 0x40]
call qword [method.CWString.virtual_24]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
lea rbx, vtable.CVolObject.0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x60], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rbp + 0x20], rdi
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x180004fc9
lea rcx, [rbp + 0x20]
call qword [method.CWString.virtual_24]
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x20], rbx
mov qword [rbp], rbx
mov rax, r13
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.180038940
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret