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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1014200c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x10], ebx
cmp dword [0x102c4a20], 3
push edi
mov edi, ecx
jne 0x100c5c78
cmp dword [0x102c4a08], ebx
je 0x100c5c78
lea edx, [ebx + 5]
mov dword [esp + 0x14], 0x51bf05c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x18], bl
call fcn.100c5f00
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102c4a24], ebx
mov dword [0x102c4a20], ebx
call esi
mov dword [0x102c4a1c], eax
call esi
mov dword [0x102c4a18], eax
xor ecx, ecx
mov eax, dword [edi + 0x48]
mov dword [0x102c4820], eax
mov eax, dword [edi + 0x4c]
mov dword [0x102c4910], eax
mov eax, dword [edi + 0x50]
mov dword [0x102c4814], eax
mov eax, dword [edi + 0x54]
mov dword [0x102c4818], eax
mov eax, dword [edi + 0x58]
mov dword [0x102c480c], eax
mov eax, dword [edi + 0x5c]
mov dword [0x102c4810], eax
mov eax, dword [edi + 0x60]
mov dword [0x102c259c], eax
mov eax, dword [edi + 0x64]
mov dword [0x102c4800], eax
mov eax, dword [edi + 0x68]
mov dword [0x102c4804], eax
mov eax, dword [edi + 0x6c]
mov dword [0x102c4808], eax
mov eax, dword [edi + 0x70]
mov dword [0x102c48d4], eax
mov eax, dword [edi + 0x74]
mov dword [0x102c48d0], eax
mov eax, dword [edi + 0x78]
mov dword [0x102c48cc], eax
mov eax, dword [edi + 0x7c]
mov dword [0x102c48c8], eax
mov eax, dword [edi + 0x80]
mov dword [0x102c48c4], eax
mov eax, dword [0x7bc4f04]
mov dword [0x102c4a14], ebx
mov dword [0x102c4a10], ebx
mov dword [0x102c4a0c], ebx
mov word [eax + 0x7e], cx
mov eax, dword [0x7bc4f04]
mov dword [0x102c4a08], ebx
mov byte [eax + 0x30c], cl
mov eax, dword [0x8128ac8]
movzx eax, byte [eax + 0xb]
and eax, 7
cmp eax, 6
ja case.default.0x100c5d56
jmp dword [eax*4 + 0x100c5edc]
cmp dword [0x101eeeb8], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c5de3
cmp dword [0x101eeebc], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c5de3
cmp dword [0x101eeec0], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c5de3
cmp dword [0x101eeec4], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c5de3
cmp dword [0x101eeec8], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c5de3
cmp dword [0x101eeecc], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c5de3
push 0xf
push 0x556c38
call fcn.10098660
add esp, 8
mov ecx, 0x101eedc3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c5df8
sub ecx, edx
je 0x100c5e6a
push ecx
push 0x101eedc3
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], bl
call fcn.1000b550
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
cmp edi, 0x10
mov eax, dword [esp + 0x2c]
mov ebx, 1
cmovae edx, ecx
test eax, eax
je 0x100c5e72
lea esi, [eax + edx]
mov eax, edx
cmp edx, esi
jae 0x100c5e72
nop word [eax + eax]
cmp byte [eax], 0x20
jne 0x100c5e5c
inc eax
cmp eax, esi
jb 0x100c5e50
jmp 0x100c5e72
sub eax, edx
cmp eax, 0xffffffff
je 0x100c5e72
mov byte [esp + 0x13], 0
jmp 0x100c5e77
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
test bl, 1
je 0x100c5eae
cmp edi, 0x10
jb 0x100c5eae
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c5ea4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c5ea4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100d9e0f
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100c5ec8
cmp byte [0x101ef18f], 0
jne 0x100c5ec8
mov ecx, 0x10143808
call fcn.1002cbd0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d9dfe
mov esp, ebp
pop ebp
ret