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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x100a509c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov eax, dword [0x103c140c]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.1003ba65
push dword [0x103c1418]
call fcn.1003877c
add esp, 0xc
test al, al
je 0x10039437
cmp byte [0x1035ef23], 1
je 0x10039437
cmp byte [0x1035ef25], 1
jne 0x100394d4
call edi
mov dword [0x103d7808], eax
mov eax, dword [0x1010f8ac]
xor ecx, ecx
cmp eax, ebx
jle 0x1003946b
mov edx, dword [0x103c140c]
mov edx, dword [edx + 0x20]
cmp dword [ecx*4 + 0x1010df48], edx
je 0x10039462
inc ecx
cmp ecx, eax
jl 0x10039452
jmp 0x1003946b
lea eax, [ecx*4 + 0x1010f0dc]
inc dword [eax]
push dword [0x103c7834]
call fcn.100387a5
mov esi, eax
pop ecx
mov dword [0x103c140c], esi
cmp esi, ebx
je 0x10039567
fld dword [esi]
call fcn.10082ff0
fld dword [esi + 8]
mov dword [0x103c1410], eax
call fcn.10082ff0
mov dword [0x103c1414], eax
mov eax, dword [esi + 0x20]
push 0x100975a0
mov dword [0x103c1418], eax
mov dword [0x10111788], 1
mov byte [0x1035ef23], bl
mov byte [0x1035ef24], bl
mov byte [0x1035ef25], bl
call fcn.100060fb
pop ecx
jmp 0x100393ff
fild dword [0x103c1414]
mov eax, dword [0x2fb7ac4]
sub esp, 0x10
fstp dword [esp + 0xc]
fild dword [0x103c1410]
fstp dword [esp + 8]
fld dword [eax + 0x1f68]
fstp dword [esp + 4]
fld dword [eax + 0x1f60]
fstp dword [esp]
call fcn.1000640b
fcomp dword [0x1009daf4]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x10039541
fild dword [0x103c1414]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fild dword [0x103c1410]
fstp dword [esp]
call fcn.10039ece
add esp, 0xc
jmp 0x1003975b
call edi
sub eax, dword [0x103d7808]
cmp eax, 0x3e8
jb 0x1003975b
call edi
mov dword [0x103d7808], eax
mov byte [0x1035ef25], 1
jmp 0x1003975b
push 0xffff
call fcn.10039b8d
mov eax, dword [0x10113488]
pop ecx
add eax, 0x46
push eax
push dword [0x100ded8c]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x103c7838]
cmp eax, 0x15
jne 0x10039641
cmp dword [0x1035eef4], 1
jne 0x1003974a
mov eax, dword [0xe7c850]
mov eax, dword [eax + 0x444]
mov eax, dword [eax + 0x334]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x33c]
add esi, 0x344
push esi
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x10039652
or dword [esp + 0x38], 0xffffffff
push esi
lea esi, [esp + 0x18]
call fcn.1006cf2c
pop ecx
cmp dword [esp + 0x38], ebx
jle 0x10039652
fld dword [esp + 0x2c]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [esp + 0x38]
fstp dword [esp + 8]
fld dword [0x1035edc8]
fstp dword [esp + 4]
fld dword [0x1035edc4]
fstp dword [esp]
call fcn.1000640b
fcomp dword [0x1009daf0]
add esp, 0x10
fnstsw ax
test ah, 0x41
jp 0x10039652
push 1
push 0x10097450
mov dword [0x1035eea8], ebx
call fcn.10006200
pop ecx
pop ecx
push 0x1003923b
jmp 0x10039719
cmp eax, ebx
jne 0x10039699
cmp dword [0x1035eef4], 1
jne 0x1003974a
cmp dword [0x103c2d58], 1
push ebx
push ebx
push ebx
push ebx
jne 0x10039670
call fcn.10049457
push fcn.10049457
push 0x12c
jmp 0x1003967f
call fcn.10037595
push fcn.10037595
push 0x1f4
mov eax, dword [0x10113488]
add eax, 0x4d
push eax
push dword [0x100ded8c]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1003973a
cmp dword [0x1035eef4], 1
jne 0x1003974a
mov edx, dword [0x2f99460]
mov dword [0x1035eea8], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
call fcn.100061d1
test eax, eax
je 0x10039700
lea esi, [edx + 0x53c]
mov eax, dword [esi]
cmp eax, ebx
je 0x100396e4
add eax, 0x64
push 0x10096478
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x100396f8
inc dword [esp + 0xc]
add esi, 4
call fcn.100061d1
cmp dword [esp + 0xc], eax
jb 0x100396c9
jmp 0x10039700
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [0x103c7838]
push dword [esp + 0x10]
add eax, 9
push eax
call fcn.1003b257
pop ecx
pop ecx
push 0x1003930a
mov eax, dword [0x10113488]
push 0x12c
add eax, 0x4d
push eax
push dword [0x100ded8c]
call dword [sym.imp.USER32.dll_SetTimer]
call edi
mov dword [0x10127468], eax
cmp dword [0x1035eef4], 1
jne 0x1003974a
push 0x100975fc
jmp 0x1003974f
push 0x10097608
mov byte [0x1035ef32], bl
call fcn.100060fb
pop ecx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10082395
mov esp, ebp
pop ebp
ret 0x10