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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
push ebx
push ebp
lea ebx, [eax + 0xa]
and ebx, 0x80000007
push esi
mov ebp, 1
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0
jns 0x5399ec
dec ebx
or ebx, 0xfffffff8
inc ebx
je 0x5399f7
mov ecx, 8
sub ecx, ebx
mov ebx, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
and al, 0xf8
or al, bl
mov byte [esp + 0x1c], al
mov eax, ebx
push eax
add ebx, ebp
call esi
and eax, 0xff
push eax
lea edx, [esp + 0x25]
push edx
call fcn.0053d810
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
add esp, 0xc
mov esi, eax
mov edi, eax
neg eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], eax
mov ebp, eax
nop
cmp ebx, 8
jge 0x539a5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add dword [esp + 0x3c], 1
mov byte [esp + ebx + 0x1c], al
add ebx, 1
cmp ebx, 8
jne 0x539ae6
lea eax, [esp + 0x1c]
xor ecx, ecx
lea ebp, [esp + ebp + 0x24]
sub esi, eax
lea esp, [esp]
cmp dword [esp + 0x14], 0
lea eax, [esp + ecx + 0x1c]
je 0x539a83
lea edx, [esi + ebp]
mov dl, byte [edx + eax]
jmp 0x539a86
mov dl, byte [esi + eax]
xor byte [eax], dl
add ecx, 1
cmp ecx, 8
jl 0x539a70
mov eax, dword [esp + 0x38]
push edi
push eax
lea eax, [esp + 0x24]
call fcn.00539840
mov ecx, dword [esp + 0x20]
add esp, 8
mov eax, edi
lea ebp, [esp + ecx + 0x24]
mov esi, 8
mov dl, byte [eax + ebp]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x539ab1
mov edx, dword [esp + 0x1c]
add dword [esp + 0x10], 8
mov ebp, ecx
sub ecx, 8
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov esi, edi
mov dword [esp + 0x28], edx
mov edi, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x3c], 2
jle 0x539a40
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
jle 0x539bbc
mov ebp, edi
mov edx, esi
neg ebp
neg edx
lea esp, [esp]
cmp ebx, 8
jge 0x539b31
mov eax, dword [esp + 0x3c]
mov cl, byte [eax]
sub dword [esp + 0x34], 1
mov byte [esp + ebx + 0x1c], cl
add eax, 1
add ebx, 1
mov dword [esp + 0x3c], eax
cmp ebx, 8
jne 0x539bb1
lea eax, [esp + 0x1c]
xor ecx, ecx
lea edx, [esp + edx + 0x24]
sub esi, eax
nop
cmp dword [esp + 0x14], 0
lea eax, [esp + ecx + 0x1c]
je 0x539b53
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x539b56
mov bl, byte [esi + eax]
xor byte [eax], bl
add ecx, 1
cmp ecx, 8
jl 0x539b40
mov ecx, dword [esp + 0x38]
push edi
push ecx
lea eax, [esp + 0x24]
call fcn.00539840
add esp, 8
mov eax, edi
lea esi, [esp + ebp + 0x24]
mov ecx, 8
lea ecx, [ecx]
mov dl, byte [esi + eax]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x539b80
mov edx, dword [esp + 0x20]
add dword [esp + 0x10], 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov edx, ebp
sub ebp, 8
xor ebx, ebx
mov esi, edi
mov dword [esp + 0x24], ecx
mov edi, eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x34], 0
jg 0x539b10
mov ebp, edi
mov edx, esi
neg ebp
mov dword [esp + 0x3c], 1
neg edx
lea esp, [esp]
cmp ebx, 8
jge 0x539be5
add dword [esp + 0x3c], 1
mov byte [esp + ebx + 0x1c], 0
add ebx, 1
cmp ebx, 8
jne 0x539c61
lea eax, [esp + 0x1c]
xor ecx, ecx
lea edx, [esp + edx + 0x24]
sub esi, eax
cmp dword [esp + 0x14], 0
lea eax, [esp + ecx + 0x1c]
je 0x539c06
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x539c09
mov bl, byte [esi + eax]
xor byte [eax], bl
add ecx, 1
cmp ecx, 8
jl 0x539bf3
mov ecx, dword [esp + 0x38]
push edi
push ecx
lea eax, [esp + 0x24]
call fcn.00539840
add esp, 8
mov eax, edi
lea esi, [esp + ebp + 0x24]
mov ecx, 8
mov dl, byte [esi + eax]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x539c30
mov edx, dword [esp + 0x20]
add dword [esp + 0x10], 8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov edx, ebp
sub ebp, 8
xor ebx, ebx
mov esi, edi
mov dword [esp + 0x24], ecx
mov edi, eax
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x3c], 7
jle 0x539bd0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x1c
ret