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

Disassembly:
push ebp
lea ebp, [esp - 0x2c]
sub esp, 0x2c
push 0xfffffffffffffffe
push 0x101954c0
push 0x100fb660
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
push ebx
push esi
push edi
mov eax, dword [0x101b03d4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, dword [ebp + 0x34]
mov ebx, edx
mov eax, eax
xor eax, eax
mov dword [ebp + 0x24], eax
mov esi, esi
mov dword [ebp + 0x28], eax
mov al, al
call fcn.100bf4b0
mov bh, bh
call fcn.100bfa50
mov edx, edx
test edi, edi
jne 0x100c3059
mov cl, cl
jmp 0x100c3863
mov eax, dword [ebx]
lea ecx, [ebp + 0x24]
push ecx
push 0x10165b70
push ebx
mov edx, dword [eax]
call edx
mov ch, ch
mov eax, dword [edi]
lea ecx, [ebp + 0x28]
push ecx
push 0x10165b70
push edi
mov edx, dword [eax]
call edx
mov ebx, ebx
cmp dword [ebp + 0x28], 0
je 0x100c3861
cmp dword [ebp + 0x24], 0
je 0x100c3861
mov dl, dl
mov edi, 0x7c
push edi
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.100fbc20
add esp, 0xc
push ecx
pop ecx
push edi
push 0
lea ecx, [ebp - 0x94]
push ecx
call fcn.100fbc20
add esp, 0xc
push edx
pop edx
mov dword [ebp - 0x110], edi
mov ah, ah
mov dword [ebp - 0x94], edi
mov eax, eax
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x110]
push ecx
push eax
mov edx, dword [edx + 0x58]
call edx
mov cl, cl
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x94]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
push eax
pop eax
test dword [ebp - 0xa8], 0x200
je 0x100c3863
test esi, esi
jne 0x100c3114
mov ebx, dword [ebp - 0x104]
jmp 0x100c3119
mov ebx, dword [esi + 8]
sub ebx, dword [esi]
mov dword [ebp - 0x1c4], ebx
nop
test esi, esi
jne 0x100c312c
mov edi, dword [ebp - 0x108]
jmp 0x100c3132
mov edi, dword [esi + 0xc]
sub edi, dword [esi + 4]
mov dword [ebp - 0x1bc], edi
mov bh, bh
mov edx, dword [ebp + 0x38]
test edx, edx
jne 0x100c3149
mov ecx, dword [ebp - 0x88]
jmp 0x100c314e
mov ecx, dword [edx + 8]
sub ecx, dword [edx]
mov dword [ebp - 0x1c0], ecx
mov edx, edx
test edx, edx
jne 0x100c3162
mov eax, dword [ebp - 0x8c]
jmp 0x100c3168
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
mov dword [ebp - 0x1c8], eax
mov edx, edx
cmp ebx, ecx
je 0x100c317b
mov ebx, ebx
jmp 0x100c3863
cmp edi, eax
je 0x100c3185
nop
jmp 0x100c3863
mov ah, ah
test byte [ebp - 0x48], 0x40
jne 0x100c3194
mov edi, edi
jmp 0x100c3863
mov eax, dword [ebp - 0x40]
cmp eax, 0x20
je 0x100c31a8
cmp eax, 0x10
je 0x100c31a8
mov dh, dh
jmp 0x100c3863
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
pop eax
mov ch, ch
push edx
pop edx
mov dword [ebp - 0x11c], 0
mov edi, edi
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [0x102c5ad4]
jg 0x100c3863
test esi, esi
jne 0x100c31de
mov dword [ebp - 0x114], esi
jmp 0x100c31e6
mov edx, dword [esi]
mov dword [ebp - 0x114], edx
mov al, al
test esi, esi
jne 0x100c31f0
xor ebx, ebx
jmp 0x100c31f3
mov ebx, dword [esi + 4]
mov ch, ch
mov eax, dword [ebp - 0x11c]
push eax
call fcn.100bf330
add esp, 4
mov edi, eax
mov dword [ebp - 0x118], edi
mov dl, dl
test edi, edi
jne 0x100c321d
push edx
pop edx
add dword [ebp - 0x11c], 1
jmp 0x100c31c0
push 0
push 0
push 0
push 6
push edi
call fcn.100ad130
mov esi, eax
mov dword [ebp - 0x1cc], esi
mov ah, ah
test esi, esi
jne 0x100c3251
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bl, bl
mov esi, dword [ebp + 0x34]
add dword [ebp - 0x11c], 1
jmp 0x100c31c0
mov al, al
xor eax, eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov bh, bh
mov dword [ebp - 4], eax
mov edi, dword [esi + 0xc]
push ecx
pop ecx
lea ecx, [ebp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push eax
pop eax
mov al, al
lea edx, [ebp - 0x134]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, ecx
push edi
call fcn.1003b480
add esp, 4
mov ah, ah
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100c32e7
mov eax, dword [ebp - 0x12c]
cmp eax, dword [esi + 0x14]
jne 0x100c32b0
mov ecx, dword [ebp - 0x128]
cmp ecx, dword [esi + 0x18]
je 0x100c32e7
mov eax, dword [0x102c648c]
xor edi, edi
cmp eax, edi
je 0x100c32cf
push eax
pop eax
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov bl, bl
mov dword [0x102c648c], edi
push edx
pop edx
mov ecx, dword [ebp - 0x12c]
mov dword [esi + 0x14], ecx
push edx
pop edx
mov edx, dword [ebp - 0x128]
mov dword [esi + 0x18], edx
mov ah, ah
jmp 0x100c32e9
xor edi, edi
mov dword [ebp - 4], 0xfffffffe
cmp dword [0x102c648c], edi
jne 0x100c3476
push ebx
pop ebx
push 0x7c
push edi
lea eax, [ebp - 0x1b8]
push eax
call fcn.100fbc20
add esp, 0xc
nop
mov dword [ebp - 0x1b8], 0x7c
mov dh, dh
mov dword [ebp - 0x1b4], 7
push edx
pop edx
mov eax, dword [esi + 0x14]
cmp dword [ebp - 0x1c4], eax
ja 0x100c333e
mov dword [ebp - 0x1ac], eax
push ecx
pop ecx
jmp 0x100c3349
lea ecx, [eax + eax]
mov dword [ebp - 0x1ac], ecx
mov dl, dl
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x1bc], eax
ja 0x100c335e
mov dword [ebp - 0x1b0], eax
mov bl, bl
jmp 0x100c3368
lea edx, [eax + eax]
mov dword [ebp - 0x1b0], edx
nop
mov bl, bl
mov dword [ebp - 0x150], 0x840
mov ecx, ecx
cmp dword [0x102c6490], edi
je 0x100c3393
test dword [ebp - 0x2c], 0x4000
je 0x100c3393
mov dword [ebp - 0x150], 0x4040
mov ebx, ebx
mov dword [ebp + 0x14], edi
mov edi, edi
mov dword [ebp + 0x18], edi
push eax
pop eax
mov dword [ebp + 0x10], edi
mov cl, cl
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
lea edx, [ebp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x90]
call eax
mov ch, ch
cmp eax, edi
jge 0x100c33d8
push ebx
pop ebx
push esi
call fcn.100ad160
mov bh, bh
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dh, dh
jmp 0x100c3863
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
lea ecx, [ebp + 0x18]
push ecx
push 0x10165b20
push eax
mov edx, dword [edx]
call edx
mov bh, bh
cmp eax, edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
jge 0x100c341c
call edx
mov ch, ch
push esi
call fcn.100ad160
mov ebp, ebp
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ah, ah
mov al, al
jmp 0x100c3863
call edx
mov ah, ah
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push edi
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x1b8]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ch, ch
cmp eax, edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
jge 0x100c3468
call edx
mov eax, eax
push esi
call fcn.100ad160
push ecx
pop ecx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebp, ebp
push edx
pop edx
jmp 0x100c3863
call edx
mov edx, edx
mov eax, dword [ebp + 0x10]
mov dword [0x102c648c], eax
xchg ebx, eax
xchg ebx, eax
mov eax, dword [ebp - 0x114]
cmp eax, edi
jne 0x100c3485
mov eax, dword [ebp + 0x1c]
mov ah, ah
cmp ebx, edi
jne 0x100c348e
mov ebx, dword [ebp + 0x20]
mov ah, ah
xchg ebx, eax
xchg ebx, eax
sub eax, dword [ebp + 0x1c]
mov dword [ebp], eax
xchg ebx, eax
xchg ebx, eax
sub ebx, dword [ebp + 0x20]
mov dword [ebp + 4], ebx
push eax
pop eax
mov ecx, dword [ebp]
mov edx, dword [ebp - 0x1c0]
add ecx, edx
mov dword [ebp + 8], ecx
mov edi, edi
mov eax, dword [ebp + 4]
mov ecx, dword [ebp - 0x1c8]
add eax, ecx
mov dword [ebp + 0xc], eax
mov eax, eax
mov eax, dword [0x102c648c]
mov edx, dword [eax]
push edi
push 0x1000000
mov ecx, dword [ebp + 0x38]
push ecx
mov ecx, dword [ebp + 0x28]
push ecx
lea ecx, [ebp]
push ecx
push eax
mov edx, dword [edx + 0x14]
call edx
mov eax, eax
cmp eax, edi
jge 0x100c3503
push esi
call fcn.100ad160
mov bh, bh
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, edx
push ebx
pop ebx
jmp 0x100c3863
mov eax, dword [0x102c6308]
mov dword [ebp - 0x114], eax
mov ebx, ebx
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.100bf160
add esp, 8
mov edi, eax
mov dword [ebp - 0x1dc], edi
push eax
pop eax
test edi, edi
je 0x100c37ff
mov ebx, dword [0x102c648c]
mov dword [ebp - 0x1d8], ebx
nop
mov bh, bh
push 0x7c
push 0
lea edx, [ebp - 0x1b8]
push edx
call fcn.100fbc20
add esp, 0xc
mov al, al
mov dword [ebp - 0x1b8], 0x7c
mov edi, edi
mov eax, dword [ebx]
push 0
push 1
lea ecx, [ebp - 0x1b8]
push ecx
push 0
push ebx
mov edx, dword [eax + 0x64]
call edx
mov bh, bh
test eax, eax
jne 0x100c37f4
mov eax, dword [ebp - 0x114]
push eax
push edi
call fcn.100bf2d0
add esp, 8
test eax, eax
je 0x100c37e3
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x124], ecx
mov ebx, ebx
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1e0], edx
mov dh, dh
lea eax, [esi + 0x24]
mov dword [ebp - 0x120], eax
mov bl, bl
mov eax, dword [esi + 0x14]
add eax, eax
add eax, eax
mov dword [ebp - 0x1d4], eax
mov eax, eax
mov al, al
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov al, al
mov ebx, ebx
mov edi, edi
mov dh, dh
mov eax, dword [esi + 0x18]
mov bl, bl
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x13c], ecx
mov al, al
nop
xor ecx, ecx
mov dword [esi + 0x20], ecx
mov ch, ch
cmp dword [ebp - 0x164], 0x10
jne 0x100c3609
mov dword [esi + 0x20], 1
mov edx, edx
cmp dword [ebp - 0x114], ecx
jne 0x100c3616
mov dword [esi + 0x20], ecx
mov bh, bh
cmp eax, ecx
jbe 0x100c37ac
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x164], 0x10
jne 0x100c3760
cmp dword [ebp - 0x114], 0
jne 0x100c3739
mov eax, eax
xor edi, edi
cmp dword [ebp - 0x13c], edi
jbe 0x100c3783
mov edi, edi
mov edx, dword [ebp - 0x124]
movzx eax, word [edx + edi*2]
mov ebx, ebx
movzx eax, ax
mov ecx, eax
shr ecx, 8
and ecx, 0xf8
push ebx
pop ebx
mov ebx, eax
shr ebx, 3
and ebx, 0xfc
mov al, al
and eax, 0x1f
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x138], eax
mov eax, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
add ecx, eax
mov eax, eax
mov eax, 0x4104105
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
add ebx, eax
mov al, al
mov eax, 0x8421085
mul dword [ebp - 0x138]
mov esi, edx
mov eax, dword [ebp - 0x138]
mov edx, eax
sub edx, esi
shr edx, 1
add edx, esi
shr edx, 4
add eax, edx
mov esi, esi
cmp ecx, 0xff
jbe 0x100c36e7
mov ecx, 0xff
mov bh, bh
cmp ebx, 0xff
jbe 0x100c36f6
mov ebx, 0xff
mov eax, eax
cmp eax, 0xff
jbe 0x100c370f
mov dword [ebp - 0x138], 0xff
push edx
pop edx
mov eax, dword [ebp - 0x138]
xor edx, edx
mov dh, cl
mov dl, bl
shl edx, 8
movzx eax, al
or edx, eax
mov ecx, dword [ebp - 0x120]
mov dword [ecx + edi*4], edx
mov ch, ch
add edi, 1
cmp edi, dword [ebp - 0x13c]
jb 0x100c3650
jmp 0x100c3783
mov eax, dword [ebp - 0x13c]
add eax, eax
add eax, eax
shr eax, 1
push eax
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x120]
push eax
call fcn.100fd070
add esp, 0xc
mov dh, dh
jmp 0x100c3783
mov eax, dword [ebp - 0x13c]
add eax, eax
add eax, eax
push eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x120]
push edx
call fcn.100fd070
add esp, 0xc
mov eax, eax
mov eax, dword [ebp - 0x1e0]
add dword [ebp - 0x124], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [ebp - 0x1d4]
add dword [ebp - 0x120], ecx
mov dh, dh
sub dword [ebp - 0x1d0], 1
jne 0x100c3624
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edx
pop edx
xchg ebx, eax
xchg ebx, eax
mov esi, dword [ebp - 0x1cc]
mov dword [esi + 0x1c], 1
mov ecx, ecx
mov edx, dword [ebp - 0x114]
push edx
mov edi, dword [ebp - 0x1dc]
push edi
call fcn.100bf300
add esp, 8
mov esi, esi
mov ebx, dword [ebp - 0x1d8]
mov eax, dword [ebx]
push 0
push ebx
mov ecx, dword [eax + 0x80]
call ecx
push edx
pop edx
jmp 0x100c37f6
mov ebp, ebp
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dh, dh
push esi
call fcn.100ad160
mov eax, eax
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bl, bl
mov esi, dword [ebp + 0x34]
add dword [ebp - 0x11c], 1
jmp 0x100c31c0
push ebx
pop ebx
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x100c3874
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push eax
pop eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x100c3885
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x2c
mov esp, ebp
pop ebp
ret