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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x103b9048], 1
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x2c], esi
jne 0x1005c670
cmp byte [0x10342a8e], 1
jne 0x1005c670
push esi
call fcn.1005a2ff
pop ecx
mov eax, dword [0x2f99f10]
mov eax, dword [eax + esi*4 + 0x53c]
xor ebx, ebx
cmp eax, ebx
je 0x1005c6b0
add eax, 0x64
push 0x1009ad6c
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x1005c6b0
mov eax, dword [0x2fb6ac4]
movzx eax, word [eax + 0x14]
push ebx
push eax
push esi
call fcn.1003812b
add esp, 0xc
jmp 0x1005c9c4
cmp byte [0x10342a72], 1
jne 0x1005c6c5
cmp esi, dword [0x1034292c]
jne 0x1005c9c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103428a8]
cmp eax, 0x7d0
jb 0x1005c6e5
cmp dword [0x103a8200], 1
je 0x1005c9c4
cmp dword [0x103a8394], 1
jne 0x1005c73d
mov eax, dword [0x2fb6ac4]
cmp dword [eax + 0x2a50], 5
jne 0x1005c73d
cmp dword [0x101123b0], 6
je 0x1005c73d
mov eax, dword [0x10112368]
cmp eax, dword [0x103a8780]
jge 0x1005c73d
xor edi, edi
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.100060a1
lea eax, [ebp - 0x24]
push 0x1009ad60
push eax
call sub.MSVCR100.dll_strcmp
add esp, 0x10
test eax, eax
je 0x1005c820
inc edi
cmp edi, 0x14
jl 0x1005c714
mov dword [0x103d27a0], ebx
cmp dword [0x103b64b8], ebx
jbe 0x1005c881
cmp dword [0x103b7564], 1
jne 0x1005c881
cmp byte [0x10342a8e], 1
jne 0x1005c881
cmp dword [0x34d52c4], ebx
jle 0x1005c881
mov eax, dword [0x2fb6ac4]
push 0xd730a0
push dword [eax + 0x1d20]
mov dword [ebp - 0x28], ebx
call fcn.1000631c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1005c804
mov esi, 0x103b1184
mov ecx, esi
xor edi, edi
call fcn.10001036
test eax, eax
jle 0x1005c801
mov eax, dword [0x103b1184]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
cmp eax, 9
je 0x1005c7c0
cmp eax, 0xa
je 0x1005c7c0
cmp eax, 0xb
jne 0x1005c7ef
mov eax, dword [0x103b1924]
movzx ecx, word [ebx + 0x14]
mov eax, dword [eax + edi*4]
cmp ecx, dword [eax]
jne 0x1005c7ef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x103b231c]
mov ecx, dword [ecx + edi*4]
sub eax, dword [ecx]
cmp eax, 0x4e20
jae 0x1005c7ef
mov dword [ebp - 0x28], 1
mov ecx, esi
inc edi
call fcn.10001036
cmp edi, eax
jl 0x1005c7a7
cmp dword [ebp - 0x28], 0
jne 0x1005c87c
mov esi, dword [ebp - 0x2c]
mov ecx, dword [0x2f99f10]
mov eax, dword [0x103b7560]
cmp dword [ecx + eax*4 + 0x53c], 0
je 0x1005c87f
mov dword [ebp - 0x2c], eax
mov esi, eax
jmp 0x1005c87f
cmp dword [0x103d27a0], ebx
jne 0x1005c86b
mov esi, dword [0x2fb6ac4]
fld dword [esi + 0x1f68]
call fcn.10083f90
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
push ecx
fstp dword [esp]
fld dword [esi + 0x1f60]
call fcn.10083f90
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
push ecx
fstp dword [esp]
call fcn.10038013
pop ecx
pop ecx
mov dword [0x103d27a0], 1
xor ebx, ebx
mov eax, dword [0x2fb6ac4]
movzx eax, word [eax + 0x14]
push ebx
push eax
push edi
jmp 0x1005c6a3
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
cmp byte [0x10342a70], 0
jne 0x1005c899
cmp dword [0x34d52c4], ebx
jne 0x1005c899
mov byte [0x10342a70], 1
cmp byte [0x10342a74], 1
je 0x1005c8aa
cmp dword [0x10342a50], ebx
jne 0x1005c8b1
mov byte [0x10342a70], 1
cmp dword [0x103a99b4], 1
jne 0x1005c8f7
cmp byte [0x10342a70], 0
jne 0x1005c8f7
cmp dword [0x34d52c4], ebx
jle 0x1005c8f7
mov ecx, dword [0x2f99f10]
mov eax, dword [0x103a99c4]
mov ecx, dword [ecx + eax*4 + 0x53c]
cmp ecx, ebx
je 0x1005c8f7
cmp dword [ecx + 0x354], ebx
jle 0x1005c8f2
mov byte [0x10342a70], 1
jmp 0x1005c8f7
mov dword [ebp - 0x2c], eax
mov esi, eax
cmp dword [0x103a8200], 1
je 0x1005c90b
cmp dword [ebp + 0xc], ebx
jg 0x1005c90b
push esi
jmp 0x1005c9be
cmp esi, 0xffffffff
jne 0x1005c923
push 0xffffffffffffffff
call fcn.1005c58f
mov byte [0x10342a73], 1
jmp 0x1005c9c3
mov eax, dword [0x2f99f10]
mov esi, dword [eax + esi*4 + 0x53c]
test esi, esi
je 0x1005c9c4
lea eax, [esi + 0x64]
push 0x10098680
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x1005c910
mov byte [0x10342a73], 0
mov eax, dword [0x2fb6ac4]
mov eax, dword [eax + 0x210]
test eax, eax
je 0x1005c9bb
mov eax, dword [eax]
add esi, 0x54
cmp eax, dword [esi]
jne 0x1005c9b6
call fcn.10037fa5
lea eax, [ebp - 0x14]
push 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xff
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
pushal
mov ecx, dword ds:[0x2fb6ac4]
push dword [ebp - 0x28]
mov eax, 0x6c05e0
call eax
popal
jmp 0x1005c9c4
call fcn.10037deb
push dword [ebp - 0x2c]
call fcn.1005c58f
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083e24
leave
ret