Function at 0x10002bec
Capabilities:
Check for time delay via gettickcount
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x10005ad0]
xor edx, edx
mov edi, 0x3e8
div edi
cmp eax, 1
jae 0x10002c16
xor ebx, ebx
inc ebx
jmp 0x10002c24
call esi
sub eax, dword [0x10005ad0]
xor edx, edx
div edi
mov ebx, eax
mov edi, dword [0x10005ab8]
xor edx, edx
mov eax, edi
mov ecx, dword [0x10005ac0]
div ebx
mov dword [ebp - 8], eax
test edi, edi
je 0x10002c5d
cmp ecx, 0xffffffff
je 0x10002c5d
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, dword [0x10005ab8]
mov esi, eax
mov ecx, dword [0x10005ac0]
sub esi, ebx
jmp 0x10002c5f
xor esi, esi
xor eax, eax
mov dword [ebp - 4], 0x10005560
test esi, esi
push 0x3c
cmovs esi, eax
pop ebx
cmp esi, ebx
jl 0x10002c92
mov eax, esi
mov dword [ebp - 4], 0x100055a0
cdq
idiv ebx
mov esi, eax
cmp esi, ebx
jl 0x10002c92
cdq
idiv ebx
mov dword [ebp - 4], 0x100055c0
mov esi, eax
cmp ecx, 0xffffffff
je 0x10002c9e
mov ebx, ecx
shr ebx, 0xa
jmp 0x10002ca0
xor ebx, ebx
test ecx, ecx
je 0x10002cbd
cmp ecx, 0xffffffff
je 0x10002cbd
push ecx
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, dword [0x10005ab8]
mov ecx, eax
jmp 0x10002cbf
xor ecx, ecx
imul eax, dword [ebp - 8], 0xa
mov dword [ebp - 0xc], 0xa
shr edi, 0xa
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push edx
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
push eax
push ebx
push ecx
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, 0x10008430
push 0x10005600
push ebx
call edi
add esp, 0x1c
test esi, esi
je 0x10002d34
mov ecx, 0x100055e0
cmp esi, 1
mov eax, 0x10004150
cmovne eax, ecx
push eax
push dword [ebp - 4]
push esi
push 0x10005680
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, ebx
push eax
call edi
add esp, 0x14
cmp dword [0x10005ab8], 0
je 0x10002d48
cmp dword [0x10005ab4], 1
mov eax, ebx
jne 0x10002d4d
mov eax, 0x10005520
push eax
push 0x3e9
push dword [0x10005ae4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [0x10005ac0]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x10002da1
cmp eax, 0xffffffff
je 0x10002da1
push 0
push eax
push 0x190
push dword [0x10005ab8]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0x402
push 0x3ed
push dword [0x10005ae4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [0x10005828], 0
jne 0x10002dd2
push 0x5c
mov esi, 0x100056c8
push esi
call fcn.10001030
pop ecx
pop ecx
test eax, eax
je 0x10002dca
push 0x5c
push esi
call fcn.10001030
pop ecx
pop ecx
lea esi, [eax + 1]
push esi
push 0x100054e0
jmp 0x10002ddc
push 0x10005828
push 0x100042c0
push 0x10008430
call edi
add esp, 0xc
push 0x3ee
push dword [0x10005ae0]
call ebx
cmp byte [0x10005ad8], 0
mov esi, eax
jne 0x10002e38
test esi, esi
je 0x10002e38
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10002e38
push 0x400
mov edi, 0x10008830
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, 0x10008430
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10002e38
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret