Function at 0x100c9a90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x101a7680]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0xffffffff
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esi + 0x74], eax
lea ebx, [esi + 0x9c]
mov eax, dword [esi + 0xc]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x84], eax
lea eax, [esi + 0x31c]
push eax
push ebx
mov dword [esp + 0x18], ebx
call fcn.100c6190
add esp, 8
cmp dword [esi + 0x64], 0
je 0x100c9cb8
cmp dword [esi + 0x68], 0
je 0x100c9b06
lea edx, [esp + 8]
mov ecx, ebx
call fcn.100cba60
mov eax, dword [esp + 8]
test eax, eax
je 0x100c9cb8
push ebp
xor ebp, ebp
mov dword [esp + 0x10], ebp
cmp dword [0x101a8290], ebp
je 0x100c9cb7
xor ebx, ebx
push edi
nop dword [eax + eax]
mov ecx, dword [ebx + 0x101a82a4]
mov edx, 1
shl edx, cl
test eax, edx
je 0x100c9c66
lea ebp, [esi + 0x1dc]
mov edi, 0x10
lea edx, [ebx + 0x101a82ac]
mov eax, ebp
nop dword [eax + eax]
mov ecx, dword [eax - 0x140]
lea eax, [eax + 0x14]
xor ecx, dword [edx - 4]
lea edx, [edx + 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [eax - 0x150]
xor ecx, dword [edx - 0x14]
mov dword [eax - 0x10], ecx
mov ecx, dword [eax - 0x14c]
xor ecx, dword [edx - 0x10]
mov dword [eax - 0xc], ecx
mov ecx, dword [eax - 0x148]
xor ecx, dword [edx - 0xc]
mov dword [eax - 8], ecx
mov ecx, dword [eax - 0x144]
xor ecx, dword [edx - 8]
mov dword [eax - 4], ecx
sub edi, 1
jne 0x100c9b60
mov ecx, dword [ebx + 0x101a829c]
lea eax, [ecx*4 + 0xc7]
add eax, ecx
lea eax, [esi + eax*4]
cmp ecx, 0x3a
je 0x100c9bda
cmp ecx, 0x41
jne 0x100c9cc9
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100c8960
jmp 0x100c9beb
push eax
push ebp
lea edx, [esp + 0x24]
lea ecx, [esi + 0x88]
call fcn.100c7860
mov ecx, dword [esi + 0xc]
add esp, 8
xor ecx, dword [esp + 0x20]
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x1c]
or ecx, eax
mov eax, dword [esi + 0x18]
xor eax, dword [esp + 0x2c]
or ecx, eax
mov eax, dword [esi + 0x14]
xor eax, dword [esp + 0x28]
or ecx, eax
mov eax, dword [esi + 0x10]
xor eax, dword [esp + 0x24]
or ecx, eax
je 0x100c9c91
cmp dword [esi + 0x6c], 0
je 0x100c9c5e
mov ecx, dword [esi + 0x98]
xor ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x90]
xor eax, dword [esi + 0x7c]
or ecx, eax
mov eax, dword [esi + 0x94]
xor eax, dword [esi + 0x80]
or ecx, eax
mov eax, dword [esi + 0x8c]
xor eax, dword [esi + 0x78]
or ecx, eax
mov eax, dword [esi + 0x88]
xor eax, dword [esi + 0x74]
or ecx, eax
je 0x100c9c91
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
inc ebp
imul ebx, ebp, 0x158
mov dword [esp + 0x14], ebp
cmp dword [ebx + 0x101a8290], 0
jne 0x100c9b30
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1012fb43
add esp, 0x24
ret
cmp dword [esi + 0x60], 0
mov dword [esi + 0x5c], 1
je 0x100c9cb6
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c51e0
mov edx, dword [esp + 0x18]
lea ecx, [esi + 8]
call fcn.100c51e0
pop edi
pop ebp
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
xor ecx, esp
call fcn.1012fb43
add esp, 0x24
ret
call fcn.1014029a
int3