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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x6142c4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
test eax, eax
je 0x100c84d3
mov eax, dword [ebp - 0x20]
call dword [0x10120fb4]
mov dword [ebp - 0x18], eax
cmp dword [eax + 0x2c], 0
je 0x100c84d3
mov ecx, dword [0x10174fb8]
mov al, byte [0x6ab8bb]
mov byte [ebp - 2], al
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [0x10174fb8]
xor esi, esi
or ebx, 0xffffffff
mov dword [ebp - 0xc], esi
mov edx, 0x1012eae4
mov byte [ebp - 1], 0x5f
lea eax, [eax + eax*2]
mov dword [ebp - 8], ebx
add eax, eax
xor edi, edi
mov dword [ebp - 0x24], eax
shr eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, eax
mov ecx, eax
cmova edi, eax
sub ecx, edi
cmp ecx, 0xa6
jbe 0x100c8421
mov dword [ebp - 0x10], eax
mov ecx, 0x20
mov eax, 0x5f
cmp byte [ebp - 1], al
push 0x5f
cmove eax, ecx
mov byte [ebp - 1], al
cmp ebx, 0xffffffff
jne 0x100c82a4
push str.___c__
push ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.10016b70
add esp, 0x10
jmp 0x100c82c2
mov eax, 0xcccccccd
mul ebx
lea eax, [ebp - 0x4c]
shr edx, 3
push edx
push str.___d_c__
push 0x20
push eax
call fcn.10016b70
add esp, 0x14
mov ecx, dword [0x10174fb8]
lea edx, [ebp - 0x4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0xffffffff
jne 0x100c82f4
movzx ecx, byte [ebp - 1]
lea eax, [ebp - 0x4c]
push ecx
push str.___c
push 0x20
push eax
call fcn.10016b70
add esp, 0x10
jmp 0x100c8317
movzx eax, byte [ebp - 1]
push eax
mov eax, 0xcccccccd
mul ebx
lea eax, [ebp - 0x4c]
shr edx, 3
push edx
push str.___d_c
push 0x20
push eax
call fcn.10016b70
add esp, 0x14
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x18]
mov esi, eax
shl esi, 5
sub esi, eax
imul eax, eax, 0x4a
add esi, esi
cmp esi, eax
jge 0x100c836d
mov edx, dword [ebp - 0x20]
mov edi, edx
neg edi
mov eax, dword [0x101822dc]
mov ecx, esi
push dword [ebp - 0x24]
add eax, 0x64
sub ecx, edx
add eax, edi
add edi, 0xc8
push eax
mov eax, dword [ebx + 0x2c]
add eax, 0xaa
add eax, ecx
push eax
call fcn.100ecbd0
imul eax, dword [ebx + 0x18], 0x4a
add esp, 0xc
add esi, dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
cmp esi, eax
jl 0x100c8334
mov eax, dword [ebp - 0x18]
movzx edi, byte [ebp - 2]
mov ecx, dword [0x10174fb8]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
lea eax, [ebp - 0x4c]
push edi
mov esi, dword [ecx]
push edx
push dword [ebp - 0x1c]
shl edx, 6
push eax
mov eax, dword [ebp - 0x18]
shr ebx, 1
sub edx, ebx
mov eax, dword [eax + 0x2c]
add eax, 0xaa
add edx, eax
call dword [esi + 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x10174fb8]
push edi
mov edi, dword [ebp - 0x28]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x2c]
mov esi, dword [ecx]
add eax, 0xaa
push edx
shl edx, 6
sub edx, ebx
sub edx, edi
add edx, dword [ebp - 0x1c]
push edi
push 0x1012eae4
add edx, eax
call dword [esi + 0x20]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x100c8418
test eax, eax
js 0x100c83e3
cmp eax, 0x32
jl 0x100c83e4
int3
mov eax, dword [eax*4 + 0x6add90]
cmp eax, 0xffffffff
je 0x100c8418
test eax, eax
js 0x100c83f9
cmp eax, 0x32
jl 0x100c83fa
int3
mov ecx, dword [eax*4 + 0x6ade58]
test ecx, ecx
je 0x100c8418
cmp dword [0x51e3e0], 0
je 0x100c8418
push 0
lea edx, [ecx + 8]
call fcn.100416b0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
call fcn.1003b920
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x100c8459
cmp esi, 3
jge 0x100c8258
mov byte [ebp + esi - 0x14], al
mov byte [ebp + esi - 0x13], 0
inc esi
cmp byte [ebp - 0x14], 0x30
mov dword [ebp - 0xc], esi
jne 0x100c847e
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
jmp 0x100c8258
cmp eax, 8
jne 0x100c8497
test esi, esi
je 0x100c8258
sub esi, 1
mov dword [ebp - 0xc], esi
mov byte [ebp + esi - 0x14], 0
jne 0x100c847e
or ebx, 0xffffffff
mov dword [ebp - 8], ebx
jmp 0x100c8258
lea eax, [ebp - 0x14]
push eax
call fcn.100f7536
add esp, 4
lea ebx, [eax + eax*4]
add ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x100c8258
cmp eax, 0xd
je 0x100c84bb
cmp eax, 0x20
je 0x100c84bb
cmp eax, 0x70
je 0x100c84bb
cmp eax, 0x50
je 0x100c84bb
cmp eax, 0x1b
jne 0x100c8258
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xffffffff
je 0x100c84d3
mov eax, dword [0x101822e4]
cmp ebx, 0x2706
cmovbe eax, ebx
mov dword [0x101822e4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret