Function at 0x10013779
Capabilities:
Encode data using xor

Disassembly:
push 0x60
mov eax, 0x10070b17
call fcn.10039b20
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x10095d44], eax
call edi
sub eax, dword [esi + 0x30]
mov ecx, eax
sbb edx, dword [esi + 0x34]
call fcn.1006f7f0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x10087030]
comiss xmm0, dword [0x10086fc8]
jb 0x10013b21
call edi
mov dword [esi + 0x30], eax
xor ebx, ebx
mov al, byte [esi + 0x20]
mov dword [esi + 0x34], edx
mov dword [ebp - 0x54], 0xe10
push 0x3c
pop ecx
test al, al
je 0x10013977
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x100137e6
dec eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x24]
test edi, edi
js 0x1001396b
mov eax, edi
mov dword [ebp - 0x14], 0xf
cdq
idiv dword [ebp - 0x54]
push 0x3c
mov eax, edx
mov dword [ebp - 0x18], ebx
cdq
idiv ecx
mov byte [ebp - 0x28], bl
mov ecx, eax
mov eax, edi
cdq
pop edi
idiv edi
push 0xa
pop edi
mov dword [ebp - 4], ebx
push edx
push ecx
cmp ecx, edi
jae 0x10013878
cmp edx, edi
mov edx, ebx
jae 0x10013850
mov cl, 5
mov dword [ebp - 0x34], 0x61203505
mov dword [ebp - 0x30], 0x6120353f
mov byte [ebp - 0x2c], bl
xor cl, byte [ebp + edx - 0x33]
mov byte [ebp + edx - 0x33], cl
inc edx
cmp edx, 7
jae 0x1001384b
mov cl, byte [ebp - 0x34]
jmp 0x10013838
mov byte [ebp - 0x2c], bl
jmp 0x100138c1
mov cl, 0x78
mov dword [ebp - 0x34], 0x1c5d4878
mov dword [ebp - 0x30], 0x1c5d42
xor cl, byte [ebp + edx - 0x33]
mov byte [ebp + edx - 0x33], cl
inc edx
cmp edx, 6
jae 0x10013873
mov cl, byte [ebp - 0x34]
jmp 0x10013860
mov byte [ebp - 0x2d], bl
jmp 0x100138c1
mov ecx, ebx
cmp edx, edi
jae 0x1001389d
mov dl, 0x72
mov dword [ebp - 0x34], 0x48165772
mov dword [ebp - 0x30], 0x165742
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10013873
mov dl, byte [ebp - 0x34]
jmp 0x1001388e
mov dl, 0x61
mov dword [ebp - 0x34], 0x5b054461
mov word [ebp - 0x30], 0x544
mov byte [ebp - 0x2e], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 5
jae 0x100138be
mov dl, byte [ebp - 0x34]
jmp 0x100138af
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x50]
push eax
call fcn.100072fa
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.1000472a
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.100027bc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [str.2aFSV_U]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x6f411769
mov byte [ebp - 0x3c], bl
mov al, byte [ebp + ecx - 0x4f]
xor al, byte [ebp - 0x50]
mov byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x13
jb 0x10013912
sub esp, 0x18
mov byte [ebp - 0x3c], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x6c]
push eax
call fcn.100072fa
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi + 8]
call fcn.1000c667
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.100027bc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.100027bc
push 0x3c
pop ecx
cmp dword [esi + 0x24], 0
jg 0x10013977
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov al, byte [esi + 0x21]
test al, al
je 0x10013b21
movzx eax, word [esi + 0x28]
test ax, ax
jle 0x10013990
dec eax
mov word [esi + 0x28], ax
movzx edi, word [esi + 0x28]
mov eax, edi
test ax, ax
js 0x10013b12
cwde
cdq
idiv dword [ebp - 0x54]
push 0x3c
mov eax, edx
mov dword [ebp - 0x14], 0xf
cdq
idiv ecx
mov dword [ebp - 0x18], ebx
movzx ecx, ax
mov eax, edi
cwde
cdq
pop edi
idiv edi
mov byte [ebp - 0x28], bl
movzx eax, dx
push 0xa
pop edx
push eax
push ecx
cmp cx, dx
mov dword [ebp - 4], 2
mov ecx, ebx
jae 0x10013a28
cmp ax, dx
jae 0x10013a04
mov dl, 0x37
mov dword [ebp - 0x34], 0x53120737
mov dword [ebp - 0x30], 0x5312070d
mov byte [ebp - 0x2c], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 7
jae 0x100139ff
mov dl, byte [ebp - 0x34]
jmp 0x100139f0
mov byte [ebp - 0x2c], bl
jmp 0x10013a70
mov dl, 0x7b
mov dword [ebp - 0x34], 0x1f5e4b7b
mov dword [ebp - 0x30], 0x1f5e41
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10013a23
mov dl, byte [ebp - 0x34]
jmp 0x10013a14
mov byte [ebp - 0x2d], bl
jmp 0x10013a70
cmp ax, dx
jae 0x10013a4c
mov dl, 0x62
mov dword [ebp - 0x34], 0x58064762
mov dword [ebp - 0x30], 0x64752
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10013a23
mov dl, byte [ebp - 0x34]
jmp 0x10013a3d
mov dl, 0x1b
mov dword [ebp - 0x34], 0x217f3e1b
mov word [ebp - 0x30], 0x7f3e
mov byte [ebp - 0x2e], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 5
jae 0x10013a6d
mov dl, byte [ebp - 0x34]
jmp 0x10013a5e
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x6c]
push eax
call fcn.100072fa
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.1000472a
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.100027bc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x10087c30]
mov edx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x15433d46
mov word [ebp - 0x3c], 0x3b
mov cl, byte [ebp - 0x50]
xor byte [ebp + edx - 0x4f], cl
inc edx
cmp edx, 0x14
jb 0x10013ac4
sub esp, 0x18
mov byte [ebp - 0x3b], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.10002907
lea eax, [ebp - 0x6c]
push eax
call fcn.100072fa
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.1000c667
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.100027bc
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.100027bc
cmp word [esi + 0x28], bx
jg 0x10013b21
xor eax, eax
mov byte [esi + 0x21], bl
mov word [esi + 0x28], ax
call fcn.10039aca
ret