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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x100a509c]
xor eax, esp
mov dword [esp + 0x68], eax
cmp byte [0x1035ef0e], 1
push ebx
push esi
push edi
je 0x100474c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1012740c]
cmp eax, 0xea60
jbe 0x100474c7
mov edi, dword [0x2fb7ac4]
test edi, edi
je 0x100474c7
cmp dword [0x103c2d58], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
jl 0x100472c7
mov ecx, dword [edi + 0x1d20]
mov dword [esp + 0x10], ecx
jmp 0x100473c4
fldz
and dword [esp + 0x10], 0
fstp dword [esp + 0x1c]
mov ebx, 0x1035edf8
mov eax, dword [ebx]
test eax, eax
jle 0x1004739e
mov ecx, 0xd71444
call fcn.10006671
mov esi, eax
test esi, esi
je 0x1004739e
mov eax, dword [esi + 0x10a4]
fld dword [eax + 0x280]
sub esp, 0x10
fstp dword [esp + 0x24]
fld dword [eax + 0x288]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0xc]
fld dword [esp + 0x24]
fstp dword [esp + 8]
fld dword [edi + 0x1f68]
fstp dword [esp + 4]
fld dword [edi + 0x1f60]
fstp dword [esp]
call fcn.1000640b
fcomp dword [0x1009db0c]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x1004739e
mov eax, dword [esi + 0x3b0]
cmp eax, 0x2af9
jl 0x1004735e
cmp eax, 0x2b35
jle 0x1004739e
fild dword [esi + 0x5f4]
fidiv dword [esi + 0x610]
fstp dword [esp + 0x18]
fld dword [0x1009db08]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x1004739e
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x1004739e
fld dword [esp + 0x18]
mov eax, dword [ebx]
fstp dword [esp + 0x1c]
mov dword [esp + 0x10], eax
add ebx, 4
cmp ebx, 0x1035ee70
jl 0x100472d7
mov edx, dword [esp + 0x10]
test edx, edx
jle 0x100474c7
call fcn.1003a53a
mov eax, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], eax
jne 0x100474c7
xor ebx, ebx
lea esi, [esp + 0x20]
mov ecx, ebx
call fcn.10006368
xor esi, esi
cmp dword [0x103d5ec8], esi
jle 0x1004740d
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x103d5ec0]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x10047404
cmp dword [esp + 0x38], eax
je 0x10047418
inc esi
cmp esi, dword [0x103d5ec8]
jl 0x100473e5
inc ebx
cmp ebx, 0x14
jl 0x100473d0
jmp 0x100474c7
fld dword [edi + 0x1f68]
mov byte [0x1035ef0e], 1
call fcn.10082ff0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push ecx
fstp dword [esp]
fld dword [edi + 0x1f60]
call fcn.10082ff0
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push ecx
fstp dword [esp]
call fcn.1003996e
mov eax, dword [0x10113488]
pop ecx
pop ecx
push 0x1004170a
push 0x2bc
add eax, 0x47
push eax
push dword [0x100ded8c]
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x103c1420], eax
mov al, byte [0x1035ef1b]
push 0x4a
mov ecx, ebx
mov dword [0x1035eddc], ebx
mov byte [0x1035f9ae], al
mov byte [0x1035ef1b], 0
call fcn.1003a1be
pop ecx
call esi
mov dword [0x1012740c], eax
push 0x10
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x18]
call dword [sym.imp.MSVCR100.dll__itoa]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.100060fb
pop ecx
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10082395
mov esp, ebp
pop ebp
ret