Function at 0x10004880
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.10008a90
mov ebx, 0x10117738
call fcn.10007e50
test al, al
jne 0x10004903
push 0x100
push 0
push 0x10122170
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x100048d0
mov cl, byte [eax + 0x10012760]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10122170], cl
inc eax
cmp eax, 0x100
jb 0x100048d0
push 0x10122170
push 0
mov ecx, 0x101174f8
call fcn.10005220
add esp, 8
call fcn.1000b370
call fcn.100096b0
test al, al
jne 0x10004955
push 0x100
push 0
push 0x10122170
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 + 0x10122170], dl
inc eax
cmp eax, 0x100
jb 0x10004922
push 0x10122170
push 0
mov ecx, 0x101174f8
call fcn.10005220
add esp, 8
call fcn.1000b370
call fcn.10009820
test al, al
jne 0x1000497d
mov eax, 0x14
call fcn.1000ba10
push eax
push 0
mov ecx, 0x101174f8
call fcn.10005220
add esp, 8
call fcn.1000b370
call fcn.1000ba50
test al, al
jne 0x1000498d
mov eax, 0x15
jmp 0x10004963
call fcn.10008d60
test al, al
jne 0x1000499d
mov eax, 0x16
jmp 0x10004963
call fcn.100063b0
test al, al
jne 0x100049ad
mov eax, 0x17
jmp 0x10004963
call fcn.100090e0
test al, al
jne 0x100049bd
mov eax, 0x2d
jmp 0x10004963
call fcn.10009200
test al, al
jne 0x100049cd
mov eax, 0x2e
jmp 0x10004963
call fcn.10001360
test al, al
jne 0x10004a0a
mov ecx, 4
push 0x1388
call fcn.10005750
push eax
push 2
mov eax, 0x1011c7d0
call fcn.1000b7a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1000e712
mov esp, ebp
pop ebp
ret
push 0x1011777e
mov ecx, 5
call fcn.10005750
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, 0x1011c580
call fcn.1000b7a0
movzx edx, word [0x1011777c]
add esp, 0xc
push edx
mov ecx, 0x1011775c
call fcn.100013e0
test al, al
jne 0x10004a5b
mov ecx, 6
jmp 0x100049db
call fcn.10002f30
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000b3d0
add esp, 4
test al, al
jne 0x10004bb7
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x10004bff
call fcn.10001610
test al, al
jne 0x10004ac2
call fcn.10001360
test al, al
je 0x10004ac2
movzx eax, word [0x1011777c]
push eax
mov ecx, 0x1011775c
call fcn.100013e0
test al, al
je 0x10004ac2
call fcn.10002f30
jmp 0x10004ba0
cmp dword [0x1011cd10], 0
je 0x10004ba0
cmp dword [0x1011cd14], 0
je 0x10004ba0
cmp dword [0x1011cd18], 0
je 0x10004ba0
cmp dword [0x1011cd1c], 0
je 0x10004ba0
cmp dword [0x1011cd20], 0
je 0x10004ba0
mov ecx, dword [0x101174d0]
sub ecx, dword [0x101174cc]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x101174c0]
sub ecx, dword [0x101174bc]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x101174e0]
sub ecx, dword [0x101174dc]
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 [0x101174b0]
sub ecx, dword [0x101174ac]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [0x1011cd30]
add eax, dword [0x1011cd2c]
sar edx, 4
add eax, dword [0x1011cd28]
mov ecx, edx
add eax, dword [0x1011cd24]
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
cmp ecx, eax
je 0x10004bb7
push 1
mov ebx, 0x1f4
call fcn.1000b3d0
add esp, 4
test al, al
je 0x10004a81
mov ecx, dword [0x1011cd30]
mov edx, dword [0x1011cd2c]
mov eax, dword [0x1011cd28]
push ecx
mov ecx, dword [0x1011cd24]
push edx
push eax
push ecx
mov eax, 0x18
call fcn.1000ba10
push eax
push 0
mov ecx, 0x101174f8
call fcn.10005220
add esp, 0x18
call fcn.10009820
test al, al
jne 0x10004c09
mov ecx, 0x14
jmp 0x100049db
mov ecx, 7
jmp 0x100049db
call fcn.10003d70
mov edi, 0x10117738
call fcn.10007f50
call fcn.10008180
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x10121e30
push 0
push 0
push 0x10004540
push 0
push 0
call edi
push 0x10121e34
push 0
push 0
push 0x100041b0
push 0
push 0
mov dword [0x1011ccc4], eax
call edi
push 0x10121e38
push 0
push 0
push 0x10003f50
push 0
push 0
mov dword [0x1011ccc8], eax
call edi
push 0x10121e40
push 0
push 0
push 0x10003f10
push 0
push 0
mov dword [0x1011cccc], eax
call edi
mov edx, dword [0x1011ccc4]
push 2
push edx
mov dword [0x1011ccd0], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x7d0
push 1
push 0x1011ccc4
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov byte [0x10121e14], 1
call esi
mov dword [0x10121e18], eax
call fcn.10001e20
mov esi, 0x1011c580
call fcn.1000b0f0
mov edi, 0x10117738
call fcn.10008080
call fcn.10005e30
mov eax, 0x2c
call fcn.1000ba10
push eax
push 0
mov ecx, 0x101174f8
call fcn.10005220
mov ecx, dword [esp + 0x11c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000e712
mov esp, ebp
pop ebp
ret