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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x10017018]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
call fcn.10005180
call fcn.10008670
mov ebx, 0x10117700
call fcn.100079b0
test al, al
jne 0x10004863
push 0x100
push 0
push 0x10122118
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10004830
mov cl, byte [eax + 0x10012760]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10122118], cl
inc eax
cmp eax, 0x100
jb 0x10004830
push 0x10122118
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
call fcn.10009390
test al, al
jne 0x100048b5
push 0x100
push 0
push 0x10122118
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dl, byte [eax + 0x10012860]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10122118], dl
inc eax
cmp eax, 0x100
jb 0x10004882
push 0x10122118
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
call fcn.10009500
test al, al
jne 0x100048dd
mov eax, 0x14
call fcn.1000b6d0
push eax
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 8
call fcn.1000b030
call fcn.1000b710
test al, al
jne 0x100048ed
mov eax, 0x15
jmp 0x100048c3
call fcn.10008940
test al, al
jne 0x100048fd
mov eax, 0x16
jmp 0x100048c3
call fcn.10005f20
test al, al
jne 0x1000490d
mov eax, 0x17
jmp 0x100048c3
call fcn.10008da0
test al, al
jne 0x1000491d
mov eax, 0x2d
jmp 0x100048c3
call fcn.10008ec0
test al, al
jne 0x1000492d
mov eax, 0x2e
jmp 0x100048c3
call fcn.10001360
test al, al
jne 0x1000496a
mov ecx, 4
push 0x1388
call fcn.10005a00
push eax
push 2
mov eax, 0x1011c790
call fcn.1000b460
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1000e352
mov esp, ebp
pop ebp
ret
push 0x10117746
mov ecx, 5
call fcn.10005a00
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
mov eax, 0x1011c540
call fcn.1000b460
movzx edx, word [0x10117744]
add esp, 0xc
push edx
mov ecx, 0x10117724
call fcn.100013e0
test al, al
jne 0x100049bb
mov ecx, 6
jmp 0x1000493b
call fcn.10002ed0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000b090
add esp, 4
test al, al
jne 0x10004b17
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x10004b5f
call fcn.10001610
test al, al
jne 0x10004a22
call fcn.10001360
test al, al
je 0x10004a22
movzx eax, word [0x10117744]
push eax
mov ecx, 0x10117724
call fcn.100013e0
test al, al
je 0x10004a22
call fcn.10002ed0
jmp 0x10004b00
cmp dword [0x1011ccd0], 0
je 0x10004b00
cmp dword [0x1011ccd4], 0
je 0x10004b00
cmp dword [0x1011ccd8], 0
je 0x10004b00
cmp dword [0x1011ccdc], 0
je 0x10004b00
cmp dword [0x1011cce0], 0
je 0x10004b00
mov ecx, dword [0x10117498]
sub ecx, dword [0x10117494]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x10117488]
sub ecx, dword [0x10117484]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x101174a8]
sub ecx, dword [0x101174a4]
sar edx, 6
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
mov dword [esp + 0xc], eax
mov eax, 0x7e07e07f
imul ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [0x10117478]
sub ecx, dword [0x10117474]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [0x1011ccf0]
add eax, dword [0x1011ccec]
sar edx, 4
add eax, dword [0x1011cce8]
mov ecx, edx
add eax, dword [0x1011cce4]
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
cmp ecx, eax
je 0x10004b17
push 1
mov ebx, 0x1f4
call fcn.1000b090
add esp, 4
test al, al
je 0x100049e1
mov ecx, dword [0x1011ccf0]
mov edx, dword [0x1011ccec]
mov eax, dword [0x1011cce8]
push ecx
mov ecx, dword [0x1011cce4]
push edx
push eax
push ecx
mov eax, 0x18
call fcn.1000b6d0
push eax
push 0
mov ecx, 0x101174c0
call fcn.100052a0
add esp, 0x18
call fcn.10009500
test al, al
jne 0x10004b69
mov ecx, 0x14
jmp 0x1000493b
mov ecx, 7
jmp 0x1000493b
call fcn.10003cf0
mov edi, 0x10117700
call fcn.10007ab0
call fcn.10007ce0
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x10121dd8
push 0
push 0
push 0x100044c0
push 0
push 0
call edi
push 0x10121ddc
push 0
push 0
push 0x10004130
push 0
push 0
mov dword [0x1011cc84], eax
call edi
push 0x10121de0
push 0
push 0
push 0x10003ed0
push 0
push 0
mov dword [0x1011cc88], eax
call edi
push 0x10121de8
push 0
push 0
push 0x10003e90
push 0
push 0
mov dword [0x1011cc8c], eax
call edi
mov edx, dword [0x1011cc84]
push 2
push edx
mov dword [0x1011cc90], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x7d0
push 1
push 0x1011cc84
push 4
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.100054e0
mov byte [0x10121dbc], 1
call esi
mov dword [0x10121dc0], eax
call fcn.10001e20
mov esi, 0x1011c540
call fcn.1000adb0
mov edi, 0x10117700
call fcn.10007be0
mov eax, 0x2c
call fcn.1000b6d0
push eax
push 0
mov ecx, 0x101174c0
call fcn.100052a0
mov ecx, dword [esp + 0x11c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000e352
mov esp, ebp
pop ebp
ret