Function at 0x10059f3c
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 [0x103d2374]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.100397d9
push dword [0x103d2380]
call fcn.10037d43
add esp, 0xc
test al, al
je 0x10059f8f
cmp byte [0x10342a87], 1
je 0x10059f8f
cmp byte [0x10342a89], 1
jne 0x1005a02c
call edi
mov dword [0x103d2784], eax
mov eax, dword [0x10110464]
xor ecx, ecx
cmp eax, ebx
jle 0x10059fc3
mov edx, dword [0x103d2374]
mov edx, dword [edx + 0x20]
cmp dword [ecx*4 + 0x1010eb00], edx
je 0x10059fba
inc ecx
cmp ecx, eax
jl 0x10059faa
jmp 0x10059fc3
lea eax, [ecx*4 + 0x1010fc94]
inc dword [eax]
push dword [0x103acda4]
call fcn.10059940
mov esi, eax
pop ecx
mov dword [0x103d2374], esi
cmp esi, ebx
je 0x1005a0bf
fld dword [esi]
call fcn.10083ba0
mov dword [0x103d2378], eax
fld dword [esi + 8]
call fcn.10083ba0
mov dword [0x103d237c], eax
mov eax, dword [esi + 0x20]
push 0x1009a9f8
mov dword [0x103d2380], eax
mov dword [0x10112374], 1
mov byte [0x10342a87], bl
mov byte [0x10342a88], bl
mov byte [0x10342a89], bl
call fcn.10006dd0
pop ecx
jmp 0x10059f57
fild dword [0x103d237c]
mov eax, dword [0x36208e4]
sub esp, 0x10
fstp dword [esp + 0xc]
fild dword [0x103d2378]
fstp dword [esp + 8]
fld dword [eax + 0x1f6c]
fstp dword [esp + 4]
fld dword [eax + 0x1f64]
fstp dword [esp]
call fcn.10006f13
fcomp dword [0x1009a9f4]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x1005a099
fild dword [0x103d237c]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fild dword [0x103d2378]
fstp dword [esp]
call fcn.1003815c
add esp, 0xc
jmp 0x1005a2a4
call edi
sub eax, dword [0x103d2784]
cmp eax, 0x3e8
jb 0x1005a2a4
call edi
mov dword [0x103d2784], eax
mov byte [0x10342a89], 1
jmp 0x1005a2a4
push 0xffff
call fcn.1006d880
mov eax, dword [0x103be1bc]
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 0x1005a191
cmp dword [0x10342a50], 1
jne 0x1005a293
mov eax, dword [0x12b5b20]
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 0x1005a1a2
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.10045057
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
jle 0x1005a1a2
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.10006f13
fcomp dword [0x1009a9f0]
add esp, 0x10
fnstsw ax
test ah, 0x41
jp 0x1005a1a2
push 1
push 0x100996d4
mov dword [0x103429f8], ebx
call fcn.10005f7d
pop ecx
pop ecx
push 0x10048d16
jmp 0x1005a262
cmp eax, ebx
jne 0x1005a1e9
cmp dword [0x10342a50], 1
jne 0x1005a293
cmp dword [0x103a82c8], 1
push ebx
push ebx
push ebx
push ebx
jne 0x1005a1c0
call fcn.1003d94a
push fcn.1003d94a
push 0x12c
jmp 0x1005a1cf
call fcn.10059719
push fcn.10059719
push 0x1f4
mov eax, dword [0x103be1bc]
add eax, 0x4d
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1005a283
cmp dword [0x10342a50], 1
jne 0x1005a293
mov dword [0x103429f8], ebx
mov esi, dword [0x35f42ac]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call fcn.10005f4e
test eax, eax
je 0x1005a24a
add esi, 0x53c
mov eax, dword [esi]
cmp eax, ebx
je 0x1005a232
add eax, 0x64
push 0x10097544
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x1005a244
inc dword [ebp - 0x38]
add esi, 4
call fcn.10005f4e
cmp dword [ebp - 0x38], eax
jb 0x1005a217
jmp 0x1005a24a
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.1003905d
pop ecx
pop ecx
push 0x10048de7
mov eax, dword [0x103be1bc]
push 0x12c
add eax, 0x4d
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
call edi
mov dword [0x103d2370], eax
cmp dword [0x10342a50], 1
jne 0x1005a293
push 0x1009a9e4
jmp 0x1005a298
push 0x1009a9d4
mov byte [0x10342a96], bl
call fcn.10006dd0
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083a34
leave
ret 0x10