Function at 0x100cb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031b751
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 [0x10611834]
cmp eax, dword [edx + 4]
jg 0x100cb990
mov eax, dword [0x106119a0]
mov eax, dword [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 0x10611834
call fcn.102bba07
add esp, 4
cmp dword [0x10611834], 0xffffffff
jne 0x100cb96c
mov dword [ebp - 4], 0
cmp byte [0x104aafa0], 0
jne 0x100cbc70
mov edi, dword [0x104aafb0]
mov ebx, edi
mov esi, dword [0x104aafb4]
xor ebx, 0x1de26cd5
mov eax, ebx
mov byte [0x104aafa0], 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 [0x104aafa1]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aafa1], 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 [0x104aafa2]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aafa2], 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 [0x104aafa3]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aafa3], 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 [0x104aafa4]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aafa4], 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 [0x104aafa5]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aafa5], 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 [0x104aafa6]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aafa6], 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 [0x104aafa7]
xor al, bl
mov ebx, edi
xor ebx, 0x1de26cd2
mov byte [0x104aafa7], 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 [0x104aafa8]
mov ecx, edx
xor al, bl
mov ebx, edi
mov byte [0x104aafa8], 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 [0x104aafa9]
xor al, bl
mov byte [0x104aafa9], 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 [0x104aafaa], al
jmp 0x100cbc70
push ecx
push 0x104aafaa
push 0x104aafa1
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 [0x104aa860], 0
jne 0x100cbd01
mov byte [0x104aa860], 1
xor eax, eax
jmp 0x100cbca6
xor esi, esi
mov ebx, eax
xor esi, dword [0x104aa87c]
xor ebx, dword [0x104aa878]
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 + 0x104aa861]
xor esi, edx
mov edx, ebx
shld esi, edx, 0x11
shl edx, 0x11
xor dl, bl
xor dl, cl
mov byte [eax + 0x104aa861], dl
inc eax
cmp eax, 0x11
jb 0x100cbca6
jmp 0x100cbd01
push ecx
push 0x104aa871
push 0x104aa861
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 [0x106119a0], eax
call fcn.10019dd0
lea ecx, [ebp - 0x40]
call fcn.10019dd0
push 0x10611834
call fcn.102bb9b6
mov eax, dword [0x106119a0]
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax + ecx]
jmp 0x100cb974