Function at 0x100cde80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
push ebx
push ebp
push esi
mov ebx, ecx
mov dword [esp + 0x40], edx
push edi
mov ecx, 0x10103106
call fcn.100d96c4
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
movlpd qword [esp + 0x48], xmm0
push 0
push eax
mov edx, 0x1b
movlpd qword [esp + 0x58], xmm0
mov ecx, ebx
call fcn.100c7290
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
test esi, esi
jne 0x100ce1f9
mov eax, dword [ebx + 0x118]
mov ebp, dword [esp + 0x20]
cdq
push edx
push eax
push 1
push ebp
call fcn.100651a0
mov eax, dword [ebx + 0xfc]
cdq
push edx
push eax
push 2
push ebp
call fcn.100651a0
mov eax, dword [esp + 0x6c]
add esp, 0x20
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
push ebp
call fcn.10064030
add esp, 4
cmp eax, 0x64
jne 0x100cdf65
push 0
push ebp
call fcn.10064880
xor edi, edi
add esp, 8
mov ebp, eax
cmp dword [ebx + 0xfc], edi
jle 0x100cdf5d
lea eax, [esp + 0x28]
mov edx, ebp
push eax
push edi
mov ecx, ebx
call fcn.100cdc60
xor dword [esp + 0x34], eax
inc edi
xor dword [esp + 0x38], edx
add esp, 8
cmp edi, dword [ebx + 0xfc]
jl 0x100cdf36
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
test esi, esi
je 0x100cdf11
push ebp
call fcn.100631f0
add esp, 4
test esi, esi
jne 0x100ce1d1
mov esi, eax
test eax, eax
jne 0x100ce1d1
mov eax, dword [ebx + 0x24]
push dword [ebx + 0xdc]
mov dword [esp + 0x20], esi
push str.SELECT__s
mov eax, dword [eax]
mov dword [esp + 0x48], eax
call fcn.10041480
mov edi, eax
add esp, 8
test edi, edi
jne 0x100cdfc2
push dword [esp + 0x1c]
mov ebp, dword [esp + 0x58]
lea esi, [eax + 7]
mov edi, dword [esp + 0x54]
call fcn.10063130
add esp, 4
jmp 0x100ce1d9
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x1c]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, edi
call fcn.100942b0
add esp, 0x14
mov esi, eax
push edi
call fcn.1003ea80
mov ebp, dword [esp + 0x58]
add esp, 4
mov edi, dword [esp + 0x50]
test esi, esi
jne 0x100ce1c3
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
push edi
call fcn.10064030
add esp, 4
cmp eax, 0x64
jne 0x100ce1bf
push 0
push edi
call fcn.100648f0
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x2c], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], 0
je 0x100ce047
mov ecx, dword [ebx + 0x18]
inc ecx
push ecx
push edi
call fcn.10064880
add esp, 8
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x18], ecx
nop dword [eax]
cmp ecx, dword [ebx + 0x18]
jge 0x100ce002
mov eax, dword [ebx + 0x20]
cmp byte [ecx + eax], 0
jne 0x100ce1b2
lea esi, [ecx + 1]
push esi
push edi
call fcn.100649b0
push esi
push dword [esp + 0x28]
mov edi, eax
call fcn.10064690
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebx + 0x24]
push eax
push edi
mov dword [esp + 0x30], 0
call fcn.100c3cf0
mov esi, eax
add esp, 0x1c
mov eax, dword [esp + 0x14]
test esi, esi
jne 0x100ce191
mov edi, dword [esp + 0x18]
nop dword [eax + eax]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], 0
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x54], 0
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0
push ecx
lea ecx, [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x100ce18d
push dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
push edi
push dword [esp + 0x3c]
push dword [esp + 0x44]
push eax
push dword [esp + 0x34]
call fcn.100cdba0
xor dword [esp + 0x28], eax
mov esi, 1
mov eax, dword [esp + 0x2c]
add esp, 0x18
xor ebp, edx
cmp dword [ebx + 0xfc], esi
jle 0x100ce0b0
mov edi, 0x18
mov eax, dword [ebx + 0x100]
mov edx, dword [edi + eax]
cmp edx, dword [esp + 0x24]
jg 0x100ce178
push dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
push dword [esp + 0x1c]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push esi
push dword [esp + 0x34]
call fcn.100cdba0
xor dword [esp + 0x28], eax
add esp, 0x18
xor ebp, edx
inc esi
add edi, 0x18
cmp esi, dword [ebx + 0xfc]
jl 0x100ce142
mov eax, dword [esp + 0x14]
jmp 0x100ce0a4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100ce1a2
push eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edi, dword [esp + 0x1c]
cmp esi, 0x65
cmove esi, eax
inc ecx
mov dword [esp + 0x18], ecx
test esi, esi
je 0x100ce050
mov edi, dword [esp + 0x10]
push dword [esp + 0x1c]
call fcn.10063130
add esp, 4
jmp 0x100ce1d9
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x2c], edi
jne 0x100ce1e5
cmp dword [esp + 0x30], ebp
je 0x100ce1f9
mov eax, dword [esp + 0x44]
mov dword [eax], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x44]
pop edi
mov dword [eax], 1
mov eax, esi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret