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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov eax, dword [0x103d237c]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.100398d9
push dword [0x103d2388]
call fcn.10037e0b
add esp, 0xc
test al, al
je 0x10059fd9
cmp byte [0x10342a87], 1
je 0x10059fd9
cmp byte [0x10342a89], 1
jne 0x1005a076
call edi
mov dword [0x103d278c], eax
mov eax, dword [0x10110464]
xor ecx, ecx
cmp eax, ebx
jle 0x1005a00d
mov edx, dword [0x103d237c]
mov edx, dword [edx + 0x20]
cmp dword [ecx*4 + 0x1010eb00], edx
je 0x1005a004
inc ecx
cmp ecx, eax
jl 0x10059ff4
jmp 0x1005a00d
lea eax, [ecx*4 + 0x1010fc94]
inc dword [eax]
push dword [0x103acda4]
call fcn.1005998a
mov esi, eax
pop ecx
mov dword [0x103d237c], esi
cmp esi, ebx
je 0x1005a109
fld dword [esi]
call fcn.10083f90
mov dword [0x103d2380], eax
fld dword [esi + 8]
call fcn.10083f90
mov dword [0x103d2384], eax
mov eax, dword [esi + 0x20]
push 0x1009aa38
mov dword [0x103d2388], eax
mov dword [0x10112374], 1
mov byte [0x10342a87], bl
mov byte [0x10342a88], bl
mov byte [0x10342a89], bl
call fcn.10006e54
pop ecx
jmp 0x10059fa1
fild dword [0x103d2384]
mov eax, dword [0x2fb6ac4]
sub esp, 0x10
fstp dword [esp + 0xc]
fild dword [0x103d2380]
fstp dword [esp + 8]
fld dword [eax + 0x1f68]
fstp dword [esp + 4]
fld dword [eax + 0x1f60]
fstp dword [esp]
call fcn.10006f97
fcomp dword [0x1009aa34]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x1005a0e3
fild dword [0x103d2384]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fild dword [0x103d2380]
fstp dword [esp]
call fcn.1003823d
add esp, 0xc
jmp 0x1005a2ee
call edi
sub eax, dword [0x103d278c]
cmp eax, 0x3e8
jb 0x1005a2ee
call edi
mov dword [0x103d278c], eax
mov byte [0x10342a89], 1
jmp 0x1005a2ee
push 0xffff
call fcn.1006dba0
mov eax, dword [0x103be1c0]
pop ecx
add eax, 0x46
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x103acda8]
cmp eax, 0x15
jne 0x1005a1db
cmp dword [0x10342a50], 1
jne 0x1005a2dd
mov eax, dword [0xe7b850]
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 sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x1005a1ec
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.100450fe
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
jle 0x1005a1ec
fld dword [ebp - 0x1c]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [ebp - 0x20]
fstp dword [esp + 8]
fld dword [0x10342918]
fstp dword [esp + 4]
fld dword [0x10342914]
fstp dword [esp]
call fcn.10006f97
fcomp dword [0x1009aa30]
add esp, 0x10
fnstsw ax
test ah, 0x41
jp 0x1005a1ec
push 1
push 0x10099714
mov dword [0x103429f8], ebx
call fcn.10005fbb
pop ecx
pop ecx
push 0x10048da9
jmp 0x1005a2ac
cmp eax, ebx
jne 0x1005a233
cmp dword [0x10342a50], 1
jne 0x1005a2dd
cmp dword [0x103a82c8], 1
push ebx
push ebx
push ebx
push ebx
jne 0x1005a20a
call fcn.1003da0d
push fcn.1003da0d
push 0x12c
jmp 0x1005a219
call fcn.10059763
push fcn.10059763
push 0x1f4
mov eax, dword [0x103be1c0]
add eax, 0x4d
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1005a2cd
cmp dword [0x10342a50], 1
jne 0x1005a2dd
mov dword [0x103429f8], ebx
mov esi, dword [0x2f98458]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.10005f8c
test eax, eax
je 0x1005a294
add esi, 0x53c
mov eax, dword [esi]
cmp eax, ebx
je 0x1005a27c
add eax, 0x64
push 0x10097564
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x1005a28e
inc dword [ebp - 0x38]
add esi, 4
call fcn.10005f8c
cmp dword [ebp - 0x38], eax
jb 0x1005a261
jmp 0x1005a294
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x103acda8]
push dword [ebp - 0x3c]
add eax, 9
push eax
call fcn.1003915d
pop ecx
pop ecx
push 0x10048e7a
mov eax, dword [0x103be1c0]
push 0x12c
add eax, 0x4d
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
call edi
mov dword [0x103d2378], eax
cmp dword [0x10342a50], 1
jne 0x1005a2dd
push 0x1009aa24
jmp 0x1005a2e2
push 0x1009aa14
mov byte [0x10342a96], bl
call fcn.10006e54
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083e24
leave
ret 0x10