Function at 0x1006ff38
Capabilities:
Check for time delay via gettickcount
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x100a509c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1f0
lea eax, [ebp - 0x2a8]
push 0
push eax
mov dword [ebp - 0x2ac], 0xffff6059
call sub.MSVCR100.dll_memset
mov esi, dword [0x2fb7ac4]
add esp, 0xc
test esi, esi
je 0x10070348
fld dword [esi + 0x1f68]
push ebx
push edi
call fcn.10082ff0
fld dword [esi + 0x1f60]
mov edi, eax
lea eax, [ebp - 0x50]
push 0xa
push eax
call fcn.10082ff0
mov ebx, dword [sym.imp.MSVCR100.dll__itoa]
push eax
call ebx
push 0xa
lea eax, [ebp - 0x44]
push eax
push edi
call ebx
mov esi, dword [sym.imp.MSVCR100.dll_strcat]
lea eax, [ebp - 0x2ac]
push 0x34d28e8
push eax
call esi
mov edi, 0x1008f048
lea eax, [ebp - 0x2ac]
push edi
push eax
call esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2ac]
push eax
call esi
lea eax, [ebp - 0x2ac]
push 0x1008f04c
push eax
call esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2ac]
push eax
call esi
add esp, 0x40
lea eax, [ebp - 0x2ac]
push edi
push eax
call esi
push 0xa
lea eax, [ebp - 0x38]
push eax
push dword [0x2f92a08]
call ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2ac]
push eax
call esi
lea eax, [ebp - 0x2ac]
push edi
push eax
call esi
mov eax, dword [0x2f99cac]
inc eax
push eax
push 0x2f99cb8
lea eax, [ebp - 0x2e0]
push 0x10097f5c
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x2ac]
push eax
call esi
lea eax, [ebp - 0x2ac]
push edi
push eax
call esi
mov eax, dword [0x2f9b2d0]
add esp, 0x44
add eax, 0x53c
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x348], 8
mov ebx, dword [eax]
test ebx, ebx
je 0x10070259
lea eax, [ebp - 0x84]
push eax
mov edi, ebx
call fcn.100166b2
push 0xa
lea eax, [ebp - 0xb8]
push eax
push dword [ebx + 0xd6c]
push dword [ebx + 0xd68]
call dword [sym.imp.MSVCR100.dll__i64toa]
mov ecx, dword [ebx + 0xd54]
add esp, 0x14
cmp ecx, 5
ja 0x1007020e
movzx eax, byte [ebx + 0xb4]
mov dword [ebp - 0x354], eax
movzx eax, byte [ebx + 0xb0]
mov dword [ebp - 0x34c], eax
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx edx, byte [ebx + 0xac]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
cmp dword [ebp - 0x34c], 0
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jne 0x10070109
test ecx, ecx
je 0x1007020e
lea eax, [ebp - 0x2c]
cmp edx, 1
jne 0x10070121
mov edi, dword [sym.imp.MSVCR100.dll_strcpy]
push 0x1009ae40
push eax
call edi
jmp 0x1007013f
cmp edx, 2
jne 0x1007012d
push 0x1009ae44
jmp 0x10070132
push 0x10093314
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
mov edi, dword [sym.imp.MSVCR100.dll_strcpy]
mov eax, dword [ebp - 0x34c]
pop ecx
pop ecx
cmp eax, 1
jne 0x10070153
push 0x1008c8d0
jmp 0x100701c9
cmp eax, 2
jne 0x1007015f
push 0x1008c8d4
jmp 0x100701c9
cmp eax, 3
jne 0x1007016b
push 0x1008c8d8
jmp 0x100701c9
cmp eax, 4
jne 0x10070177
push 0x1008c8dc
jmp 0x100701c9
cmp eax, 5
jne 0x10070183
push 0x1008c8e0
jmp 0x100701c9
cmp eax, 0xb
jne 0x1007018f
push 0x1008c8e4
jmp 0x100701c9
cmp eax, 0xc
jne 0x1007019b
push 0x1009ae48
jmp 0x100701c9
cmp eax, 0xd
jne 0x100701a7
push 0x1008c8ec
jmp 0x100701c9
cmp eax, 0xe
jne 0x100701b3
push 0x1008c8f0
jmp 0x100701c9
cmp eax, 0x10
jne 0x100701bf
push 0x1008c8f4
jmp 0x100701c9
cmp eax, 0x11
jne 0x100701d1
push 0x1008c8f8
lea eax, [ebp - 0x18]
push eax
call edi
pop ecx
pop ecx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebx + 0xd4c]
add ebx, 0x64
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x354]
lea eax, [ebp - 0x344]
push str.__d_s_s__s
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x24
jmp 0x10070247
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebx + 0xd4c]
add ebx, 0x64
lea eax, [ebp - 0x344]
push ebx
cmp ecx, 9
jne 0x10070238
push 0x1009ae64
jmp 0x1007023d
push 0x1009ae78
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x2ac]
push eax
call esi
pop ecx
pop ecx
mov eax, dword [ebp - 0x350]
add eax, 4
dec dword [ebp - 0x348]
mov dword [ebp - 0x350], eax
jne 0x1007007e
mov esi, dword [sym.imp.MSVCR100.dll_strlen]
lea eax, [ebp - 0x2a8]
push eax
xor edi, edi
call esi
pop ecx
test eax, eax
je 0x100702a1
xor byte [ebp + edi - 0x2a8], 0xf
lea eax, [ebp - 0x2a8]
push eax
inc edi
call esi
pop ecx
cmp edi, eax
jb 0x1007028a
lea eax, [ebp - 0x2a8]
push eax
call esi
mov word [ebp - 0x2aa], ax
lea eax, [ebp - 0x2a8]
push eax
mov ebx, 0x1035f60c
push ebx
call dword [sym.imp.MSVCR100.dll_strcmp]
add esp, 0xc
test eax, eax
jne 0x100702de
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103d7804]
cmp eax, 0x6ddd00
jbe 0x10070346
mov edi, 0x1035f608
push edi
call esi
pop ecx
test eax, eax
je 0x1007030c
push ebx
call esi
cmp byte [eax + 0x1035f60b], 0x2b
pop ecx
jne 0x1007030c
lea eax, [ebp - 0x2a8]
push eax
call esi
cmp byte [ebp + eax - 0x2a9], 0x2b
pop ecx
je 0x10070346
push 0x1f4
lea eax, [ebp - 0x2ac]
push eax
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
xor eax, eax
push eax
push eax
push eax
push 0x1006ff1d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103d7804], eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10082395
leave
ret