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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x100a609c]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
xor ebx, ebx
inc ebx
push esi
push edi
cmp dword [0x103c2940], ebx
jne 0x1004122d
cmp dword [0x101127c4], 2
je 0x1004122d
cmp dword [0x1035fef4], ebx
jne 0x1004122d
mov eax, dword [0x3592ee8]
xor edi, edi
cmp eax, dword [0x103c2974]
jg 0x1004122f
push edi
push 0x10098f3c
mov dword [0x10112bec], 0xbb8
call fcn.1003788e
pop ecx
pop ecx
jmp 0x1004122f
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x103c321c], ebx
jne 0x10041393
call esi
mov ecx, dword [0x103d57d0]
sub eax, dword [0x1035fd90]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jbe 0x100414ea
mov ecx, dword [0x3592ee8]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fidiv dword [0x3592ef4]
fild dword [0x103c3214]
fdiv qword [0x1009edf0]
fcompp
fnstsw ax
test ah, 5
mov eax, dword [0x103c3218]
jp 0x10041293
cmp eax, edi
je 0x10041393
cmp ecx, dword [0x103c3214]
jl 0x100412a3
cmp eax, ebx
je 0x10041393
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x147
push dword [0x103c3188]
call esi
lea ecx, [esp + 0x10]
push ecx
push eax
mov ebx, 0x148
push ebx
push dword [0x103c3188]
call esi
lea eax, [esp + 0x10]
push eax
call fcn.10006437
pop ecx
test eax, eax
je 0x10041303
lea eax, [esp + 0x10]
push 0x10098f30
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x100412f5
push 1
jmp 0x100412f7
push 2
call fcn.100410e9
pop ecx
push edi
jmp 0x100414de
push edi
push edi
mov dword [esp + 0x14], edi
mov edi, 0x146
push edi
push dword [0x103c3188]
call esi
test eax, eax
jle 0x100414ea
lea eax, [esp + 0xd8]
push eax
push dword [esp + 0x10]
push ebx
push dword [0x103c3188]
call esi
lea eax, [esp + 0xd8]
push eax
call fcn.10006437
pop ecx
test eax, eax
jne 0x10041360
inc dword [esp + 0xc]
push eax
push eax
push edi
push dword [0x103c3188]
call esi
cmp dword [esp + 0xc], eax
jl 0x1004131f
jmp 0x100414ea
lea eax, [esp + 0xd8]
push 0x10098f30
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004137d
push 1
jmp 0x1004137f
push 2
call fcn.100410e9
pop ecx
push 0
lea eax, [esp + 0xdc]
jmp 0x100414e2
cmp dword [0x103c290c], ebx
jne 0x100414ea
call esi
mov ecx, dword [0x103d57d0]
sub eax, dword [0x1035fd90]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jbe 0x100414ea
mov ecx, dword [0x3592ee8]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fidiv dword [0x3592ef4]
fild dword [0x103c291c]
fdiv qword [0x1009edf0]
fcompp
fnstsw ax
test ah, 5
mov eax, dword [0x103c2924]
jp 0x100413f1
cmp eax, edi
je 0x100414ea
cmp ecx, dword [0x103c291c]
jl 0x10041401
cmp eax, ebx
je 0x100414ea
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x147
push dword [0x103c2c28]
call esi
lea ecx, [esp + 0xd8]
push ecx
push eax
mov ebx, 0x148
push ebx
push dword [0x103c2c28]
call esi
lea eax, [esp + 0xd8]
push eax
call fcn.10006437
pop ecx
test eax, eax
je 0x1004146a
lea eax, [esp + 0xd8]
push 0x10098f30
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x1004145c
push 1
jmp 0x1004145e
push 2
call fcn.100410e9
pop ecx
push edi
jmp 0x10041387
push edi
push edi
mov dword [esp + 0x14], edi
mov edi, 0x146
push edi
push dword [0x103c2c28]
call esi
test eax, eax
jle 0x100414ea
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push ebx
push dword [0x103c2c28]
call esi
lea eax, [esp + 0x10]
push eax
call fcn.10006437
pop ecx
test eax, eax
jne 0x100414ba
inc dword [esp + 0xc]
push eax
push eax
push edi
push dword [0x103c2c28]
call esi
cmp dword [esp + 0xc], eax
jl 0x10041482
jmp 0x100414ea
lea eax, [esp + 0x10]
push 0x10098f30
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x100414d4
push 1
jmp 0x100414d6
push 2
call fcn.100410e9
pop ecx
push 0
lea eax, [esp + 0x14]
push eax
call fcn.100061e0
pop ecx
pop ecx
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008344f
mov esp, ebp
pop ebp
ret