Function at 0x10068170
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push ebx
push esi
push edi
mov dword [ebp - 0x414], 0x10091000
mov eax, dword [ebp - 0x414]
add eax, 0xc
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x414]
cmp dword [ecx + 4], 0
jne 0x100681b1
mov al, 1
jmp 0x1006855c
mov edx, dword [ebp - 0x414]
cmp dword [edx + 4], 0x8911191
je 0x100681c7
xor al, al
jmp 0x1006855c
mov eax, dword [ebp - 0x414]
mov dword [eax + 0x1c], 1
push 0x1009900c
push section..tsodata
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10089884], eax
push 0x10099024
push section..tsodata
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10089880], eax
mov dword [ebp - 0x424], 0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x10068247
push ebx
push ecx
xor eax, eax
mov eax, esp
mov ebx, 4
push eax
push ebx
mov eax, dword [eax - 8]
pop ecx
shl eax, 4
pop ebx
sub eax, 0x10
mov eax, dword fs:[eax]
movzx eax, byte [eax + 2]
neg eax
pop ecx
pop ebx
mov dword [ebp - 0x424], eax
call fcn.100698d0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x420], 0x10091024
mov dword [ebp - 0x428], 0
jmp 0x1006827a
mov eax, dword [ebp - 0x428]
add eax, 1
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x420]
mov edx, dword [ebp - 0x428]
cmp edx, dword [ecx]
jae 0x10068401
mov eax, dword [ebp - 0x428]
lea ecx, [ebp + eax*4 - 0x408]
push ecx
push 8
mov edx, dword [ebp - 0x428]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp - 0x428]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x40c]
add ecx, dword [eax + edx + 4]
push ecx
call fcn.10068130
add esp, 0x10
mov byte [ebp - 0x590], 0x26
mov byte [ebp - 0x58f], 0x17
mov byte [ebp - 0x58e], 0x10
mov byte [ebp - 0x58d], 0x23
mov byte [ebp - 0x58c], 0x17
mov byte [ebp - 0x58b], 0x10
mov byte [ebp - 0x58a], 0x25
mov byte [ebp - 0x589], 0x14
mov byte [ebp - 0x588], 0x28
mov byte [ebp - 0x587], 0x1e
mov byte [ebp - 0x586], 0x24
mov byte [ebp - 0x585], 0x13
mov byte [ebp - 0x584], 0x1e
mov byte [ebp - 0x583], 0x1d
mov byte [ebp - 0x582], 0x14
mov byte [ebp - 0x581], 0xe
push edx
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp - 0x424]
mov edx, 0x21524110
xor ebx, edx
mov esi, dword [ebp - 4]
lea edi, [ebp - 0x580]
mov ecx, 4
lodsd eax, dword [esi]
xor eax, ebx
stosd dword es:[edi], eax
loop 0x10068364
pop edi
pop esi
pop ebx
pop ecx
pop edx
lea edx, [ebp - 0x570]
push edx
push 0x10
lea eax, [ebp - 0x580]
push eax
call fcn.10068570
add esp, 0xc
lea ecx, [ebp - 0x570]
push ecx
push 0x10
mov edx, dword [ebp - 0x428]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x420]
lea ecx, [eax + edx + 0xc]
push ecx
mov edx, dword [ebp - 0x428]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + edx + 8]
and ecx, 0xfffffff0
push ecx
mov edx, dword [ebp - 0x428]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x40c]
add ecx, dword [eax + edx + 4]
push ecx
push 0
push 0
push 7
lea edx, [ebp - 0x590]
push edx
call fcn.10069610
add esp, 0x24
test eax, eax
je 0x100683fc
mov byte [0x1009900a], 1
xor al, al
jmp 0x1006855c
jmp 0x1006826b
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax]
imul ecx, ecx, 0x28
add ecx, 0x10091028
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x594], 0
jmp 0x10068433
mov edx, dword [ebp - 0x594]
add edx, 1
mov dword [ebp - 0x594], edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x594]
cmp ecx, dword [eax + 8]
jge 0x1006848e
mov edx, dword [ebp - 0x594]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + edx*4 + 0xc]
mov edx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp - 0x418]
sub edx, dword [esi]
sbb eax, dword [esi + 4]
mov esi, dword [ebp - 0x40c]
mov ecx, dword [esi + ecx]
xor esi, esi
add ecx, edx
adc esi, eax
mov edx, dword [ebp - 0x594]
mov eax, dword [ebp - 0x418]
mov edx, dword [eax + edx*4 + 0xc]
mov eax, dword [ebp - 0x40c]
mov dword [eax + edx], ecx
jmp 0x10068424
mov dword [ebp - 0x598], 0
jmp 0x100684a9
mov ecx, dword [ebp - 0x598]
add ecx, 1
mov dword [ebp - 0x598], ecx
mov edx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x598]
cmp eax, dword [edx]
jae 0x1006850d
mov ecx, dword [ebp - 0x598]
lea edx, [ebp + ecx*4 - 0x408]
push edx
mov eax, dword [ebp - 0x598]
mov ecx, dword [ebp + eax*4 - 0x408]
push ecx
mov edx, dword [ebp - 0x598]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp - 0x598]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x40c]
add ecx, dword [eax + edx + 4]
push ecx
call fcn.10068130
add esp, 0x10
jmp 0x1006849a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x41c], eax
push 0
push 0
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x414]
mov dword [ecx + 0x20], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret