Function at 0x10004a30
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 [0x10019018]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
call fcn.10005400
call fcn.100096b0
mov ebx, 0x10119440
call fcn.10008670
test al, al
jne 0x10004ab3
push 0x100
push 0
push 0x10124638
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10004a80
mov cl, byte [eax + 0x10013780]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10124638], cl
inc eax
cmp eax, 0x100
jb 0x10004a80
push 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
add esp, 8
call fcn.1000bfd0
call fcn.1000a2d0
test al, al
jne 0x10004b05
push 0x100
push 0
push 0x10124638
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dl, byte [eax + 0x10013880]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10124638], dl
inc eax
cmp eax, 0x100
jb 0x10004ad2
push 0x10124638
push 0
mov ecx, 0x10119200
call fcn.10005510
add esp, 8
call fcn.1000bfd0
call fcn.1000a440
test al, al
jne 0x10004b2d
mov eax, 0x14
call fcn.1000c610
push eax
push 0
mov ecx, 0x10119200
call fcn.10005510
add esp, 8
call fcn.1000bfd0
call fcn.1000c650
test al, al
jne 0x10004b3d
mov eax, 0x15
jmp 0x10004b13
call fcn.10009980
test al, al
jne 0x10004b4d
mov eax, 0x16
jmp 0x10004b13
call fcn.10006be0
test al, al
jne 0x10004b5d
mov eax, 0x17
jmp 0x10004b13
call fcn.10009d00
test al, al
jne 0x10004b6d
mov eax, 0x2d
jmp 0x10004b13
call fcn.10009e20
test al, al
jne 0x10004b7d
mov eax, 0x2e
jmp 0x10004b13
call fcn.10001400
test al, al
jne 0x10004ba7
push 0x1388
mov ecx, 4
call fcn.10005c90
push eax
push 2
mov eax, 0x1011e4e0
call fcn.1000c3b0
add esp, 0xc
jmp 0x10004b28
push 0x10119486
mov ecx, 5
call fcn.10005c90
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, 0x1011e290
call fcn.1000c3b0
movzx edx, word [0x10119484]
add esp, 0xc
push edx
mov ecx, 0x10119464
call fcn.10001480
test al, al
jne 0x10004bfd
push 0x1388
mov ecx, 6
jmp 0x10004b90
call fcn.10003310
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000c030
add esp, 4
test al, al
jne 0x10004d59
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x10004da6
call fcn.100016b0
test al, al
jne 0x10004c64
call fcn.10001400
test al, al
je 0x10004c64
movzx eax, word [0x10119484]
push eax
mov ecx, 0x10119464
call fcn.10001480
test al, al
je 0x10004c64
call fcn.10003310
jmp 0x10004d42
cmp dword [0x1011f1cc], 0
je 0x10004d42
cmp dword [0x1011f1d0], 0
je 0x10004d42
cmp dword [0x1011f1d4], 0
je 0x10004d42
cmp dword [0x1011f1d8], 0
je 0x10004d42
cmp dword [0x1011f1dc], 0
je 0x10004d42
mov ecx, dword [0x101191d8]
sub ecx, dword [0x101191d4]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x101191c8]
sub ecx, dword [0x101191c4]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x101191e8]
sub ecx, dword [0x101191e4]
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 [0x101191b8]
sub ecx, dword [0x101191b4]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [0x1011f1ec]
add eax, dword [0x1011f1e8]
sar edx, 4
add eax, dword [0x1011f1e4]
mov ecx, edx
add eax, dword [0x1011f1e0]
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
cmp ecx, eax
je 0x10004d59
push 1
mov ebx, 0x1f4
call fcn.1000c030
add esp, 4
test al, al
je 0x10004c23
mov ecx, dword [0x1011f1ec]
mov edx, dword [0x1011f1e8]
mov eax, dword [0x1011f1e4]
push ecx
mov ecx, dword [0x1011f1e0]
push edx
push eax
push ecx
mov eax, 0x18
call fcn.1000c610
push eax
push 0
mov ecx, 0x10119200
call fcn.10005510
add esp, 0x18
call fcn.1000a440
test al, al
jne 0x10004db5
push 0x1388
mov ecx, 0x14
jmp 0x10004b90
push 0x1388
mov ecx, 7
jmp 0x10004b90
call fcn.10004220
mov edx, 0x10015ae4
mov ecx, 0x1011f078
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10004de4
test al, al
je 0x10004de0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10004de4
add ecx, 2
add edx, 2
test al, al
jne 0x10004dc4
xor eax, eax
jmp 0x10004de9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10004df2
call fcn.10008940
mov edi, 0x10119440
call fcn.10008870
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x101242f0
push 0
push 0
push 0x100045f0
push 0
push 0
call edi
push 0x101242f4
push 0
push 0
push 0x10004500
push 0
push 0
mov dword [0x1011f164], eax
call edi
push 0x101242f8
push 0
push 0
push 0x10004400
push 0
push 0
mov dword [0x1011f168], eax
call edi
push 0x10124300
push 0
push 0
push 0x100043c0
push 0
push 0
mov dword [0x1011f16c], eax
call edi
mov edx, dword [0x1011f164]
push 2
push edx
mov dword [0x1011f170], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x7d0
push 1
push 0x1011f164
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.10005770
mov byte [0x101242d4], 1
call esi
mov dword [0x101242d8], eax
call fcn.100020d0
mov esi, 0x1011e290
call fcn.1000bd00
mov edi, 0x10119440
call fcn.10008770
mov eax, 0x2c
call fcn.1000c610
push eax
push 0
mov ecx, 0x10119200
call fcn.10005510
mov ecx, dword [esp + 0x11c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000f292
mov esp, ebp
pop ebp
ret