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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecaaf
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x134], esi
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x24]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x154], 0
push ebx
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x46c355
mov eax, dword [edi]
jmp 0x46c357
mov eax, edi
push 0
push 0x507250
mov ecx, edi
mov byte [eax], 0
call fcn.00409aa0
mov dword [edi + 0x18], 0
mov byte [ebp - 4], 1
push 0
push 0x507250
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.00409aa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
push 0
push 0x507250
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
call fcn.00409aa0
lea edi, [esi + 0x1c]
mov byte [ebp - 4], 4
mov eax, 2
mov dword [ebp - 0x150], edi
nop dword [eax]
dec eax
mov ecx, edi
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x144], eax
call fcn.00413070
mov edi, dword [edi]
mov esi, eax
mov dword [ebp - 0x14c], edi
cmp esi, edi
je 0x46c4b2
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
lea ebx, [edx + 0x10]
mov dword [ebp - 0x108], ebx
jb 0x46c433
mov edx, dword [edx]
mov ecx, dword [ebp - 0x144]
cmp dword [ecx + 0x14], 0x10
lea eax, [ecx + 0x10]
mov dword [ebp - 0x130], eax
jb 0x46c450
mov ecx, dword [ecx]
mov dword [ebp - 0x144], ecx
mov edi, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebx]
mov ebx, dword [edi]
cmp ebx, dword [ecx]
mov ecx, dword [ebp - 0x144]
cmovb eax, ebx
push eax
push edx
push ecx
call fcn.00413df0
mov edi, dword [ebp - 0x14c]
add esp, 0xc
mov ebx, dword [ebp - 0x12c]
test eax, eax
jne 0x46c4ab
mov ebx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x130]
mov eax, dword [ebx]
mov ecx, dword [edx]
mov ebx, dword [ebp - 0x12c]
cmp ecx, eax
jae 0x46c4a5
or eax, 0xffffffff
jmp 0x46c4ab
cmp eax, ecx
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x46c4b4
mov esi, edi
mov edi, dword [ebp - 0x150]
cmp esi, dword [edi]
jne 0x46c4f2
cmp dword [ebp - 0x90], 0
ja 0x46c4e2
mov esi, dword [ebp - 0x134]
mov ecx, esi
call fcn.0046dd10
mov ecx, esi
call fcn.0046e0a0
mov ecx, esi
call fcn.0046d4a0
mov eax, dword [ebp - 0x118]
test eax, eax
jne 0x46c3f0
jmp 0x46c554
mov esi, dword [ebp - 0x114]
lea eax, [ebp - 0x11c]
mov ecx, edi
push dword [esi]
push eax
call fcn.0046f050
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0xa0]
add eax, 0x58
cmp ecx, eax
je 0x46c525
push 0xffffffffffffffff
push 0
push eax
call fcn.00409640
push dword [esi]
lea eax, [ebp - 0x11c]
mov ecx, edi
push eax
call fcn.0046f050
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0xd0]
add eax, 0x88
cmp ecx, eax
je 0x46c554
push 0xffffffffffffffff
push 0
push eax
call fcn.00409640
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
push str._appxmanifest.xml
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00453e30
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
push 0
push 0x507250
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.00409aa0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x104]
call fcn.0042eec0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
push 0xc
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.Applications
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00403dd0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x104]
call fcn.0042fa00
push eax
lea ecx, [ebp - 0x140]
call fcn.00453dc0
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x46c67d
push dword [ebp - 0x124]
push eax
call fcn.00430440
mov ecx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x128]
sub ecx, eax
sar ecx, 3
push ecx
push eax
call fcn.0041a570
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x46c696
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403f40
mov eax, dword [ebp - 0x140]
mov edi, eax
cmp eax, dword [ebp - 0x13c]
je 0x46ca27
nop word [eax + eax]
push ecx
push edi
lea ecx, [ebp - 0x10c]
call fcn.00431170
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
push 0xb
push str.Application
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00409aa0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00413070
mov esi, eax
mov eax, dword [ebp - 0x10c]
cmp esi, eax
je 0x46c772
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
lea eax, [edx + 0x10]
mov dword [ebp - 0x114], eax
jb 0x46c711
mov edx, dword [edx]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov ebx, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0x114]
cmp ebx, dword [ecx]
mov ecx, dword [ebp - 0x118]
cmovb eax, ebx
push eax
push edx
push ecx
call fcn.00413df0
mov ebx, dword [ebp - 0x12c]
add esp, 0xc
test eax, eax
jne 0x46c765
mov edx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx]
cmp eax, ecx
jbe 0x46c761
or eax, 0xffffffff
jmp 0x46c765
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
mov eax, dword [ebp - 0x10c]
je 0x46c774
mov esi, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x118], eax
cmp ecx, 0x10
jb 0x46c797
lea eax, [ecx + 1]
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00409950
mov eax, dword [ebp - 0x10c]
cmp esi, dword [ebp - 0x118]
jne 0x46c7b1
push eax
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x150]
jmp 0x46c8fa
push 0xb
push str.Application
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00409aa0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
push 0xa
push 0x50a7d8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00409aa0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x58]
push 0xb
push str.Application
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00409aa0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00453f30
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x124]
push eax
mov esi, dword [esi + 0x28]
lea ecx, [ebp - 0x10c]
call fcn.00453f30
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14c]
add ecx, 0x28
push eax
call fcn.004129c0
cmp dword [eax], esi
mov eax, dword [ebp - 0x44]
sete byte [ebp - 0x10d]
cmp eax, 0x10
jb 0x46c88c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409950
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x46c8b3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409950
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x46c8de
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
cmp byte [ebp - 0x10d], 0
je 0x46c928
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x10c]
push eax
push dword [eax]
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00430270
push dword [ebp - 0x10c]
call fcn.0049fc80
add edi, 8
add esp, 4
cmp edi, dword [ebp - 0x13c]
jne 0x46c6b0
jmp 0x46ca27
push 0xa
push 0x50a7d8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00409aa0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x40]
push 0xb
push str.Application
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00409aa0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00453f30
mov ecx, dword [ebp - 0x124]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x124]
add ecx, 0x28
push eax
call fcn.004133d0
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0xb8]
add eax, 0x28
cmp ecx, eax
je 0x46c9be
push 0xffffffffffffffff
push 0
push eax
call fcn.00409640
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x46c9d3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409950
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x46c9fa
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0x10c]
push eax
push dword [eax]
lea eax, [ebp - 0x118]
push eax
call fcn.00430270
push dword [ebp - 0x10c]
call fcn.0049fc80
add esp, 4
push 0
push 0x507250
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00409aa0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x88]
push 0
push 0x507250
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00409aa0
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x158]
nop dword [eax]
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x28]
call fcn.00429b00
mov esi, eax
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x46cad6
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x46cab5
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409950
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
call fcn.00407610
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x46caef
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.00429b00
mov esi, eax
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x46cb36
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x46cb1b
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409950
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00407610
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x46cb4f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
push ecx
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.0041fb90
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x46cb66
mov eax, dword [eax]
mov ecx, eax
call fcn.00428120
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46cb85
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f40
push ecx
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.0041fb90
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x46cb9f
mov eax, dword [eax]
mov ecx, eax
call fcn.00428120
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 8
jb 0x46cbbd
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00403f40
mov eax, dword [edi + 0x18]
test eax, eax
je 0x46cbcc
test esi, esi
je 0x46cc01
test eax, eax
jne 0x46cbd0
test esi, esi
je 0x46cc14
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
sub eax, dword [ebp - 0x134]
sbb ecx, ecx
test ecx, ecx
jg 0x46cc14
jl 0x46ca80
cmp eax, 0x3a98
jae 0x46cc14
jmp 0x46ca80
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x46cc14
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00409640
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x46cc2f
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409950
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x46cc59
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409950
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0xec]
cmp eax, 0x10
jb 0x46cc93
inc eax
lea ecx, [ebp - 0x100]
push eax
push dword [ebp - 0x100]
call fcn.00409950
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xec], 0xf
mov dword [ebp - 0xf0], 0
mov byte [ebp - 0x100], 0
test ecx, ecx
je 0x46ccbe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x46ccdc
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00409950
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 0x10
jb 0x46cd15
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00409950
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], 0
mov byte [ebp - 0xe8], 0
test eax, eax
je 0x46cd5e
push dword [ebp - 0x13c]
push eax
call fcn.00430440
mov ecx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x138]
sub eax, ecx
sar eax, 3
push eax
push ecx
call fcn.0041a570
mov eax, dword [ebp - 0xbc]
cmp eax, 0x10
jb 0x46cd7c
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00409950
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
cmp eax, 0x10
jb 0x46cdb5
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00409950
push ebx
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 0xc