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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1014600c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x10], ebx
cmp dword [0x102ca30c], 3
push edi
mov edi, ecx
jne 0x100c9d98
cmp dword [0x102ca2f4], ebx
je 0x100c9d98
lea edx, [ebx + 5]
mov dword [esp + 0x14], 0x51bf05c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x18], bl
call fcn.100ca020
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102ca310], ebx
mov dword [0x102ca30c], ebx
call esi
mov dword [0x102ca308], eax
call esi
mov dword [0x102ca304], eax
xor ecx, ecx
mov eax, dword [edi + 0x48]
mov dword [0x102ca110], eax
mov eax, dword [edi + 0x4c]
mov dword [0x102ca200], eax
mov eax, dword [edi + 0x50]
mov dword [0x102ca104], eax
mov eax, dword [edi + 0x54]
mov dword [0x102ca108], eax
mov eax, dword [edi + 0x58]
mov dword [0x102ca0fc], eax
mov eax, dword [edi + 0x5c]
mov dword [0x102ca100], eax
mov eax, dword [edi + 0x60]
mov dword [0x102c7e8c], eax
mov eax, dword [edi + 0x64]
mov dword [0x102ca0f0], eax
mov eax, dword [edi + 0x68]
mov dword [0x102ca0f4], eax
mov eax, dword [edi + 0x6c]
mov dword [0x102ca0f8], eax
mov eax, dword [edi + 0x70]
mov dword [0x102ca1c4], eax
mov eax, dword [edi + 0x74]
mov dword [0x102ca1c0], eax
mov eax, dword [edi + 0x78]
mov dword [0x102ca1bc], eax
mov eax, dword [edi + 0x7c]
mov dword [0x102ca1b8], eax
mov eax, dword [edi + 0x80]
mov dword [0x102ca1b4], eax
mov eax, dword [0x7bc4f04]
mov dword [0x102ca300], ebx
mov dword [0x102ca2fc], ebx
mov dword [0x102ca2f8], ebx
mov word [eax + 0x7e], cx
mov eax, dword [0x7bc4f04]
mov dword [0x102ca2f4], ebx
mov byte [eax + 0x30c], cl
mov eax, dword [0x8128ac8]
movzx eax, byte [eax + 0xb]
and eax, 7
cmp eax, 6
ja case.default.0x100c9e76
jmp dword [eax*4 + 0x100c9ffc]
cmp dword [0x101f45c8], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c9f03
cmp dword [0x101f45cc], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c9f03
cmp dword [0x101f45d0], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c9f03
cmp dword [0x101f45d4], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c9f03
cmp dword [0x101f45d8], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c9f03
cmp dword [0x101f45dc], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c9f03
push 0xf
push 0x556c38
call fcn.1009a7f0
add esp, 8
mov ecx, 0x101f44d3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c9f18
sub ecx, edx
je 0x100c9f8a
push ecx
push 0x101f44d3
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], bl
call fcn.1000c7d0
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 0x100c9f92
lea esi, [eax + edx]
mov eax, edx
cmp edx, esi
jae 0x100c9f92
nop word [eax + eax]
cmp byte [eax], 0x20
jne 0x100c9f7c
inc eax
cmp eax, esi
jb 0x100c9f70
jmp 0x100c9f92
sub eax, edx
cmp eax, 0xffffffff
je 0x100c9f92
mov byte [esp + 0x13], 0
jmp 0x100c9f97
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
test bl, 1
je 0x100c9fce
cmp edi, 0x10
jb 0x100c9fce
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c9fc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c9fc4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100ddf04
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100c9fe8
cmp byte [0x101f489f], 0
jne 0x100c9fe8
mov ecx, 0x10147808
call fcn.1002e0d0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ddef3
mov esp, ebp
pop ebp
ret