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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x111124c]
mov esi, 0x111124c
cmp eax, esi
je 0x10e2565
test byte [eax + 0x1c], 1
je 0x10e2565
cmp byte [eax + 0x19], 4
jb 0x10e2565
push 0x1011210
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [0x111124c]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
cmp eax, esi
je 0x10e25a7
test byte [eax + 0x1c], 1
je 0x10e25a7
cmp byte [eax + 0x19], 4
jb 0x10e25a7
push dword [ebp + 0x10]
mov ebx, 0x1011210
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019e9a
jmp 0x10e25ac
mov ebx, 0x1011210
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.010f1d9d
mov edi, eax
test edi, edi
jge 0x10e25ec
mov eax, dword [0x111124c]
cmp eax, esi
je 0x10e286c
test byte [eax + 0x1c], 1
je 0x10e286c
cmp byte [eax + 0x19], 2
jb 0x10e286c
push edi
push ebx
push 0x36
jmp 0x10e285c
push 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.010e20a5
mov edi, eax
test edi, edi
jge 0x10e262e
mov eax, dword [0x111124c]
cmp eax, esi
je 0x10e286c
test byte [eax + 0x1c], 1
je 0x10e286c
cmp byte [eax + 0x19], 2
jb 0x10e286c
push edi
push ebx
push 0x37
jmp 0x10e285c
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, ebx
sbb edx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
mov edi, ecx
add edi, dword [ebp + 0xc]
mov esi, edx
adc esi, dword [ebp + 0x10]
sub eax, edi
sbb ebx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e26a2
test byte [eax + 0x1c], 1
je 0x10e26a2
cmp byte [eax + 0x19], 4
jb 0x10e26a2
push ebx
push dword [ebp - 0x20]
push esi
push edi
push edx
push ecx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1011210
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010e1965
mov eax, dword [0x111124c]
mov ecx, dword [ebp - 4]
cmp esi, ecx
jb 0x10e2746
ja 0x10e26b8
cmp edi, dword [ebp - 8]
jb 0x10e2746
mov ecx, 0x80780030
mov edi, ecx
cmp eax, 0x111124c
je 0x10e273d
test byte [eax + 0x1c], 1
je 0x10e26ea
cmp byte [eax + 0x19], 2
jb 0x10e26ea
push ecx
push 0x1011210
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e273d
test byte [eax + 0x1c], 1
je 0x10e2718
cmp byte [eax + 0x19], 2
jb 0x10e2718
push edi
push dword [ebp + 8]
push 0x1011210
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e273d
test byte [eax + 0x1c], 1
je 0x10e273d
cmp byte [eax + 0x19], 4
jb 0x10e273d
push 0x1011210
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
mov edx, dword [ebp - 8]
shrd edx, ecx, 3
shr ecx, 3
cmp ebx, ecx
ja 0x10e278a
jb 0x10e275b
cmp dword [ebp - 0x20], edx
jae 0x10e278a
mov ecx, 0x80780030
mov edi, ecx
cmp eax, 0x111124c
je 0x10e273d
test byte [eax + 0x1c], 1
je 0x10e26ea
cmp byte [eax + 0x19], 2
jb 0x10e26ea
push ecx
push 0x1011210
push 0x3a
jmp 0x10e26da
push 1
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.010e1cf8
mov edi, eax
test edi, edi
jge 0x10e27cf
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e286c
test byte [eax + 0x1c], 1
je 0x10e286c
cmp byte [eax + 0x19], 2
jb 0x10e286c
push edi
push 0x1011210
push 0x3b
jmp 0x10e285c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.010f1d9d
mov edi, eax
test edi, edi
jl 0x10e26e5
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0x10]
ja 0x10e2867
jb 0x10e2813
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
ja 0x10e2867
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, 0x3a98
jb 0x10e27d9
mov ecx, 0x8078005b
mov edi, ecx
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10e273d
test byte [eax + 0x1c], 1
je 0x10e26ea
cmp byte [eax + 0x19], 2
jb 0x10e26ea
push ecx
push 0x1011210
push 0x3c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
test edi, edi
jge 0x10e2718
jmp 0x10e26ea