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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1014300c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x10], ebx
cmp dword [0x102c5a2c], 3
push edi
mov edi, ecx
jne 0x100c7598
cmp dword [0x102c5a14], ebx
je 0x100c7598
lea edx, [ebx + 5]
mov dword [esp + 0x14], 0x51bf05c1
lea ecx, [esp + 0x14]
mov byte [esp + 0x18], bl
call fcn.100c7820
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102c5a30], ebx
mov dword [0x102c5a2c], ebx
call esi
mov dword [0x102c5a28], eax
call esi
mov dword [0x102c5a24], eax
xor ecx, ecx
mov eax, dword [edi + 0x48]
mov dword [0x102c582c], eax
mov eax, dword [edi + 0x4c]
mov dword [0x102c591c], eax
mov eax, dword [edi + 0x50]
mov dword [0x102c5820], eax
mov eax, dword [edi + 0x54]
mov dword [0x102c5824], eax
mov eax, dword [edi + 0x58]
mov dword [0x102c5818], eax
mov eax, dword [edi + 0x5c]
mov dword [0x102c581c], eax
mov eax, dword [edi + 0x60]
mov dword [0x102c351c], eax
mov eax, dword [edi + 0x64]
mov dword [0x102c35ac], eax
mov eax, dword [edi + 0x68]
mov dword [0x102c5810], eax
mov eax, dword [edi + 0x6c]
mov dword [0x102c5814], eax
mov eax, dword [edi + 0x70]
mov dword [0x102c58e0], eax
mov eax, dword [edi + 0x74]
mov dword [0x102c58dc], eax
mov eax, dword [edi + 0x78]
mov dword [0x102c58d8], eax
mov eax, dword [edi + 0x7c]
mov dword [0x102c58d4], eax
mov eax, dword [edi + 0x80]
mov dword [0x102c58d0], eax
mov eax, dword [0x7bc4f04]
mov dword [0x102c5a20], ebx
mov dword [0x102c5a1c], ebx
mov dword [0x102c5a18], ebx
mov word [eax + 0x7e], cx
mov eax, dword [0x7bc4f04]
mov dword [0x102c5a14], ebx
mov byte [eax + 0x30c], cl
mov eax, dword [0x8128ac8]
movzx eax, byte [eax + 0xb]
and eax, 7
cmp eax, 6
ja case.default.0x100c7676
jmp dword [eax*4 + 0x100c77fc]
cmp dword [0x101efeb8], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c7703
cmp dword [0x101efebc], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c7703
cmp dword [0x101efec0], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c7703
cmp dword [0x101efec4], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c7703
cmp dword [0x101efec8], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c7703
cmp dword [0x101efecc], 0xffff
sbb al, al
and al, 0xd
add al, 2
movzx eax, al
push eax
jmp 0x100c7703
push 0xf
push 0x556c38
call fcn.10099b30
add esp, 8
mov ecx, 0x101efdc3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c7718
sub ecx, edx
je 0x100c778a
push ecx
push 0x101efdc3
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], bl
call fcn.1000c820
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 0x100c7792
lea esi, [eax + edx]
mov eax, edx
cmp edx, esi
jae 0x100c7792
nop word [eax + eax]
cmp byte [eax], 0x20
jne 0x100c777c
inc eax
cmp eax, esi
jb 0x100c7770
jmp 0x100c7792
sub eax, edx
cmp eax, 0xffffffff
je 0x100c7792
mov byte [esp + 0x13], 0
jmp 0x100c7797
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
test bl, 1
je 0x100c77ce
cmp edi, 0x10
jb 0x100c77ce
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c77c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c77c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100db77f
add esp, 8
cmp byte [esp + 0x13], 0
je 0x100c77e8
cmp byte [0x101f018f], 0
jne 0x100c77e8
mov ecx, 0x10144808
call fcn.1002df60
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100db76e
mov esp, ebp
pop ebp
ret