Function at 0x10013e69
Capabilities:
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x1003a784
call fcn.10039131
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x10050254], eax
call edi
sub eax, dword [esi + 0x30]
mov ecx, eax
sbb edx, dword [esi + 0x34]
call fcn.10039890
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x100472e8]
comiss xmm0, dword [0x10047290]
jb 0x1001421b
call edi
mov dword [esi + 0x30], eax
xor ebx, ebx
mov al, byte [esi + 0x20]
mov ecx, 0xe10
mov dword [esi + 0x34], edx
test al, al
je 0x10014066
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x10013ed1
dec eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x24]
test edi, edi
js 0x1001405a
mov eax, edi
mov dword [ebp - 0x14], 0xf
cdq
idiv ecx
push 0x3c
mov eax, edx
mov dword [ebp - 0x18], ebx
cdq
pop ecx
idiv ecx
push 0x3c
mov ecx, eax
mov byte [ebp - 0x28], bl
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 0x10013f65
cmp edx, edi
mov edx, ebx
jae 0x10013f3d
mov cl, 0x4a
mov dword [ebp - 0x34], 0x2e6f7a4a
mov dword [ebp - 0x30], 0x2e6f7a70
mov byte [ebp - 0x2c], bl
xor cl, byte [ebp + edx - 0x33]
mov byte [ebp + edx - 0x33], cl
inc edx
cmp edx, 7
jae 0x10013f38
mov cl, byte [ebp - 0x34]
jmp 0x10013f25
mov byte [ebp - 0x2c], bl
jmp 0x10013fae
mov cl, 0x74
mov dword [ebp - 0x34], 0x10514474
mov dword [ebp - 0x30], 0x10514e
xor cl, byte [ebp + edx - 0x33]
mov byte [ebp + edx - 0x33], cl
inc edx
cmp edx, 6
jae 0x10013f60
mov cl, byte [ebp - 0x34]
jmp 0x10013f4d
mov byte [ebp - 0x2d], bl
jmp 0x10013fae
mov ecx, ebx
cmp edx, edi
jae 0x10013f8a
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 0x10013f60
mov dl, byte [ebp - 0x34]
jmp 0x10013f7b
mov dl, 0x38
mov dword [ebp - 0x34], 0x25c1d38
mov word [ebp - 0x30], 0x5c1d
mov byte [ebp - 0x2e], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 5
jae 0x10013fab
mov dl, byte [ebp - 0x34]
jmp 0x10013f9c
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.1000409e
lea eax, [ebp - 0x50]
push eax
call fcn.10003b83
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10006e3f
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.10003f4a
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x10047aa0]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x5e702658
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 0x10013fff
sub esp, 0x18
mov byte [ebp - 0x3c], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.1000409e
lea eax, [ebp - 0x68]
push eax
call fcn.10003b83
add esp, 0x20
mov byte [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi + 8]
call fcn.1000b8a4
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.10003f4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.10003f4a
mov ecx, 0xe10
cmp dword [esi + 0x24], 0
jg 0x10014066
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov al, byte [esi + 0x21]
test al, al
je 0x1001421b
movzx eax, word [esi + 0x28]
test ax, ax
jle 0x1001407f
dec eax
mov word [esi + 0x28], ax
movzx edi, word [esi + 0x28]
mov eax, edi
test ax, ax
js 0x1001420c
cwde
cdq
idiv ecx
push 0x3c
mov eax, edx
mov dword [ebp - 0x14], 0xf
cdq
pop ecx
idiv ecx
push 0x3c
movzx ecx, ax
mov eax, edi
cwde
cdq
pop edi
idiv edi
mov dword [ebp - 0x18], ebx
movzx eax, dx
mov byte [ebp - 0x28], bl
push 0xa
pop edx
push eax
push ecx
cmp cx, dx
mov dword [ebp - 4], 2
mov ecx, ebx
jae 0x10014119
cmp ax, dx
jae 0x100140f5
mov dl, 0x6c
mov dword [ebp - 0x34], 0x8495c6c
mov dword [ebp - 0x30], 0x8495c56
mov byte [ebp - 0x2c], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 7
jae 0x100140f0
mov dl, byte [ebp - 0x34]
jmp 0x100140e1
mov byte [ebp - 0x2c], bl
jmp 0x10014161
mov dl, 0x75
mov dword [ebp - 0x34], 0x11504575
mov dword [ebp - 0x30], 0x11504f
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10014114
mov dl, byte [ebp - 0x34]
jmp 0x10014105
mov byte [ebp - 0x2d], bl
jmp 0x10014161
cmp ax, dx
jae 0x1001413d
mov dl, 0x54
mov dword [ebp - 0x34], 0x6e307154
mov dword [ebp - 0x30], 0x307164
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 6
jae 0x10014114
mov dl, byte [ebp - 0x34]
jmp 0x1001412e
mov dl, 0x65
mov dword [ebp - 0x34], 0x5f014065
mov word [ebp - 0x30], 0x140
mov byte [ebp - 0x2e], bl
xor byte [ebp + ecx - 0x33], dl
inc ecx
cmp ecx, 5
jae 0x1001415e
mov dl, byte [ebp - 0x34]
jmp 0x1001414f
mov byte [ebp - 0x2e], bl
sub esp, 0x18
lea eax, [ebp - 0x33]
mov ecx, esp
push eax
call fcn.1000409e
lea eax, [ebp - 0x68]
push eax
call fcn.10003b83
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10006e3f
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.10003f4a
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x10048390]
mov edx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push 0x3c
pop eax
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x40], 0x146f
mov byte [ebp - 0x3e], 0x6a
mov byte [ebp - 0x3d], al
mov word [ebp - 0x3c], 0x12
mov cl, byte [ebp - 0x50]
xor byte [ebp + edx - 0x4f], cl
inc edx
cmp edx, 0x14
jb 0x100141be
sub esp, 0x18
mov byte [ebp - 0x3b], bl
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.1000409e
lea eax, [ebp - 0x68]
push eax
call fcn.10003b83
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.1000b8a4
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.10003f4a
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10003f4a
cmp word [esi + 0x28], bx
jg 0x1001421b
xor eax, eax
mov byte [esi + 0x21], bl
mov word [esi + 0x28], ax
call fcn.100390db
ret