Function at 0x100e1740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031c961
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
mov eax, dword fs:[0x2c]
mov edx, dword [0x104c14e0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10611a54]
cmp eax, dword [edx + 4]
jg 0x100e17af
mov eax, dword [0x106118b0]
add eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret
push 0x10611a54
call fcn.102bba07
add esp, 4
cmp dword [0x10611a54], 0xffffffff
jne 0x100e178c
mov dword [ebp - 4], 0
cmp byte [0x104aa5c0], 0
jne 0x100e1a8f
mov edi, dword [0x104aa5d0]
mov ebx, edi
mov esi, dword [0x104aa5d4]
xor ebx, 0x1de26cd5
mov eax, ebx
mov byte [0x104aa5c0], 1
mov edx, esi
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104aa5c1]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aa5c1], al
xor ebx, 0x1de26cd4
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104aa5c2]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aa5c2], al
xor ebx, 0x1de26cd7
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104aa5c3]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aa5c3], al
xor ebx, 0x1de26cd6
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor ebx, eax
xor edx, ecx
mov eax, ebx
mov ecx, edx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104aa5c4]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aa5c4], al
xor ebx, 0x1de26cd1
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104aa5c5]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aa5c5], al
xor ebx, 0x1de26cd0
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104aa5c6]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aa5c6], al
xor ebx, 0x1de26cd3
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor al, byte [0x104aa5c7]
xor al, bl
mov ebx, edi
xor ebx, 0x1de26cd2
mov byte [0x104aa5c7], al
xor edx, 0xd28f2c5
mov eax, ebx
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
xor esi, 0xd28f2c5
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104aa5c8]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aa5c8], al
xor ebx, 0x1de26cdd
mov eax, ebx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor ebx, eax
mov ecx, edx
mov eax, ebx
shrd eax, ecx, 7
xor ebx, eax
shr ecx, 7
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, edi
mov ecx, esi
shl eax, 0x11
xor edx, 0x1de26cdc
xor al, byte [0x104aa5c9]
xor al, bl
mov byte [0x104aa5c9], al
mov eax, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor esi, ecx
xor edx, eax
mov ecx, esi
mov eax, edx
shrd eax, ecx, 7
xor edx, eax
shr ecx, 7
xor esi, ecx
mov eax, edx
shld esi, eax, 0x11
shl eax, 0x11
xor al, dl
xor byte [0x104aa5ca], al
jmp 0x100e1a8f
push ecx
push 0x104aa5ca
push 0x104aa5c1
lea ecx, [ebp - 0x40]
call fcn.1001a620
mov byte [ebp - 4], 1
lea edi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae edi, dword [ebp - 0x40]
cmp byte [0x104aaa20], 0
jne 0x100e1b20
mov byte [0x104aaa20], 1
xor eax, eax
jmp 0x100e1ac5
xor esi, esi
mov ebx, eax
xor esi, dword [0x104aaa3c]
xor ebx, dword [0x104aaa38]
xor esi, 0xd28f2c5
xor ebx, 0x1de26cd5
mov edx, esi
mov ecx, ebx
shld edx, ecx, 0xd
xor esi, edx
shl ecx, 0xd
xor ebx, ecx
mov edx, esi
mov ecx, ebx
shrd ecx, edx, 7
shr edx, 7
xor ebx, ecx
mov cl, byte [eax + 0x104aaa21]
xor esi, edx
mov edx, ebx
shld esi, edx, 0x11
shl edx, 0x11
xor dl, bl
xor dl, cl
mov byte [eax + 0x104aaa21], dl
inc eax
cmp eax, 0x11
jb 0x100e1ac5
jmp 0x100e1b20
push ecx
push 0x104aaa31
push 0x104aaa21
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0
cmovae eax, dword [ebp - 0x28]
push edi
push eax
call fcn.10171b70
lea ecx, [ebp - 0x28]
mov dword [0x106118b0], eax
call fcn.10019dd0
lea ecx, [ebp - 0x40]
call fcn.10019dd0
push 0x10611a54
call fcn.102bb9b6
mov eax, dword [0x106118b0]
add esp, 4
add eax, dword [ebp - 0x4c]
jmp 0x100e1793