Function at 0x1005c5f4
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 - 0x28], esi
jne 0x1005c626
cmp byte [0x10342a8e], 1
jne 0x1005c626
push esi
call fcn.1005a2b5
pop ecx
mov eax, dword [0x35f5df8]
mov eax, dword [eax + esi*4 + 0x53c]
xor ebx, ebx
cmp eax, ebx
je 0x1005c666
add eax, 0x64
push 0x1009ad2c
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x1005c666
mov eax, dword [0x36208e4]
movzx eax, word [eax + 0x14]
push ebx
push eax
push esi
call fcn.1003804a
add esp, 0xc
jmp 0x1005c956
cmp byte [0x10342a72], 1
jne 0x1005c67b
cmp esi, dword [0x1034292c]
jne 0x1005c956
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103428a8]
cmp eax, 0x7d0
jb 0x1005c69b
cmp dword [0x103a8200], 1
je 0x1005c956
cmp dword [0x103a8394], 1
jne 0x1005c6f3
mov eax, dword [0x36208e4]
cmp dword [eax + 0x2a58], 5
jne 0x1005c6f3
cmp dword [0x101123b0], 6
je 0x1005c6f3
mov eax, dword [0x10112368]
cmp eax, dword [0x103a8780]
jge 0x1005c6f3
xor edi, edi
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.1000601d
lea eax, [ebp - 0x24]
push 0x1009ad20
push eax
call sub.MSVCR100.dll_strcmp
add esp, 0x10
test eax, eax
je 0x1005c7d6
inc edi
cmp edi, 0x14
jl 0x1005c6ca
mov dword [0x103d2798], ebx
cmp dword [0x103b64b8], ebx
jbe 0x1005c837
cmp dword [0x103b7564], 1
jne 0x1005c837
cmp byte [0x10342a8e], 1
jne 0x1005c837
cmp dword [0x33d0934], ebx
jle 0x1005c837
mov eax, dword [0x36208e4]
push 0xaf6500
push dword [eax + 0x1d24]
mov dword [ebp - 0x2c], ebx
call fcn.10006298
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x1005c7ba
mov esi, 0x103b1184
mov ecx, esi
xor edi, edi
call fcn.100011d9
test eax, eax
jle 0x1005c7b7
mov eax, dword [0x103b1184]
mov eax, dword [eax + edi*4]
mov eax, dword [eax]
cmp eax, 9
je 0x1005c776
cmp eax, 0xa
je 0x1005c776
cmp eax, 0xb
jne 0x1005c7a5
mov eax, dword [0x103b1924]
movzx ecx, word [ebx + 0x14]
mov eax, dword [eax + edi*4]
cmp ecx, dword [eax]
jne 0x1005c7a5
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 0x1005c7a5
mov dword [ebp - 0x2c], 1
mov ecx, esi
inc edi
call fcn.100011d9
cmp edi, eax
jl 0x1005c75d
cmp dword [ebp - 0x2c], 0
jne 0x1005c832
mov esi, dword [ebp - 0x28]
mov ecx, dword [0x35f5df8]
mov eax, dword [0x103b7560]
cmp dword [ecx + eax*4 + 0x53c], 0
je 0x1005c835
mov dword [ebp - 0x28], eax
mov esi, eax
jmp 0x1005c835
cmp dword [0x103d2798], ebx
jne 0x1005c821
mov esi, dword [0x36208e4]
fld dword [esi + 0x1f6c]
call fcn.10083ba0
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
push ecx
fstp dword [esp]
fld dword [esi + 0x1f64]
call fcn.10083ba0
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
push ecx
fstp dword [esp]
call fcn.10037f32
pop ecx
pop ecx
mov dword [0x103d2798], 1
xor ebx, ebx
mov eax, dword [0x36208e4]
movzx eax, word [eax + 0x14]
push ebx
push eax
push edi
jmp 0x1005c659
mov esi, dword [ebp - 0x28]
xor ebx, ebx
cmp byte [0x10342a70], 0
jne 0x1005c84f
cmp dword [0x33d0934], ebx
jne 0x1005c84f
mov byte [0x10342a70], 1
cmp byte [0x10342a74], 1
je 0x1005c860
cmp dword [0x10342a50], ebx
jne 0x1005c867
mov byte [0x10342a70], 1
cmp dword [0x103a99b4], 1
jne 0x1005c8ad
cmp byte [0x10342a70], 0
jne 0x1005c8ad
cmp dword [0x33d0934], ebx
jle 0x1005c8ad
mov ecx, dword [0x35f5df8]
mov eax, dword [0x103a99c4]
mov ecx, dword [ecx + eax*4 + 0x53c]
cmp ecx, ebx
je 0x1005c8ad
cmp dword [ecx + 0x354], ebx
jle 0x1005c8a8
mov byte [0x10342a70], 1
jmp 0x1005c8ad
mov dword [ebp - 0x28], eax
mov esi, eax
cmp dword [0x103a8200], 1
je 0x1005c8c1
cmp dword [ebp + 0xc], ebx
jg 0x1005c8c1
push esi
jmp 0x1005c950
cmp esi, 0xffffffff
jne 0x1005c8d6
push 0xffffffffffffffff
call fcn.1005c545
mov byte [0x10342a73], 1
jmp 0x1005c955
mov eax, dword [0x35f5df8]
mov esi, dword [eax + esi*4 + 0x53c]
test esi, esi
je 0x1005c956
lea eax, [esi + 0x64]
push 0x10098640
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x1005c8c6
mov byte [0x10342a73], 0
mov eax, dword [0x36208e4]
mov eax, dword [eax + 0x214]
test eax, eax
je 0x1005c94d
mov eax, dword [eax]
cmp eax, dword [esi + 0x54]
jne 0x1005c948
call fcn.10037edd
pushal
mov esi, dword ds:[0x36208e4]
mov ecx, dword ds:[esi + 0x1d24]
mov edx, dword ds:[esi + 0x214]
push ecx
push edx
lea eax, ds:[esi + 0x1d2c]
push eax
mov ecx, esi
mov eax, 0x557d40
call eax
popal
jmp 0x1005c956
call fcn.10037d23
push dword [ebp - 0x28]
call fcn.1005c545
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083a34
leave
ret