Function at 0x10004500
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
push ecx
push ebx
push esi
push edi
call fcn.10004ee0
call fcn.1000c490
mov edi, 0x1011e4b8
call fcn.1000b240
test al, al
jne 0x10004573
push 0x100
push 0
push 0x10129570
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x10004540
mov cl, byte [eax + 0x100178d0]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x10129570], cl
inc eax
cmp eax, 0x100
jb 0x10004540
push 0x10129570
push 0
mov ecx, 0x1011e278
call fcn.10005000
add esp, 8
call fcn.1000f5c0
call fcn.1000d0b0
test al, al
jne 0x100045c5
push 0x100
push 0
push 0x10129570
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
mov dl, byte [eax + 0x100179d0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10129570], dl
inc eax
cmp eax, 0x100
jb 0x10004592
push 0x10129570
push 0
mov ecx, 0x1011e278
call fcn.10005000
add esp, 8
call fcn.1000f5c0
call fcn.1000d220
test al, al
jne 0x100045ed
mov eax, 0x14
call fcn.1000fc90
push eax
push 0
mov ecx, 0x1011e278
call fcn.10005000
add esp, 8
call fcn.1000f5c0
mov esi, str.SeDebugPrivilege
call fcn.1000fcd0
test al, al
jne 0x10004602
mov eax, 0x15
jmp 0x100045d3
mov esi, str.SeShutdownPrivilege
call fcn.1000fcd0
test al, al
jne 0x10004617
mov eax, 0x15
jmp 0x100045d3
call fcn.1000c760
test al, al
jne 0x10004627
mov eax, 0x16
jmp 0x100045d3
call fcn.100097a0
test al, al
jne 0x10004637
mov eax, 0x17
jmp 0x100045d3
call fcn.1000cae0
test al, al
jne 0x10004647
mov eax, 0x2d
jmp 0x100045d3
call fcn.1000cc00
test al, al
jne 0x1000465a
mov eax, 0x2e
jmp 0x100045d3
call fcn.10001430
test al, al
jne 0x10004689
mov ecx, 4
push 0x1388
call fcn.10005760
push eax
push 2
mov esi, 0x10123668
call fcn.1000fa20
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov ecx, 5
call fcn.10005760
push eax
push 0
mov esi, 0x10123408
call fcn.1000fa20
movzx eax, word [0x1011e4fc]
add esp, 0xc
push eax
mov ecx, 0x1011e4dc
call fcn.100014b0
test al, al
jne 0x100046c2
mov ecx, 6
jmp 0x10004668
call fcn.10002f00
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 1
mov ebx, 0x1f4
mov edi, eax
call fcn.1000f620
add esp, 4
test al, al
jne 0x1000481f
call esi
sub eax, edi
cmp eax, 0xea60
ja 0x10004832
call fcn.100016e0
test al, al
jne 0x10004729
call fcn.10001430
test al, al
je 0x10004729
movzx ecx, word [0x1011e4fc]
push ecx
mov ecx, 0x1011e4dc
call fcn.100014b0
test al, al
je 0x10004729
call fcn.10002f00
jmp 0x10004808
cmp dword [0x101240fc], 0
je 0x10004808
cmp dword [0x10124100], 0
je 0x10004808
cmp dword [0x10124104], 0
je 0x10004808
cmp dword [0x10124108], 0
je 0x10004808
cmp dword [0x1012410c], 0
je 0x10004808
mov ecx, dword [0x1011e250]
sub ecx, dword [0x1011e24c]
mov eax, 0x7d8c42b3
imul ecx
mov ecx, dword [0x1011e240]
sub ecx, dword [0x1011e23c]
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x3e0f83e1
imul ecx
mov ecx, dword [0x1011e260]
sub ecx, dword [0x1011e25c]
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 [0x1011e230]
sub ecx, dword [0x1011e22c]
sar edx, 5
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [0x1012411c]
add ecx, dword [0x10124118]
sar edx, 4
add ecx, dword [0x10124114]
mov eax, edx
add ecx, dword [0x10124110]
shr eax, 0x1f
add ebx, edx
add eax, ebx
cmp eax, ecx
je 0x1000481f
push 1
mov ebx, 0x1f4
call fcn.1000f620
add esp, 4
test al, al
je 0x100046e8
call fcn.1000d220
test al, al
jne 0x1000483c
mov ecx, 0x14
jmp 0x10004668
mov ecx, 7
jmp 0x10004668
call fcn.10003df0
mov edi, 0x1011e4b8
call fcn.1000b350
call fcn.1000b580
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x10129220
push 0
push 0
push 0x100041c0
push 0
push 0
call edi
push 0x10129224
push 0
push 0
push 0x100040d0
push 0
push 0
mov dword [0x101240ac], eax
call edi
push 0x10129228
push 0
push 0
push 0x10003fd0
push 0
push 0
mov dword [0x101240b0], eax
call edi
push 0x10129230
push 0
push 0
push 0x10003f90
push 0
push 0
mov dword [0x101240b4], eax
call edi
mov dword [0x101240b8], eax
mov eax, dword [0x101240ac]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x7d0
push 1
push 0x101240ac
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.10005240
mov byte [0x10129204], 1
call esi
mov dword [0x10129208], eax
call fcn.10001f20
mov esi, 0x10123408
call fcn.1000eeb0
mov edi, 0x1011e4b8
call fcn.1000b480
mov eax, 0x2c
call fcn.1000fc90
push eax
push 0
mov ecx, 0x1011e278
call fcn.10005000
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret