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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
inc esi
mov edi, ecx
mov dword [ebp - 0x28], edi
cmp dword [0x103d4d50], esi
jne 0x1003a992
cmp dword [0x1035ff94], esi
jne 0x1003a992
mov edx, edi
call fcn.1003a870
mov eax, dword [0x305b214]
mov eax, dword [eax + edi*4 + 0x53c]
xor ebx, ebx
cmp eax, ebx
je 0x1003a9d1
add eax, 0x64
push 0x1009894c
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x1003a9d1
mov eax, dword [0x307809c]
movzx eax, word [eax + 0x14]
push eax
push edi
xor ecx, ecx
call fcn.1003a23b
pop ecx
jmp 0x1003acef
cmp dword [0x1035ff24], esi
jne 0x1003a9e5
cmp edi, dword [0x1035fddc]
jne 0x1003acf0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1035fd48]
cmp eax, 0x7d0
jb 0x1003aa04
cmp dword [0x103c3d18], esi
je 0x1003acf0
cmp dword [0x103c3eac], esi
jne 0x1003aa5f
mov eax, dword [0x307809c]
cmp dword [eax + 0x2a60], 5
jne 0x1003aa5f
cmp dword [0x101127c4], 6
je 0x1003aa5f
mov eax, dword [0x1011277c]
cmp eax, dword [0x103c4298]
jge 0x1003aa5f
xor edi, edi
lea esi, [ebp - 0x24]
mov ecx, edi
call fcn.10006348
mov eax, esi
push 0x10098958
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1003ab96
inc edi
cmp edi, 0x14
jl 0x1003aa32
xor esi, esi
xor ebx, ebx
inc esi
mov dword [0x103d8a24], ebx
cmp dword [0x103d20c0], ebx
jbe 0x1003ab1c
cmp dword [0x103d31d4], esi
jne 0x1003ab1c
cmp dword [0x1035ff94], esi
jne 0x1003ab1c
cmp dword [0x3596844], ebx
jle 0x1003ab1c
mov eax, dword [0x307809c]
mov eax, dword [eax + 0x1d20]
mov ecx, 0xe26ae0
call fcn.10006651
mov edi, eax
cmp edi, ebx
je 0x1003abed
xor esi, esi
cmp dword [0x103ccd94], esi
jle 0x1003abe8
mov eax, dword [0x103ccd8c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp eax, 9
je 0x1003aadb
cmp eax, 0xa
je 0x1003aadb
cmp eax, 0xb
jne 0x1003ab06
mov eax, dword [0x103cd52c]
movzx ecx, word [edi + 0x14]
mov eax, dword [eax + esi*4]
cmp ecx, dword [eax]
jne 0x1003ab06
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x103cdf24]
mov ecx, dword [ecx + esi*4]
sub eax, dword [ecx]
cmp eax, 0x4e20
jae 0x1003ab06
xor ebx, ebx
inc ebx
inc esi
cmp esi, dword [0x103ccd94]
jl 0x1003aac2
xor esi, esi
test ebx, ebx
je 0x1003abea
xor ebx, ebx
inc esi
cmp dword [0x1035ff1c], ebx
jne 0x1003ab32
cmp dword [0x3596844], ebx
jne 0x1003ab32
mov dword [0x1035ff1c], esi
cmp dword [0x1035ff2c], esi
je 0x1003ab42
cmp dword [0x1035fef4], ebx
jne 0x1003ab48
mov dword [0x1035ff1c], esi
cmp dword [0x103c54cc], esi
jne 0x1003ac10
cmp dword [0x1035ff1c], ebx
jne 0x1003ac10
cmp dword [0x3596844], ebx
jle 0x1003ac10
mov ecx, dword [0x305b214]
mov eax, dword [0x103c54dc]
mov ecx, dword [ecx + eax*4 + 0x53c]
cmp ecx, ebx
je 0x1003ac10
cmp dword [ecx + 0x354], ebx
jle 0x1003ac0d
mov dword [0x1035ff1c], esi
jmp 0x1003ac10
cmp dword [0x103d8a24], ebx
jne 0x1003a9b9
mov esi, dword [0x307809c]
fld dword [esi + 0x1f74]
call fcn.100840a0
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
push ecx
fstp dword [esp]
fld dword [esi + 0x1f6c]
call fcn.100840a0
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
push ecx
fstp dword [esp]
call fcn.1003a10c
pop ecx
pop ecx
mov dword [0x103d8a24], 1
jmp 0x1003a9b9
xor esi, esi
xor ebx, ebx
inc esi
mov ecx, dword [0x305b214]
mov eax, dword [0x103d31d0]
cmp dword [ecx + eax*4 + 0x53c], ebx
je 0x1003ab1c
mov dword [ebp - 0x28], eax
jmp 0x1003ab1c
mov dword [ebp - 0x28], eax
cmp dword [0x103c3d18], esi
je 0x1003ac21
cmp dword [ebp + 8], ebx
jle 0x1003ace7
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
jne 0x1003ac3a
push eax
call fcn.1003a5c2
mov dword [0x1035ff28], esi
jmp 0x1003acef
mov ecx, dword [0x305b214]
mov esi, dword [ecx + eax*4 + 0x53c]
test esi, esi
je 0x1003acf0
lea eax, [esi + 0x64]
push 0x10098944
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x1003ac77
push 0xffffffffffffffff
call fcn.1003a5c2
mov dword [0x1035ff28], 1
jmp 0x1003acef
and dword [0x1035ff28], 0
mov eax, dword [0x307809c]
mov eax, dword [eax + 0x210]
test eax, eax
je 0x1003ace7
mov eax, dword [eax]
add esi, 0x54
cmp eax, dword [esi]
jne 0x1003ace2
call fcn.1003a0b9
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:[0x307809c]
push dword [ebp - 0x28]
mov eax, 0x701180
call eax
popal
jmp 0x1003acf0
call fcn.10038b91
push dword [ebp - 0x28]
call fcn.1003a5c2
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret