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

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x1c0
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
lea rdi, [rbp + 0xb0]
xor eax, eax
stosq qword [rdi], rax
stosq qword [rdi], rax
stosq qword [rdi], rax
lea rdi, [rbp + 0x80]
xor eax, eax
stosq qword [rdi], rax
stosq qword [rdi], rax
stosq qword [rdi], rax
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x198], 0
mov qword [rbp + 0x190], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x180], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x1b8], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x158], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0xc8], rbp
mov qword [rbp + 0x1e0], rcx
mov qword [rbp + 0x1e8], rdx
mov rcx, qword [rbp + 0x1e8]
call fcn.00410040
nop
mov dword [rbp + 0x1a8], 0
nop
lea rcx, [rbp + 0x198]
call fcn.0040ff30
mov rcx, qword [rbp + 0x1e8]
mov rdx, rax
mov rax, qword [rbp + 0x1e8]
mov rax, qword [rax]
call qword [rax + 0x90]
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x124]
test eax, 0x80000000
sete al
mov byte [rbp + 0x123], al
cmp byte [rbp + 0x123], 0
je 0x4fef43
cmp qword [rbp + 0x198], 0
je 0x4fef43
lea rcx, [rbp + 0x190]
call fcn.0040ff30
mov rcx, qword [rbp + 0x198]
mov rdx, qword [0x00545ee0]
mov r8, rax
mov rax, qword [rbp + 0x198]
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0x11c], eax
mov eax, dword [rbp + 0x11c]
test eax, 0x80000000
sete al
mov byte [rbp + 0x11b], al
cmp byte [rbp + 0x11b], 0
je 0x4fef43
cmp qword [rbp + 0x190], 0
je 0x4fef43
lea rcx, [rbp + 0x188]
call fcn.0040ff30
mov rcx, qword [rbp + 0x198]
mov rdx, qword [0x00545b60]
mov r8, rax
mov rax, qword [rbp + 0x198]
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0x114], eax
mov eax, dword [rbp + 0x114]
test eax, 0x80000000
sete al
mov byte [rbp + 0x113], al
cmp byte [rbp + 0x113], 0
je 0x4fef43
cmp qword [rbp + 0x188], 0
je 0x4fef43
lea rcx, [rbp + 0x180]
call fcn.0040ff30
mov rcx, qword [rbp + 0x190]
mov rdx, rax
mov rax, qword [rbp + 0x190]
mov rax, qword [rax]
call qword [rax + 0x48]
mov dword [rbp + 0x10c], eax
mov eax, dword [rbp + 0x10c]
test eax, 0x80000000
sete al
mov byte [rbp + 0x10b], al
cmp byte [rbp + 0x10b], 0
je 0x4fef43
cmp qword [rbp + 0x180], 0
je 0x4fef43
lea rcx, [rbp + 0x170]
call fcn.0040ff30
mov rcx, qword [rbp + 0x180]
mov rdx, qword [0x00545fd0]
mov r8, rax
mov rax, qword [rbp + 0x180]
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
test eax, 0x80000000
sete al
mov byte [rbp + 0x103], al
cmp byte [rbp + 0x103], 0
je 0x4fef43
cmp qword [rbp + 0x170], 0
je 0x4fef43
lea rcx, [rbp + 0x1b0]
call fcn.0040ff30
mov rcx, qword [rbp + 0x170]
mov rdx, rax
mov rax, qword [rbp + 0x170]
mov rax, qword [rax]
call qword [rax + 0x148]
mov dword [rbp + 0xfc], eax
mov eax, dword [rbp + 0xfc]
test eax, 0x80000000
sete al
mov byte [rbp + 0xfb], al
cmp byte [rbp + 0xfb], 0
je 0x4fef43
cmp qword [rbp + 0x1b0], 0
je 0x4fef43
lea rcx, [rbp + 0x158]
call fcn.0040ff30
mov rcx, qword [rbp + 0x188]
lea rdx, [0x004ff300]
mov r8, rax
mov rax, qword [rbp + 0x188]
mov rax, qword [rax]
call qword [rax + 0x168]
mov rcx, qword [rbp + 0x158]
lea rdx, [rbp + 0x154]
mov rax, qword [rbp + 0x158]
mov rax, qword [rax]
call qword [rax + 0x48]
mov eax, dword [rbp + 0x154]
sub eax, 1
mov dword [rbp + 0x150], eax
cmp dword [rbp + 0x150], 0
jl 0x4fe8cd
lea rcx, [rbp + 0x178]
call fcn.0040ff30
lea rcx, [rbp + 0x138]
call fcn.0040ff30
lea rcx, [rbp + 0xb0]
mov edx, dword [rbp + 0x150]
mov r8, 0xfffffffffffffffc
call fcn.004411e0
lea rdi, [rbp + 0x98]
lea rsi, [rbp + 0xb0]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rcx, [rbp + 0x80]
xor rdx, rdx
mov r8d, 1
call fcn.004411e0
lea rdi, [rbp + 0x68]
lea rsi, [rbp + 0x80]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rcx, [rbp + 0x1a0]
call fcn.0040ff30
mov rcx, qword [rbp + 0x158]
lea rdx, [rbp + 0x98]
lea r8, [rbp + 0x68]
mov r9, rax
mov rax, qword [rbp + 0x158]
mov rax, qword [rax]
call qword [rax + 0x58]
mov dword [rbp + 0xf4], eax
mov eax, dword [rbp + 0xf4]
test eax, 0x80000000
sete al
mov byte [rbp + 0xf3], al
cmp byte [rbp + 0xf3], 0
je 0x4fe8b9
lea rcx, [rbp + 0x138]
call fcn.0040ff30
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [0x00545ba0]
mov r8, rax
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0xec], eax
mov eax, dword [rbp + 0xec]
test eax, 0x80000000
sete al
mov byte [rbp + 0xeb], al
cmp byte [rbp + 0xeb], 0
je 0x4fe828
lea rcx, [rbp + 0x140]
call fcn.0040ff30
mov rcx, qword [rbp + 0x138]
xor rdx, rdx
mov r8, rax
mov rax, qword [rbp + 0x138]
mov rax, qword [rax]
call qword [rax + 0x80]
lea rcx, [rbp + 0x140]
call fcn.0040ff30
jmp 0x4fe8b9
lea rcx, [rbp + 0x178]
call fcn.0040ff30
mov rcx, qword [rbp + 0x1a0]
mov rdx, qword [0x00545870]
mov r8, rax
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
test eax, 0x80000000
sete al
mov byte [rbp + 0xe3], al
cmp byte [rbp + 0xe3], 0
je 0x4fe8b9
lea rcx, [rbp + 0x160]
call fcn.0040aae0
mov rcx, qword [rbp + 0x178]
mov rdx, rax
mov rax, qword [rbp + 0x178]
mov rax, qword [rax]
call qword [rax + 0x1d0]
mov rcx, qword [rbp + 0x178]
mov rdx, qword [rbp + 0x160]
mov rax, qword [rbp + 0x178]
mov rax, qword [rax]
call qword [rax + 0x1e8]
sub dword [rbp + 0x150], 1
cmp dword [rbp + 0x150], 0xffffffff
jne 0x4fe6df
nop
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0x108]
mov rcx, rbp
neg rcx
cmp dword [rax + rcx], 0
jge 0x4fe938
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
add rcx, 0x288
call fcn.0040aa40
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
add rcx, 0x290
call fcn.0040aa40
jmp 0x4fef43
lea rcx, [rbp + 0x1b8]
call fcn.0040ff30
mov rcx, qword [rbp + 0x1b0]
mov rdx, rax
mov rax, qword [rbp + 0x1b0]
mov rax, qword [rax]
call qword [rax + 0x58]
call sub.kernel32.dll_GetTickCount_1
mov dword [rbp + 0x16c], eax
mov rcx, qword [rbp + 0x1b0]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x1ae]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x1b0]
mov rax, qword [rax]
call qword [rax + 0xc8]
jmp 0x4feea5
nop
lea rcx, [rbp + 0x60]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040c5d0
lea rcx, [rbp + 0x50]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf8]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.004fc170
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.004266b0
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
call fcn.0040ca90
test eax, eax
je 0x4fea47
mov dword [rbp + 0x1a8], 0xffffffff
xor rcx, rcx
mov rdx, qword [rbp + 0xc8]
call fcn.004ff050
jmp 0x4fef43
lea rcx, [rbp + 0x130]
call fcn.0040ff30
mov rcx, qword [rbp + 0x180]
mov rdx, qword [0x005460b8]
mov r8, rax
mov rax, qword [rbp + 0x180]
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0xdc], eax
mov eax, dword [rbp + 0xdc]
test eax, 0x80000000
sete al
mov byte [rbp + 0xdb], al
cmp byte [rbp + 0xdb], 0
jne 0x4feaa8
xor rcx, rcx
mov rdx, qword [rbp + 0xc8]
call fcn.004ff050
jmp 0x4feea5
lea rcx, [rbp + 0x128]
call fcn.0040ff30
mov rcx, qword [rbp + 0x130]
mov rdx, rax
mov rax, qword [rbp + 0x130]
mov rax, qword [rax]
call qword [rax + 0x308]
mov dword [rbp + 0xd4], eax
mov eax, dword [rbp + 0xd4]
test eax, 0x80000000
sete al
mov byte [rbp + 0xd3], al
cmp byte [rbp + 0xd3], 0
jne 0x4feb06
xor rcx, rcx
mov rdx, qword [rbp + 0xc8]
call fcn.004ff050
jmp 0x4feea5
cmp qword [rbp + 0x128], 0
jne 0x4feb24
xor rcx, rcx
mov rdx, qword [rbp + 0xc8]
call fcn.004ff050
jmp 0x4feea5
lea rcx, [rbp + 0x160]
call fcn.0040aae0
mov rcx, qword [rbp + 0x128]
mov rdx, rax
mov rax, qword [rbp + 0x128]
mov rax, qword [rax]
call qword [rax + 0x420]
mov rcx, qword [rbp + 0x160]
lea rdx, [0x004ff34c]
call fcn.0040c300
test eax, eax
jne 0x4feb75
xor rcx, rcx
mov rdx, qword [rbp + 0xc8]
call fcn.004ff050
jmp 0x4feea5
lea rcx, [rbp + 0x160]
call fcn.0040aae0
mov rcx, qword [rbp + 0x128]
mov rdx, rax
mov rax, qword [rbp + 0x128]
mov rax, qword [rax]
call qword [rax + 0x430]
mov rcx, qword [rbp + 0x160]
lea rdx, [0x004ff35c]
call fcn.0040c300
test eax, eax
jne 0x4febc6
xor rcx, rcx
mov rdx, qword [rbp + 0xc8]
call fcn.004ff050
jmp 0x4feea5
mov rcx, qword [rbp + 0x160]
lea rdx, [0x004ff370]
call fcn.0040c300
test eax, eax
jne 0x4fec01
mov rcx, qword [rbp + 0x180]
call fcn.004fc300
test al, al
je 0x4fec01
xor rcx, rcx
mov rdx, qword [rbp + 0xc8]
call fcn.004ff050
jmp 0x4feea5
add dword [rbp + 0x1a8], 1
lea rcx, [rbp + 0x160]
call fcn.0040aae0
mov rcx, qword [rbp + 0x1b0]
mov rdx, rax
mov rax, qword [rbp + 0x1b0]
mov rax, qword [rax]
call qword [rax + 0x48]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xd7]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
je 0x4fed4c
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xd7]
mov rcx, rbp
neg rcx
mov byte [rax + rcx], 0
lea rcx, [rbp + 0x160]
mov edx, 3
lea r8, [0x004ff384]
mov r9, qword [rbp + 0x160]
lea rax, [0x004ff428]
mov qword [rsp + 0x20], rax
call fcn.0040c200
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rcx, rbp
neg rcx
mov rcx, qword [rax + rcx]
add rcx, 0x288
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040c5d0
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov dword [rax + 0x298], 0
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov dword [rax + 0x29c], 1
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rcx, rbp
neg rcx
mov rax, qword [rax + rcx]
mov rcx, qword [rbp + 0x1e0]
lea rcx, [rcx + rbp + 0xd0]
mov rdx, rbp
neg rdx
mov ecx, dword [rcx + rdx]
mov dword [rax + 0x2a0], ecx
jmp 0x4fedc1
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0x100]
mov rcx, rbp
neg rcx
cmp byte [rax + rcx], 0
je 0x4fed95
lea rcx, [rbp + 0x160]
mov edx, 3
lea r8, [0x004ff43c]
mov r9, qword [rbp + 0x160]
lea rax, [0x004ff428]
mov qword [rsp + 0x20], rax
call fcn.0040c200
jmp 0x4fedc1
lea rcx, [rbp + 0x160]
mov edx, 3
lea r8, [0x004ff4e0]
mov r9, qword [rbp + 0x160]
lea rax, [0x004ff428]
mov qword [rsp + 0x20], rax
call fcn.0040c200
mov rcx, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x160]
mov rax, qword [rbp + 0x1b0]
mov rax, qword [rax]
call qword [rax + 0xa8]
call sub.kernel32.dll_GetTickCount_1
mov ecx, dword [rbp + 0x16c]
add ecx, 0x1f4
cmp ecx, eax
jae 0x4fee1a
jmp 0x4fee06
call sub.kernel32.dll_GetCurrentThread
mov rcx, rax
xor rdx, rdx
call sub.kernel32.dll_WaitForSingleObject
call fcn.0048f2d0
test al, al
jne 0x4fedf6
call sub.kernel32.dll_GetTickCount_1
mov dword [rbp + 0x16c], eax
nop
mov rcx, qword [rbp + 0x1b8]
lea rdx, [0x004ff540]
mov r8, qword [rbp + 0x1b0]
mov rax, qword [rbp + 0x1b8]
mov rax, qword [rax]
call qword [rax + 0xb8]
lea rcx, [rbp + 0x1b0]
call fcn.0040ff30
mov rcx, qword [rbp + 0x1b8]
mov rdx, rax
mov rax, qword [rbp + 0x1b8]
mov rax, qword [rax]
call qword [rax + 0x58]
mov rcx, qword [rbp + 0x1b0]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x1ae]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x1b0]
mov rax, qword [rax]
call qword [rax + 0xc8]
cmp word [rbp + 0x1ae], 0
jne 0x4fe9ad
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xd8]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
call fcn.0040c5d0
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf0]
mov rdx, rbp
neg rdx
mov rdx, qword [rax + rdx]
mov rax, qword [rbp + 0x1e0]
lea rax, [rax + rbp + 0xf8]
mov r8, rbp
neg r8
mov r8, qword [rax + r8]
call fcn.004fc170
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
call fcn.004266b0
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
call fcn.0040ca90
test eax, eax
je 0x4fef42
mov dword [rbp + 0x1a8], 0xffffffff
jmp 0x4fef42
nop
lea rcx, [rbp + 0x38]
mov edx, 6
call fcn.0040ab20
lea rcx, [rbp + 0x80]
call fcn.00439a40
lea rcx, [rbp + 0xb0]
call fcn.00439a40
lea rcx, [rbp + 0x128]
call fcn.0040ff30
lea rcx, [rbp + 0x130]
call fcn.0040ff30
lea rcx, [rbp + 0x138]
mov rdx, qword [0x004c2c98]
mov r8d, 2
call fcn.0040d3f0
lea rcx, [rbp + 0x158]
call fcn.0040ff30
lea rcx, [rbp + 0x160]
call fcn.0040aae0
lea rcx, [rbp + 0x170]
call fcn.0040ff30
lea rcx, [rbp + 0x178]
mov rdx, qword [0x004c2c50]
mov r8d, 2
call fcn.0040d3f0
lea rcx, [rbp + 0x188]
call fcn.0040ff30
lea rcx, [rbp + 0x190]
call fcn.0040ff30
lea rcx, [rbp + 0x198]
mov rdx, qword [0x00402270]
mov r8d, 2
call fcn.0040d3f0
lea rcx, [rbp + 0x1b0]
mov rdx, qword [0x004c2ce0]
mov r8d, 2
call fcn.0040d3f0
lea rcx, [rbp + 0x1e8]
call fcn.0040ff30
mov eax, dword [rbp + 0x1a8]
lea rsp, [rbp + 0x1c0]
pop rsi
pop rdi
pop rbp
ret