Function at 0x100c9970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031b3d1
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 [0x10611718]
cmp eax, dword [edx + 4]
jg 0x100c99df
mov eax, dword [0x1061197c]
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 0x10611718
call fcn.102bba07
add esp, 4
cmp dword [0x10611718], 0xffffffff
jne 0x100c99bc
mov dword [ebp - 4], 0
cmp byte [0x104ab8d0], 0
jne 0x100c9c53
mov edi, dword [0x104ab8e0]
mov ebx, edi
mov esi, dword [0x104ab8e4]
xor ebx, 0x1de26cd5
mov eax, ebx
mov byte [0x104ab8d0], 1
mov edx, esi
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
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, bl
mov ecx, edx
xor byte [0x104ab8d1], al
mov ebx, edi
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, bl
mov ecx, edx
xor byte [0x104ab8d2], al
mov ebx, edi
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, bl
mov ecx, edx
xor byte [0x104ab8d3], al
mov ebx, edi
xor ebx, 0x1de26cd6
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
shr ecx, 7
xor ebx, eax
xor edx, ecx
mov eax, ebx
shld edx, eax, 0x11
mov edx, esi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, bl
mov ecx, edx
xor byte [0x104ab8d4], al
mov ebx, edi
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, bl
mov ecx, edx
xor byte [0x104ab8d5], al
mov ebx, edi
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, bl
mov ecx, edx
xor byte [0x104ab8d6], al
mov ebx, edi
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 edx, 0xd28f2c5
xor al, bl
mov ecx, edx
xor byte [0x104ab8d7], al
mov ebx, edi
xor ebx, 0x1de26cd2
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 esi, 0xd28f2c5
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, 0x1de26cdd
xor al, bl
xor byte [0x104ab8d8], 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 [0x104ab8d9], al
jmp 0x100c9c53
push ecx
push 0x104ab8d9
push 0x104ab8d1
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 [0x104a9bd0], 0
jne 0x100c9ceb
mov byte [0x104a9bd0], 1
xor eax, eax
jmp 0x100c9c90
xor esi, esi
mov ebx, eax
xor esi, dword [0x104a9bec]
xor ebx, dword [0x104a9be8]
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 + 0x104a9bd1]
xor esi, edx
mov edx, ebx
shld esi, edx, 0x11
shl edx, 0x11
xor dl, bl
xor dl, cl
mov byte [eax + 0x104a9bd1], dl
inc eax
cmp eax, 0x11
jb 0x100c9c90
jmp 0x100c9ceb
push ecx
push 0x104a9be1
push 0x104a9bd1
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 [0x1061197c], eax
call fcn.10019dd0
lea ecx, [ebp - 0x40]
call fcn.10019dd0
push 0x10611718
call fcn.102bb9b6
mov eax, dword [0x1061197c]
add esp, 4
add eax, dword [ebp - 0x4c]
jmp 0x100c99c3