Function at 0x4870a0
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x584
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0x4c400c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4c4004]
xor edi, edi
cmp eax, edi
je 0x487376
cmp eax, 0x8911191
jne 0x4872b0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4cc00c
push section..tsodata
mov dword [0x4c401c], 1
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4cc024
push section..tsodata
mov dword [0x4c29d0], eax
call esi
push eax
call ebx
cmp byte [ebp + 0xc], 0
mov dword [0x4c29cc], eax
mov dword [ebp - 0x10], edi
je 0x487143
push ebx
push ecx
xor eax, eax
mov eax, esp
mov ebx, 4
push eax
push ebx
mov eax, dword [eax - 8]
pop ecx
shl eax, 4
pop ebx
sub eax, 0x10
mov eax, dword fs:[eax]
movzx eax, byte [eax + 2]
neg eax
pop ecx
pop ebx
mov dword [ebp - 0x10], eax
call fcn.00488020
mov eax, dword [0x4c4024]
mov dword [ebp - 0xc], edi
cmp eax, edi
mov edi, dword [ebp + 8]
jbe 0x48725a
lea eax, [ebp - 0x584]
mov esi, 0x4c402c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
lea esp, [esp]
mov ecx, dword [ebp - 4]
mov eax, dword [esi]
mov esi, dword [esi - 4]
push ecx
push 8
push eax
add esi, edi
push esi
mov bl, 0x1e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00487030
add esp, 0x14
mov byte [ebp - 0x24], 0x26
mov byte [ebp - 0x23], 0x17
mov byte [ebp - 0x22], 0x10
mov byte [ebp - 0x21], 0x23
mov byte [ebp - 0x20], 0x17
mov byte [ebp - 0x1f], 0x10
mov byte [ebp - 0x1e], 0x25
mov byte [ebp - 0x1d], 0x14
mov byte [ebp - 0x1c], 0x28
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], 0x24
mov byte [ebp - 0x19], 0x13
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], 0x1d
mov byte [ebp - 0x16], 0x14
mov byte [ebp - 0x15], 0xe
push edx
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp - 0x10]
mov edx, 0x21524110
xor ebx, edx
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x3c]
mov ecx, 4
lodsd eax, dword [esi]
xor eax, ebx
stosd dword es:[edi], eax
loop 0x4871e8
pop edi
pop esi
pop ebx
pop ecx
pop edx
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x3c]
push 0x10
push eax
call fcn.00487530
mov esi, dword [ebp - 8]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x184]
push ecx
mov ecx, dword [esi - 4]
push 0x10
lea edx, [esi + 4]
push edx
and eax, 0xfffffff0
push eax
add ecx, edi
push ecx
push 0
push 0
lea edx, [ebp - 0x24]
push 7
push edx
call fcn.00487f90
add esp, 0x30
test eax, eax
jne 0x4872a9
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x4c4024]
add dword [ebp - 4], 4
add ecx, 1
add esi, 0x28
cmp ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
jb 0x487170
lea ecx, [eax + eax*4]
lea ecx, [ecx*8 + 0x4c4028]
xor edx, edx
cmp dword [ecx + 8], edx
jle 0x48728a
lea esi, [ecx + 0xc]
mov edi, edi
mov eax, dword [esi]
mov ebx, edi
sub ebx, dword [ecx]
add eax, edi
add dword [eax], ebx
add edx, 1
add esi, 4
cmp edx, dword [ecx + 8]
jl 0x487270
mov eax, dword [0x4c4024]
test eax, eax
mov dword [ebp - 0x14], 0
jbe 0x487340
mov eax, 0x4c4028
lea esi, [ebp - 0x584]
mov dword [ebp - 0xc], eax
jmp 0x4872c3
mov byte [0x4cc00a], 1
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [esi]
add eax, edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebp - 0x28]
push esi
push ecx
mov ebx, eax
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push ebx
call dword [0x4c29d0]
cmp eax, 0xc0000045
jne 0x487328
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp ebx, eax
jne 0x487328
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
push ecx
push edx
call dword [0x4c29cc]
test eax, eax
je 0x487328
mov eax, dword [ebp - 0x28]
push esi
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 8]
push edx
push ebx
call dword [0x4c29d0]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x28
add eax, 1
add esi, 4
cmp eax, dword [0x4c4024]
mov dword [ebp - 0x14], eax
jb 0x4872c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
mov dword [0x4c4020], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret