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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x100a509c]
xor eax, esp
mov dword [esp + 0x128], eax
cmp dword [0x103c2c84], 1
push ebx
push esi
push edi
mov edi, ecx
jne 0x1003844d
cmp byte [0x1013ed0f], 1
jne 0x1003844d
mov eax, dword [0x2fb7ac4]
mov dword [eax + 0x1d20], 0xffff
mov byte [0x1013ed0f], 0
call fcn.10068b24
jmp 0x10038767
xor ebx, ebx
cmp dword [0x103c7830], 1
jne 0x10038503
push dword [0x103c7834]
call fcn.100387a5
mov esi, eax
pop ecx
mov dword [0x103c140c], esi
cmp esi, ebx
je 0x10038503
fld dword [esi]
call fcn.10082ff0
fld dword [esi + 8]
mov dword [0x103c1410], eax
call fcn.10082ff0
mov dword [0x103c1414], eax
mov eax, dword [esi + 0x20]
mov dword [0x103c1418], eax
mov eax, dword [0x10113488]
push fcn.100393e0
push 0x12c
add eax, 0x46
push eax
push dword [0x100ded8c]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
push ebx
push ebx
push ebx
mov dword [0x10111c14], ebx
mov dword [0x10111c0c], ebx
mov dword [0x10111788], 1
mov byte [0x1035ef23], bl
mov byte [0x1035ef24], bl
mov byte [0x1035ef25], bl
mov dword [0x101117c4], 4
call fcn.100393e0
push 0x100975a0
call fcn.100060fb
pop ecx
jmp 0x10038767
cmp edi, ebx
jne 0x10038649
cmp dword [0x103c2d5c], 1
jne 0x1003851a
mov dword [0x103bfb30], ebx
cmp dword [0x103c2d64], 1
jne 0x1003875d
cmp dword [0x103c2c88], 1
jne 0x1003875d
cmp dword [0x10111c14], ebx
jle 0x1003875d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
sub eax, dword [0x1035ed60]
cmp eax, 7
jb 0x1003875d
push 0x138a
push dword [0x103c2c10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xff
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov esi, dword [0x101117c4]
pop ecx
push 4
pop edi
push 1
mov dword [0x1035ede8], eax
mov dword [0x1035edf4], ebx
mov dword [0x101117c4], edi
call fcn.10037d26
pop ecx
mov dword [0x101117c4], esi
cmp eax, ebx
jne 0x100385c7
mov eax, dword [0x1035ee70]
mov dword [0x1035ede8], eax
jmp 0x10038767
mov eax, dword [0x2fb7ac4]
mov eax, dword [eax + 0x2a50]
cmp eax, 5
je 0x100385ec
cmp eax, edi
je 0x100385ec
cmp eax, 7
je 0x100385ec
mov dword [0x1035ee74], 0x32
jmp 0x100385f9
mov eax, dword [0x1035ee70]
add eax, 0xfffffff6
mov dword [0x1035ee74], eax
mov eax, dword [0x10113488]
push 0x10038d68
push 0x12c
add eax, 0x46
push eax
push dword [0x100ded8c]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x100975ac
mov dword [0x10111c14], ebx
mov dword [0x10111c0c], ebx
mov dword [0x10111788], 1
mov dword [0x1035ee78], ebx
mov dword [0x101117c4], edi
call fcn.100060fb
jmp 0x1003875c
push edi
call fcn.10039b8d
cmp dword [0x103c2d5c], 1
pop ecx
jne 0x1003866b
mov eax, dword [0x103bfb30]
mov dword [eax*4 + 0x103bf9a0], edi
inc dword [0x103bfb30]
mov eax, dword [edi*4 + 0x2fb7ae0]
push dword [eax + 0xc]
add eax, 0x360
push eax
push 0x100975b8
mov esi, 0x10111128
push esi
call dword [sym.imp.MSVCR100.dll_sprintf]
push esi
call fcn.100060fb
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0x2710
mov dword [0x101117f4], eax
call fcn.100383dc
cmp dword [0x103c4448], 1
jne 0x1003872a
xor edi, edi
lea esi, [esp + 0x10]
mov ecx, edi
call fcn.10006368
mov eax, esi
mov esi, dword [sym.imp.MSVCR100.dll_strcmp]
push 0x100975cc
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x100386f0
lea eax, [esp + 0x10]
push 0x100975d8
push eax
call esi
pop ecx
pop ecx
test eax, eax
je 0x100386f0
inc edi
cmp edi, 0x14
jl 0x100386b5
jmp 0x1003875d
cmp dword [esp + 0x28], ebx
jne 0x100386fe
push edi
call fcn.10039e20
jmp 0x1003875c
mov eax, dword [0x2f9af14]
mov esi, dword [eax + edi*4 + 0x53c]
mov dword [esi + 0x354], ebx
mov ecx, dword [0x103c4450]
push 0x37
dec ecx
call fcn.1003a1be
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x354], eax
jmp 0x1003875c
cmp byte [0x1035ef1b], bl
jne 0x1003874e
mov eax, dword [0x2f9af14]
mov ecx, dword [0x103c4450]
mov eax, dword [eax + ecx*4 + 0x538]
cmp eax, ebx
je 0x1003874e
mov dword [eax + 0x354], ebx
mov ecx, dword [0x103c4450]
push 0x37
dec ecx
call fcn.1003a1be
pop ecx
mov dword [0x10111788], 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10082395
mov esp, ebp
pop ebp
ret