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

Disassembly:
mov ecx, dword [0x100c1fb4]
mov eax, dword [0x100bdb34]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10027b83
cmp dword [0x100c2408], 0
je 0x10027b83
mov eax, dword [0x100bdb34]
push esi
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100c340c]
mov ecx, dword [eax + ecx]
call fcn.1001c490
mov esi, eax
test esi, esi
je 0x10027b77
mov ecx, dword [0x100c1fb4]
push 0x100c3814
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10027b77
mov edx, dword [0x100c25a0]
add edx, eax
cmp edx, eax
jbe 0x10027b77
mov ecx, esi
call edx
test eax, eax
jle 0x10027b77
mov eax, dword [0x100bdb34]
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100c340c]
mov ecx, dword [eax + ecx]
call fcn.1001c490
test eax, eax
je 0x10027917
mov edx, dword [0x100bdb34]
movss xmm0, dword [0x100a954c]
mov ecx, dword [edx + 0x2b4]
comiss xmm0, dword [eax + ecx]
ja 0x10027940
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c73f8], 0x10018000
call fcn.10018000
mov edx, dword [0x100bdb34]
mov dword [0x100c1314], 0
mov ecx, dword [edx + 0x2fc]
mov eax, dword [0x100c340c]
mov esi, dword [eax + ecx]
call fcn.1001ba10
mov edx, dword [0x100bdb34]
mov ecx, dword [edx + 0x2ec]
imul ecx, esi
add ecx, eax
mov eax, dword [edx + 0x310]
add eax, dword [edx + 0x2f0]
xor edx, edx
mov eax, dword [eax + ecx]
mov ecx, 0x186a0
div ecx
sub edx, 0x1388
cmp edx, 0x3e8
jae 0x10027b09
mov ecx, dword [0x100c2408]
cmp ecx, 1
jne 0x100279a5
mov dword [0x100c8f5c], 0x1f4
jmp 0x100279fe
cmp ecx, 2
jne 0x100279b6
mov dword [0x100c8f5c], 0xc8
jmp 0x100279fe
cmp ecx, 3
jne 0x100279c7
mov dword [0x100c8f5c], 0x96
jmp 0x100279fe
cmp ecx, 4
jne 0x100279d8
mov dword [0x100c8f5c], 0x64
jmp 0x100279fe
cmp ecx, 5
jne 0x100279e9
mov dword [0x100c8f5c], 0x32
jmp 0x100279fe
mov eax, dword [0x100c8f5c]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x100c8f5c], eax
push 2
mov dword [0x100c26c4], 0x10018060
call fcn.10018060
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10027a59
cmp byte [0x100c7570], 0
je 0x10027a39
cmp dword [0x100c7574], 0
je 0x10027a60
call esi
cmp dword [0x100c7574], eax
ja 0x10027a60
mov byte [0x100c7570], 1
call esi
add eax, dword [0x100c8f5c]
mov dword [0x100c25fc], eax
mov dword [0x100c1314], 1
jmp 0x10027a60
mov byte [0x100c7570], 0
call esi
cmp dword [0x100c25fc], eax
ja 0x10027aa0
cmp dword [0x100c1314], 1
jne 0x10027aa0
push 0
push 0
push 0
push 0
push 2
mov dword [0x100c73f8], 0x10018000
call fcn.10018000
call esi
add eax, 0x32
mov dword [0x100c1314], 2
mov dword [0x100c25fc], eax
call esi
cmp dword [0x100c25fc], eax
mov eax, dword [0x100c1314]
ja 0x10027ae3
cmp eax, 2
jne 0x10027ae3
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c73f8], 0x10018000
call fcn.10018000
call esi
add eax, 0x64
mov dword [0x100c1314], 3
mov dword [0x100c25fc], eax
jmp 0x10027ae8
cmp eax, 3
jne 0x10027b0b
push 0
push 1
push 0x45
push 0x33
mov dword [0x100bdac8], 0x10018030
call fcn.10018030
mov dword [0x100c1314], 4
pop esi
ret
cmp eax, 4
jne 0x10027b33
push 0
push 3
push 0x45
push 0x33
mov dword [0x100bdac8], 0x10018030
call fcn.10018030
mov dword [0x100c1314], 5
jmp 0x10027b38
cmp eax, 5
jne 0x10027b5b
push 0
push 1
push 0x45
push 0x31
mov dword [0x100bdac8], 0x10018030
call fcn.10018030
mov dword [0x100c1314], 6
pop esi
ret
cmp eax, 6
jne 0x10027b09
push 0
push 3
push 0x45
push 0x31
mov dword [0x100bdac8], 0x10018030
call fcn.10018030
mov dword [0x100c1314], 0
pop esi
ret
mov dword [0x100c1314], 0
ret