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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x350
mov eax, dword [0x100a69a0]
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 [0x2fb6ac4]
add esp, 0xc
test esi, esi
je 0x10046647
fld dword [esi + 0x1f68]
push ebx
push edi
call fcn.10083f90
fld dword [esi + 0x1f60]
mov ebx, eax
lea eax, [ebp - 0x44]
push 0xa
push eax
call fcn.10083f90
mov edi, dword [sym.imp.MSVCR100.dll__itoa]
push eax
call edi
push 0xa
lea eax, [ebp - 0x50]
push eax
push ebx
call edi
lea eax, [ebp - 0x2ac]
push 0x34d18e8
push eax
call sub.MSVCR100.dll_strcat
mov esi, 0x1008ffe4
lea eax, [ebp - 0x2ac]
push esi
push eax
call sub.MSVCR100.dll_strcat
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2ac]
push eax
call sub.MSVCR100.dll_strcat
lea eax, [ebp - 0x2ac]
push 0x1008ffe0
push eax
call sub.MSVCR100.dll_strcat
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2ac]
push eax
call sub.MSVCR100.dll_strcat
add esp, 0x40
lea eax, [ebp - 0x2ac]
push esi
push eax
call sub.MSVCR100.dll_strcat
push 0xa
lea eax, [ebp - 0x38]
push eax
push dword [0x2f91a04]
call edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2ac]
push eax
call sub.MSVCR100.dll_strcat
lea eax, [ebp - 0x2ac]
push esi
push eax
call sub.MSVCR100.dll_strcat
mov eax, dword [0x2f98ca8]
inc eax
push eax
push 0x2f98cb0
lea eax, [ebp - 0x2e0]
push 0x10099394
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x2ac]
push eax
call sub.MSVCR100.dll_strcat
lea eax, [ebp - 0x2ac]
push esi
push eax
call sub.MSVCR100.dll_strcat
mov eax, dword [0x2f9a2a8]
add esp, 0x44
add eax, 0x53c
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x34c], 8
mov esi, dword [eax]
test esi, esi
je 0x1004654f
lea eax, [ebp - 0xb8]
push eax
push esi
call fcn.10017379
push 0xa
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0xd6c]
push dword [esi + 0xd68]
call dword [sym.imp.MSVCR100.dll__i64toa]
mov ecx, dword [esi + 0xd54]
add esp, 0x18
cmp ecx, 5
ja 0x10046501
movzx eax, byte [esi + 0xb4]
mov dword [ebp - 0x350], eax
xor eax, eax
movzx ebx, byte [esi + 0xb0]
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx edx, byte [esi + 0xac]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
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
test ebx, ebx
jne 0x1004640f
test ecx, ecx
je 0x10046501
cmp edx, 1
jne 0x1004641b
push 0x10099390
jmp 0x1004642c
cmp edx, 2
jne 0x10046427
push 0x1009938c
jmp 0x1004642c
push 0x1009456c
lea eax, [ebp - 0x2c]
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
cmp ebx, 1
jne 0x10046443
push 0x1008d7b0
jmp 0x100464b9
cmp ebx, 2
jne 0x1004644f
push 0x1008d7ac
jmp 0x100464b9
cmp ebx, 3
jne 0x1004645b
push 0x1008d7a8
jmp 0x100464b9
cmp ebx, 4
jne 0x10046467
push 0x1008d7a4
jmp 0x100464b9
cmp ebx, 5
jne 0x10046473
push 0x1008d7a0
jmp 0x100464b9
cmp ebx, 0xb
jne 0x1004647f
push 0x1008d79c
jmp 0x100464b9
cmp ebx, 0xc
jne 0x1004648b
push 0x10099388
jmp 0x100464b9
cmp ebx, 0xd
jne 0x10046497
push 0x1008d794
jmp 0x100464b9
cmp ebx, 0xe
jne 0x100464a3
push 0x1008d790
jmp 0x100464b9
cmp ebx, 0x10
jne 0x100464af
push 0x1008d78c
jmp 0x100464b9
cmp ebx, 0x11
jne 0x100464c4
push 0x1008d788
lea eax, [ebp - 0x18]
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0xd4c]
add esi, 0x64
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x350]
lea eax, [ebp - 0x344]
push str.__d_s_s__s
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x24
jmp 0x1004653a
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0xd4c]
add esi, 0x64
lea eax, [ebp - 0x344]
push esi
cmp ecx, 9
jne 0x1004652b
push 0x1009935c
jmp 0x10046530
push 0x1009934c
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 sub.MSVCR100.dll_strcat
pop ecx
pop ecx
mov eax, dword [ebp - 0x348]
add eax, 4
dec dword [ebp - 0x34c]
mov dword [ebp - 0x348], eax
jne 0x10046390
lea eax, [ebp - 0x2a8]
push eax
xor esi, esi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x10046597
xor byte [ebp + esi - 0x2a8], 0xf
lea eax, [ebp - 0x2a8]
push eax
inc esi
call sub.MSVCR100.dll_strlen
pop ecx
cmp esi, eax
jb 0x1004657d
lea eax, [ebp - 0x2a8]
push eax
call sub.MSVCR100.dll_strlen
mov word [ebp - 0x2aa], ax
lea eax, [ebp - 0x2a8]
push eax
mov ebx, 0x1034316c
push ebx
call sub.MSVCR100.dll_strcmp
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
test eax, eax
jne 0x100465d8
call edi
sub eax, dword [0x103d2768]
cmp eax, 0x6ddd00
jbe 0x10046645
mov esi, 0x10343168
push esi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x1004660f
push ebx
call sub.MSVCR100.dll_strlen
cmp byte [eax + 0x1034316b], 0x2b
pop ecx
jne 0x1004660f
lea eax, [ebp - 0x2a8]
push eax
call sub.MSVCR100.dll_strlen
cmp byte [ebp + eax - 0x2a9], 0x2b
pop ecx
je 0x10046645
push 0x1f4
lea eax, [ebp - 0x2ac]
push eax
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
xor eax, eax
push eax
push eax
push eax
push 0x1004620a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov dword [0x103d2768], eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10083e24
leave
ret