Function at 0x100c9560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1031b381
mov eax, dword fs:[0]
push eax
sub esp, 0x40
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 [0x106118e4]
cmp eax, dword [edx + 4]
jg 0x100c95d0
mov eax, dword [0x106116ec]
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 0x106118e4
call fcn.102bba07
add esp, 4
cmp dword [0x106118e4], 0xffffffff
jne 0x100c95ac
mov dword [ebp - 4], 0
cmp byte [0x104aae70], 0
jne 0x100c9844
mov edi, dword [0x104aae80]
mov ebx, edi
mov esi, dword [0x104aae84]
xor ebx, 0x1de26cd5
mov eax, ebx
mov byte [0x104aae70], 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 [0x104aae71], 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 [0x104aae72], 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 [0x104aae73], 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 [0x104aae74], 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 [0x104aae75], 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 [0x104aae76], 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 [0x104aae77], 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 [0x104aae78], 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 [0x104aae79], al
jmp 0x100c9844
push ecx
push 0x104aae79
push 0x104aae71
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 [0x104ac2f0], 0
jne 0x100c98db
mov byte [0x104ac2f0], 1
xor eax, eax
jmp 0x100c9880
xor esi, esi
mov ebx, eax
xor esi, dword [0x104ac304]
xor ebx, dword [0x104ac300]
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 + 0x104ac2f1]
xor esi, edx
mov edx, ebx
shld esi, edx, 0x11
shl edx, 0x11
xor dl, bl
xor dl, cl
mov byte [eax + 0x104ac2f1], dl
inc eax
cmp eax, 0xc
jb 0x100c9880
jmp 0x100c98db
push ecx
push 0x104ac2fc
push 0x104ac2f1
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 [0x106116ec], eax
call fcn.10019dd0
lea ecx, [ebp - 0x40]
call fcn.10019dd0
push 0x106118e4
call fcn.102bb9b6
mov eax, dword [0x106116ec]
add esp, 4
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax + ecx]
jmp 0x100c95b4