Function at 0x10004a70
Capabilities:
Acquire debug privileges
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 [0x1001e018]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
call fcn.100054d0
call fcn.1000ca60
mov edi, 0x1011e9e8
call fcn.1000b810
test al, al
jne 0x10004af3
push 0x100
push 0
push 0x10129548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10004ac0
mov cl, byte [eax + 0x100178c0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10129548], cl
inc eax
cmp eax, 0x100
jb 0x10004ac0
push 0x10129548
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 8
call fcn.1000f340
call fcn.1000d680
test al, al
jne 0x10004b45
push 0x100
push 0
push 0x10129548
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dl, byte [eax + 0x100179c0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10129548], dl
inc eax
cmp eax, 0x100
jb 0x10004b12
push 0x10129548
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 8
call fcn.1000f340
call fcn.1000d7f0
test al, al
jne 0x10004b6d
mov eax, 0x14
call fcn.1000f9e0
push eax
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 8
call fcn.1000f340
mov esi, str.SeDebugPrivilege
call fcn.1000fa20
test al, al
jne 0x10004b82
mov eax, 0x15
jmp 0x10004b53
mov esi, str.SeShutdownPrivilege
call fcn.1000fa20
test al, al
jne 0x10004b97
mov eax, 0x15
jmp 0x10004b53
call fcn.1000cd30
test al, al
jne 0x10004ba7
mov eax, 0x16
jmp 0x10004b53
call fcn.10009d80
test al, al
jne 0x10004bb7
mov eax, 0x17
jmp 0x10004b53
call fcn.1000d0b0
test al, al
jne 0x10004bc7
mov eax, 0x2d
jmp 0x10004b53
call fcn.1000d1d0
test al, al
jne 0x10004bda
mov eax, 0x2e
jmp 0x10004b53
call fcn.10001430
test al, al
jne 0x10004c17
mov ecx, 4
push 0x1388
call fcn.10005d80
push eax
push 2
mov eax, 0x10123b88
call fcn.1000f770
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10012836
mov esp, ebp
pop ebp
ret
push 0x1011ea2e
mov ecx, 5
call fcn.10005d80
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, 0x10123938
call fcn.1000f770
movzx edx, word [0x1011ea2c]
add esp, 0xc
push edx
mov ecx, 0x1011ea0c
call fcn.100014b0
test al, al
jne 0x10004c68
mov ecx, 6
jmp 0x10004be8
call fcn.10003040
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000f3a0
add esp, 4
test al, al
jne 0x10004dc6
mov edi, edi
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x10004e0e
call fcn.100016e0
test al, al
jne 0x10004cd1
call fcn.10001430
test al, al
je 0x10004cd1
movzx eax, word [0x1011ea2c]
push eax
mov ecx, 0x1011ea0c
call fcn.100014b0
test al, al
je 0x10004cd1
call fcn.10003040
jmp 0x10004daf
cmp dword [0x101240dc], 0
je 0x10004daf
cmp dword [0x101240e0], 0
je 0x10004daf
cmp dword [0x101240e4], 0
je 0x10004daf
cmp dword [0x101240e8], 0
je 0x10004daf
cmp dword [0x101240ec], 0
je 0x10004daf
mov ecx, dword [0x1011e780]
sub ecx, dword [0x1011e77c]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x1011e770]
sub ecx, dword [0x1011e76c]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x1011e790]
sub ecx, dword [0x1011e78c]
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 [0x1011e760]
sub ecx, dword [0x1011e75c]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [0x101240fc]
add eax, dword [0x101240f8]
sar edx, 4
add eax, dword [0x101240f4]
mov ecx, edx
add eax, dword [0x101240f0]
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
cmp ecx, eax
je 0x10004dc6
push 1
mov ebx, 0x1f4
call fcn.1000f3a0
add esp, 4
test al, al
je 0x10004c90
mov ecx, dword [0x101240fc]
mov edx, dword [0x101240f8]
mov eax, dword [0x101240f4]
push ecx
mov ecx, dword [0x101240f0]
push edx
push eax
push ecx
mov eax, 0x18
call fcn.1000f9e0
push eax
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
add esp, 0x18
call fcn.1000d7f0
test al, al
jne 0x10004e18
mov ecx, 0x14
jmp 0x10004be8
mov ecx, 7
jmp 0x10004be8
call fcn.10003f60
mov edi, 0x1011e9e8
call fcn.1000b920
call fcn.1000bb50
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x101291f8
push 0
push 0
push 0x10004730
push 0
push 0
call edi
push 0x101291fc
push 0
push 0
push 0x100043a0
push 0
push 0
mov dword [0x1012408c], eax
call edi
push 0x10129200
push 0
push 0
push 0x10004140
push 0
push 0
mov dword [0x10124090], eax
call edi
push 0x10129208
push 0
push 0
push 0x10004100
push 0
push 0
mov dword [0x10124094], eax
call edi
mov edx, dword [0x1012408c]
push 2
push edx
mov dword [0x10124098], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x7d0
push 1
push 0x1012408c
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.10005870
mov byte [0x101291dc], 1
call esi
mov dword [0x101291e0], eax
call fcn.10001f20
mov esi, 0x10123938
call fcn.1000f0c0
mov edi, 0x1011e9e8
call fcn.1000ba50
mov eax, 0x2c
call fcn.1000f9e0
push eax
push 0
mov ecx, 0x1011e7a8
call fcn.100055f0
mov ecx, dword [esp + 0x11c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012836
mov esp, ebp
pop ebp
ret