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

Disassembly:
mov eax, dword [0x1319990c]
sub esp, 0x888
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x12e70e72
cmp dword [0x13198f68], ebp
je 0x12e7110b
push 0x1311d314
push 0x1311d304
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 0x12e7110b
mov ebx, dword [esp + 0x8a0]
cmp ebx, ebp
je 0x12e7110b
push esi
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12e7110b
push ebx
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12e7110b
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.12f5c4ab
push 0x103
lea ecx, [esp + 0x238]
push ebx
push ecx
call fcn.12f5c4ab
add esp, 0x18
mov ecx, 0x131ba8f8
call fcn.12e778f0
test eax, eax
je 0x12e7110b
lea edx, [esp + 0x18]
mov ecx, 0x131ba8f8
push edx
push 0x12e71140
call fcn.12e77bc0
mov ecx, 0x131ba8f8
mov esi, eax
call fcn.12e77940
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0xffffffff
je 0x12e70f3b
cmp eax, dword [esp + 0x1c]
jae 0x12e70f3b
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.12f5c4ab
lea edx, [esp + 0x234]
push 0x103
lea eax, [esp + 0x650]
push edx
push eax
call fcn.12f5c4ab
add esp, 0x18
mov ecx, 0x131a8f48
mov dword [esp + 0x430], 7
push ebx
call fcn.12e07070
lea ecx, [esp + 0x848]
mov dword [esp + 0x434], eax
push ecx
call fcn.12e71120
lea edx, [esp + 0x84c]
push edx
call fcn.12e70390
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x12e7110b
mov ecx, 0x131b93e0
call fcn.12e778f0
test eax, eax
je 0x12e71104
lea eax, [esp + 0x430]
mov ecx, 0x131b93e0
push eax
call fcn.12e77c50
mov ecx, 0x131b93e0
mov esi, eax
call fcn.12e77940
cmp esi, 0xffffffff
je 0x12e71104
call fcn.12e6f370
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 0x12e71034
test esi, esi
jne 0x12e71087
mov ecx, 0x131ba8f8
or edi, 0xffffffff
call fcn.12e778f0
test eax, eax
je 0x12e71065
lea ecx, [esp + 0x18]
push ecx
push 0x12e71140
mov ecx, 0x131ba8f8
call fcn.12e77bc0
mov ecx, 0x131ba8f8
mov edi, eax
call fcn.12e77940
cmp esi, 0x102
jne 0x12e7107e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, 0xffffffff
je 0x12e71087
cmp eax, dword [esp + 0x1c]
jb 0x12e710bb
cmp edi, 0xffffffff
je 0x12e71087
test esi, esi
je 0x12e710bb
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e710a7
push 0
push esi
push 0x1311cd18
push 0x1311cd04
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jb 0x12e7101e
jmp 0x12e710c3
mov dword [esp + 0x10], 1
mov eax, dword [0x13198f68]
test eax, eax
je 0x12e710e6
mov edx, dword [esp + 0x10]
push edx
push esi
push 0x1311cd18
push 0x1311cd04
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
mov eax, dword [esp + 0x10]
push ebp
test eax, eax
je 0x12e71105
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