Function at 0x10004420
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 [0x10031440]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
call fcn.10004e10
call fcn.1000bc80
mov edi, 0x10132ae0
call fcn.1000ad00
test al, al
jne 0x100044a3
push 0x100
push 0
push 0x1013df38
call fcn.10014a00
add esp, 0xc
xor eax, eax
jmp 0x10004470
mov cl, byte [eax + 0x1002a540]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x1013df38], cl
inc eax
cmp eax, 0x100
jb 0x10004470
push 0x1013df38
push 0
mov ecx, 0x101328a0
call fcn.10004f30
add esp, 8
call fcn.1000e2a0
call fcn.1000c970
test al, al
jne 0x100044f5
push 0x100
push 0
push 0x1013df38
call fcn.10014a00
add esp, 0xc
xor eax, eax
mov dl, byte [eax + 0x1002a740]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x1013df38], dl
inc eax
cmp eax, 0x100
jb 0x100044c2
push 0x1013df38
push 0
mov ecx, 0x101328a0
call fcn.10004f30
add esp, 8
call fcn.1000e2a0
mov esi, str.SeDebugPrivilege
call fcn.1000e930
test al, al
jne 0x10004522
mov eax, 0x15
call fcn.1000e8f0
push eax
push 0
mov ecx, 0x101328a0
call fcn.10004f30
add esp, 8
call fcn.1000e2a0
mov esi, str.SeShutdownPrivilege
call fcn.1000e930
test al, al
je 0x10004503
call fcn.1000bf60
test al, al
jne 0x10004540
mov eax, 0x16
jmp 0x10004508
call fcn.10009280
test al, al
jne 0x10004550
mov eax, 0x17
jmp 0x10004508
call fcn.1000c2e0
test al, al
jne 0x10004560
mov eax, 0x2d
jmp 0x10004508
call fcn.1000c400
test al, al
jne 0x10004570
mov eax, 0x2e
jmp 0x10004508
call fcn.10001410
test al, al
jne 0x100045ad
mov ecx, 4
push 0x1388
call fcn.10005430
push eax
push 2
mov eax, 0x10137bb8
call fcn.1000e680
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.100123ca
mov esp, ebp
pop ebp
ret
push 0x10132b26
mov ecx, 5
call fcn.10005430
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, 0x10137968
call fcn.1000e680
movzx edx, word [0x10132b24]
add esp, 0xc
push edx
mov ecx, 0x10132b04
call fcn.10001490
test al, al
jne 0x100045fe
mov ecx, 6
jmp 0x1000457e
call fcn.10002ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000e300
add esp, 4
test al, al
jne 0x1000475a
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x100047a2
call fcn.100016c0
test al, al
jne 0x10004665
call fcn.10001410
test al, al
je 0x10004665
movzx eax, word [0x10132b24]
push eax
mov ecx, 0x10132b04
call fcn.10001490
test al, al
je 0x10004665
call fcn.10002ce0
jmp 0x10004743
cmp dword [0x10138bd8], 0
je 0x10004743
cmp dword [0x10138bdc], 0
je 0x10004743
cmp dword [0x10138be0], 0
je 0x10004743
cmp dword [0x10138be4], 0
je 0x10004743
cmp dword [0x10138be8], 0
je 0x10004743
mov ecx, dword [0x10132878]
sub ecx, dword [0x10132874]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x10132868]
sub ecx, dword [0x10132864]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x10132888]
sub ecx, dword [0x10132884]
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 [0x10132858]
sub ecx, dword [0x10132854]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [0x10138bf8]
add eax, dword [0x10138bf4]
sar edx, 4
add eax, dword [0x10138bf0]
mov ecx, edx
add eax, dword [0x10138bec]
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
cmp ecx, eax
je 0x1000475a
push 1
mov ebx, 0x1f4
call fcn.1000e300
add esp, 4
test al, al
je 0x10004624
mov ecx, dword [0x10138bf8]
mov edx, dword [0x10138bf4]
mov eax, dword [0x10138bf0]
push ecx
mov ecx, dword [0x10138bec]
push edx
push eax
push ecx
mov eax, 0x18
call fcn.1000e8f0
push eax
push 0
mov ecx, 0x101328a0
call fcn.10004f30
add esp, 0x18
call fcn.1000c970
test al, al
jne 0x100047ac
mov ecx, 0x14
jmp 0x1000457e
mov ecx, 7
jmp 0x1000457e
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1013dcf8
push 0
push 0
push 0x100040e0
push 0
push 0
call esi
push 0x1013dcfc
push 0
push 0
push 0x10003d50
push 0
push 0
mov dword [0x10138b88], eax
call esi
push 0x1013dd00
push 0
push 0
push 0x10003ae0
push 0
push 0
mov dword [0x10138b8c], eax
call esi
push 0x1013dd08
push 0
push 0
push 0x10003aa0
push 0
push 0
mov dword [0x10138b90], eax
call esi
mov esi, 0x10137968
mov dword [0x10138b94], eax
call fcn.1000e140
mov eax, 0x2c
call fcn.1000e8f0
push eax
push 0
mov ecx, 0x101328a0
call fcn.10004f30
mov ecx, dword [esp + 0x11c]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100123ca
mov esp, ebp
pop ebp
ret