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

Disassembly:
mov eax, dword [0x13199a0c]
sub esp, 0x888
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x12e70e82
cmp dword [0x13199068], ebp
je 0x12e7111b
push str.WaitDocCtrlW____ret0
push str.DocCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x888
ret
mov esi, dword [esp + 0x89c]
cmp esi, ebp
je 0x12e7111b
mov ebx, dword [esp + 0x8a0]
cmp ebx, ebp
je 0x12e7111b
push esi
call fcn.12f5c51d
add esp, 4
test eax, eax
je 0x12e7111b
push ebx
call fcn.12f5c51d
add esp, 4
test eax, eax
je 0x12e7111b
mov ecx, 0x105
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebp
rep stosd dword es:[edi], eax
push 0x103
lea eax, [esp + 0x24]
push esi
push eax
call fcn.12f5c57b
push 0x103
lea ecx, [esp + 0x238]
push ebx
push ecx
call fcn.12f5c57b
add esp, 0x18
mov ecx, 0x131ba9f8
call fcn.12e77900
test eax, eax
je 0x12e7111b
lea edx, [esp + 0x18]
mov ecx, 0x131ba9f8
push edx
push 0x12e71150
call fcn.12e77bd0
mov ecx, 0x131ba9f8
mov esi, eax
call fcn.12e77950
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0xffffffff
je 0x12e70f4b
cmp eax, dword [esp + 0x1c]
jae 0x12e70f4b
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x888
ret
mov ecx, 0x119
xor eax, eax
lea edi, [esp + 0x434]
mov dword [esp + 0x430], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push 0x103
lea ecx, [esp + 0x43c]
push eax
push ecx
call fcn.12f5c57b
lea edx, [esp + 0x234]
push 0x103
lea eax, [esp + 0x650]
push edx
push eax
call fcn.12f5c57b
add esp, 0x18
mov ecx, 0x131a9048
mov dword [esp + 0x430], 7
push ebx
call fcn.12e07070
lea ecx, [esp + 0x848]
mov dword [esp + 0x434], eax
push ecx
call fcn.12e71130
lea edx, [esp + 0x84c]
push edx
call fcn.12e703a0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x12e7111b
mov ecx, 0x131b94e0
call fcn.12e77900
test eax, eax
je 0x12e71114
lea eax, [esp + 0x430]
mov ecx, 0x131b94e0
push eax
call fcn.12e77c60
mov ecx, 0x131b94e0
mov esi, eax
call fcn.12e77950
cmp esi, 0xffffffff
je 0x12e71114
call fcn.12e6f380
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
push 0x1f4
push ebp
call ebx
mov esi, eax
cmp esi, 0x102
je 0x12e71044
test esi, esi
jne 0x12e71097
mov ecx, 0x131ba9f8
or edi, 0xffffffff
call fcn.12e77900
test eax, eax
je 0x12e71075
lea ecx, [esp + 0x18]
push ecx
push 0x12e71150
mov ecx, 0x131ba9f8
call fcn.12e77bd0
mov ecx, 0x131ba9f8
mov edi, eax
call fcn.12e77950
cmp esi, 0x102
jne 0x12e7108e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, 0xffffffff
je 0x12e71097
cmp eax, dword [esp + 0x1c]
jb 0x12e710cb
cmp edi, 0xffffffff
je 0x12e71097
test esi, esi
je 0x12e710cb
mov eax, dword [0x13199068]
test eax, eax
je 0x12e710b7
push 0
push esi
push str.WaitCtrlDifferWin10StoreApp___08x___d_
push str.WaitCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jb 0x12e7102e
jmp 0x12e710d3
mov dword [esp + 0x10], 1
mov eax, dword [0x13199068]
test eax, eax
je 0x12e710f6
mov edx, dword [esp + 0x10]
push edx
push esi
push str.WaitCtrlDifferWin10StoreApp___08x___d_
push str.WaitCtrl
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x10]
push ebp
test eax, eax
je 0x12e71115
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x888
ret
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x888
ret