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

Disassembly:
mov ecx, dword [0x100baf90]
mov eax, dword [0x100b6b28]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x10027373
cmp dword [0x100bb3dc], 0
je 0x10027373
mov eax, dword [0x100b6b28]
push esi
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100bc3c4]
mov ecx, dword [eax + ecx]
call fcn.1001bcb0
mov esi, eax
test esi, esi
je 0x10027367
mov ecx, dword [0x100baf90]
push 0x100bc7cc
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
je 0x10027367
mov edx, dword [0x100bb574]
add edx, eax
cmp edx, eax
jbe 0x10027367
mov ecx, esi
call edx
test eax, eax
jle 0x10027367
mov eax, dword [0x100b6b28]
mov ecx, dword [eax + 0x2fc]
mov eax, dword [0x100bc3c4]
mov ecx, dword [eax + ecx]
call fcn.1001bcb0
test eax, eax
je 0x10027107
mov edx, dword [0x100b6b28]
movss xmm0, dword [0x100a340c]
mov ecx, dword [edx + 0x2b4]
comiss xmm0, dword [eax + ecx]
ja 0x10027130
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c03a8], 0x100174a0
call fcn.100174a0
mov edx, dword [0x100b6b28]
mov dword [0x100ba300], 0
mov ecx, dword [edx + 0x2fc]
mov eax, dword [0x100bc3c4]
mov esi, dword [eax + ecx]
call fcn.1001b230
mov edx, dword [0x100b6b28]
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 0x100272f9
mov ecx, dword [0x100bb3dc]
cmp ecx, 1
jne 0x10027195
mov dword [0x100c1ed8], 0x1f4
jmp 0x100271ee
cmp ecx, 2
jne 0x100271a6
mov dword [0x100c1ed8], 0xc8
jmp 0x100271ee
cmp ecx, 3
jne 0x100271b7
mov dword [0x100c1ed8], 0x96
jmp 0x100271ee
cmp ecx, 4
jne 0x100271c8
mov dword [0x100c1ed8], 0x64
jmp 0x100271ee
cmp ecx, 5
jne 0x100271d9
mov dword [0x100c1ed8], 0x32
jmp 0x100271ee
mov eax, dword [0x100c1ed8]
cmp ecx, 6
mov edx, 0x1e
cmove eax, edx
mov dword [0x100c1ed8], eax
push 2
mov dword [0x100bb688], 0x10017500
call fcn.10017500
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10027249
cmp byte [0x100c0520], 0
je 0x10027229
cmp dword [0x100c0524], 0
je 0x10027250
call esi
cmp dword [0x100c0524], eax
ja 0x10027250
mov byte [0x100c0520], 1
call esi
add eax, dword [0x100c1ed8]
mov dword [0x100bb5c8], eax
mov dword [0x100ba300], 1
jmp 0x10027250
mov byte [0x100c0520], 0
call esi
cmp dword [0x100bb5c8], eax
ja 0x10027290
cmp dword [0x100ba300], 1
jne 0x10027290
push 0
push 0
push 0
push 0
push 2
mov dword [0x100c03a8], 0x100174a0
call fcn.100174a0
call esi
add eax, 0x32
mov dword [0x100ba300], 2
mov dword [0x100bb5c8], eax
call esi
cmp dword [0x100bb5c8], eax
mov eax, dword [0x100ba300]
ja 0x100272d3
cmp eax, 2
jne 0x100272d3
push 0
push 0
push 0
push 0
push 4
mov dword [0x100c03a8], 0x100174a0
call fcn.100174a0
call esi
add eax, 0x64
mov dword [0x100ba300], 3
mov dword [0x100bb5c8], eax
jmp 0x100272d8
cmp eax, 3
jne 0x100272fb
push 0
push 1
push 0x45
push 0x33
mov dword [0x100b6ac0], 0x100174d0
call fcn.100174d0
mov dword [0x100ba300], 4
pop esi
ret
cmp eax, 4
jne 0x10027323
push 0
push 3
push 0x45
push 0x33
mov dword [0x100b6ac0], 0x100174d0
call fcn.100174d0
mov dword [0x100ba300], 5
jmp 0x10027328
cmp eax, 5
jne 0x1002734b
push 0
push 1
push 0x45
push 0x31
mov dword [0x100b6ac0], 0x100174d0
call fcn.100174d0
mov dword [0x100ba300], 6
pop esi
ret
cmp eax, 6
jne 0x100272f9
push 0
push 3
push 0x45
push 0x31
mov dword [0x100b6ac0], 0x100174d0
call fcn.100174d0
mov dword [0x100ba300], 0
pop esi
ret
mov dword [0x100ba300], 0
ret