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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x307809c], esi
je 0x1003f6b5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
xor edi, edi
inc edi
cmp dword [0x103cdab4], edi
jne 0x1003f2ce
call ebx
sub eax, dword [0x101127d8]
cmp eax, 0x7530
jbe 0x1003f2ce
call fcn.1003f013
call ebx
sub eax, dword [0x1035fd9c]
cmp eax, 0x2710
jae 0x1003f30f
call ebx
sub eax, dword [0x1035fd9c]
cmp eax, 0xbb8
jb 0x1003f30f
mov eax, dword [0x307809c]
cmp dword [eax + 0x2640], esi
je 0x1003f30f
push 4
call fcn.1003dd48
push 3
call fcn.1003dd48
pop ecx
pop ecx
mov dword [0x1035fd9c], esi
cmp dword [0x103ccd88], edi
jne 0x1003f361
cmp dword [0x1035fef4], edi
jne 0x1003f361
mov eax, dword [0x307809c]
cmp dword [eax + 0x2640], esi
jne 0x1003f339
cmp dword [0x101127c4], 2
jne 0x1003f361
push 3
jmp 0x1003f35b
cmp dword [0x101127c4], 2
je 0x1003f361
mov eax, dword [0xf359f0]
mov eax, dword [eax + 0x54c]
cmp eax, esi
je 0x1003f359
cmp dword [eax + 0xec4], esi
je 0x1003f361
push 4
call fcn.1003dd48
pop ecx
cmp dword [0x103c5810], edi
jne 0x1003f373
mov edi, 0x10098c94
call fcn.100693ad
mov eax, dword [0x307809c]
cmp dword [eax + 0x298c], esi
jle 0x1003f425
push 0x10098b38
call fcn.1000648e
pop ecx
test eax, eax
jne 0x1003f425
push 0x10098b40
call fcn.1000648e
pop ecx
test eax, eax
jne 0x1003f425
push 0x10098b1c
call fcn.1000648e
pop ecx
test eax, eax
jne 0x1003f425
push 0x10098b28
call fcn.1000648e
pop ecx
test eax, eax
jne 0x1003f425
push 0x10098b48
call fcn.1000648e
pop ecx
test eax, eax
jne 0x1003f425
cmp dword [0x1035fef4], 1
jne 0x1003f425
cmp dword [0x3592ee8], esi
jle 0x1003f425
call ebx
sub eax, dword [0x103c24b8]
cmp eax, 0x4e20
jb 0x1003f42c
mov eax, dword [0x307809c]
mov eax, dword [eax + 0x298c]
push esi
cmp eax, 6
jne 0x1003f40b
push 0xf468e
jmp 0x1003f41c
cmp eax, 7
jne 0x1003f417
push 0xf468d
jmp 0x1003f41c
push 0x92c0d
call fcn.1003c172
pop ecx
pop ecx
jmp 0x1003f42c
call ebx
mov dword [0x103c24b8], eax
cmp dword [0x103ccc60], 1
jne 0x1003f442
cmp dword [0x359aa20], esi
jne 0x1003f442
call fcn.1003c371
cmp dword [0x103c294c], 1
jne 0x1003f534
mov edi, 0x1008c810
call fcn.10006aa3
cmp eax, 1
jne 0x1003f485
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0x10098c9c
mov dword [0x1035fd2c], eax
call fcn.100060db
mov dword [esp], 0x100989ac
call fcn.1003b192
pop ecx
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
sub eax, dword [0x1035fd2c]
cmp eax, dword [0x103c297c]
jb 0x1003f503
mov eax, dword [0xf39a68]
mov eax, dword [eax + 0x444]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x33c]
or dword [ebp - 0x10], 0xffffffff
add eax, 0x344
push eax
lea esi, [ebp - 0x34]
call fcn.1006dc23
cmp dword [ebp - 0x10], 0
pop ecx
jl 0x1003f501
fld dword [0x1009eeec]
fcomp dword [ebp - 0x14]
fnstsw ax
test ah, 0x41
jne 0x1003f501
push 0
push 0x10098ca4
call fcn.100061e0
pop ecx
pop ecx
test al, al
jne 0x1003f501
push 0
push 0x10098cb0
call fcn.100061e0
pop ecx
pop ecx
xor esi, esi
call fcn.10006aa3
cmp eax, 1
jne 0x1003f534
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0x10098c9c
mov dword [0x1035fd2c], eax
call fcn.100060db
mov dword [esp], 0x100989ac
call fcn.1003b192
pop ecx
cmp dword [0x103c29a4], 1
jne 0x1003f6b3
mov edi, 0x1008c7f8
call fcn.10006aa3
cmp eax, 1
jne 0x1003f6b3
mov edi, 0x10098ca4
push edi
call fcn.1000648e
pop ecx
test eax, eax
jne 0x1003f574
mov edi, 0x10098cb0
push edi
call fcn.1000648e
pop ecx
test eax, eax
je 0x1003f581
push edi
call fcn.1000648e
mov edi, eax
pop ecx
cmp edi, esi
jne 0x1003f5ea
mov eax, dword [0xf39a68]
mov eax, dword [eax + 0x444]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x33c]
or dword [ebp - 0x10], 0xffffffff
add ebx, 0x344
push ebx
lea esi, [ebp - 0x34]
call fcn.1006dc23
cmp dword [ebp - 0x10], 0
pop ecx
jl 0x1003f6b3
call fcn.1003d42d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103c24b4], eax
xor eax, eax
push 0x10098cb8
mov dword [0x1035ff6c], eax
mov dword [0x1035ff70], eax
mov dword [0x10360114], eax
call fcn.100060db
pop ecx
jmp 0x1003f6b3
cmp dword [0x103c29a0], 1
jne 0x1003f6b3
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
sub eax, dword [0x10360114]
cmp eax, 0x70a
jb 0x1003f6b3
cmp dword [0x1035ff70], esi
jne 0x1003f6a3
cmp dword [0x1035ff6c], 1
je 0x1003f637
call ebx
sub eax, dword [0x103c24b4]
cmp eax, 0x2710
jb 0x1003f6b3
push 0x10098cc4
add edi, 0xf9
push edi
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x1003f6a3
mov eax, dword [0xf39a68]
mov eax, dword [eax + 0x444]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x33c]
or dword [ebp - 0x10], 0xffffffff
add ebx, 0x344
push ebx
lea esi, [ebp - 0x34]
call fcn.1006dc23
cmp dword [ebp - 0x10], 0
pop ecx
jl 0x1003f6b3
call fcn.1003d42d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [0x1035ff6c], 0
and dword [0x1035ff70], 0
mov dword [0x103c24b4], eax
jmp 0x1003f6b3
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [0x10360114], eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008344f
leave
ret