Function at 0x100d24e0
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, 0x101080ea
call fcn.100de193
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
movlpd qword [esp + 0x48], xmm0
push 0
push eax
mov edx, 0x1b
movlpd qword [esp + 0x58], xmm0
mov ecx, ebx
call fcn.100cb800
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
test esi, esi
jne 0x100d2843
mov eax, dword [ebx + 0x118]
mov ebp, dword [esp + 0x1c]
cdq
push edx
push eax
push 1
push ebp
call fcn.10065ff0
mov eax, dword [ebx + 0x100]
cdq
push edx
push eax
push 2
push ebp
call fcn.10065ff0
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.10064e80
add esp, 4
cmp eax, 0x64
jne 0x100d25c5
push 0
push ebp
call fcn.100656d0
xor edi, edi
add esp, 8
mov ebp, eax
cmp dword [ebx + 0x100], edi
jle 0x100d25bd
lea eax, [esp + 0x28]
mov edx, ebp
push eax
push edi
mov ecx, ebx
call fcn.100d22c0
xor dword [esp + 0x34], eax
inc edi
xor dword [esp + 0x38], edx
add esp, 8
cmp edi, dword [ebx + 0x100]
jl 0x100d2596
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
test esi, esi
je 0x100d2571
push ebp
call fcn.10064010
add esp, 4
test esi, esi
jne 0x100d281b
mov esi, eax
test eax, eax
jne 0x100d281b
mov eax, dword [ebx + 0x24]
push dword [ebx + 0xe0]
mov dword [esp + 0x14], esi
push str.SELECT__s
mov eax, dword [eax]
mov dword [esp + 0x48], eax
call fcn.10042120
mov edi, eax
add esp, 8
test edi, edi
jne 0x100d2622
lea esi, [eax + 7]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
push dword [esp + 0x10]
call fcn.10063f50
add esp, 4
jmp 0x100d2823
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, edi
call fcn.10096d90
add esp, 0x14
mov esi, eax
push edi
call fcn.1003f620
add esp, 4
test esi, esi
jne 0x100d2609
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
push dword [esp + 0x10]
call fcn.10064e80
add esp, 4
cmp eax, 0x64
jne 0x100d2611
push 0
push dword [esp + 0x14]
call fcn.10065740
add esp, 8
mov dword [esp + 0x38], eax
cmp dword [ebx + 0x2c], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], 0
je 0x100d26a0
mov ecx, dword [ebx + 0x18]
inc ecx
push ecx
push dword [esp + 0x14]
call fcn.100656d0
add esp, 8
mov dword [esp + 0x18], eax
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [ebx + 0x18]
jge 0x100d2656
mov eax, dword [ebx + 0x20]
cmp byte [ecx + eax], 0
jne 0x100d2800
lea eax, [ecx + 1]
push eax
push dword [esp + 0x14]
call fcn.10065800
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 0x24]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], 0
call fcn.100c8230
mov esi, eax
add esp, 0x14
mov eax, dword [esp + 0x14]
test esi, esi
jne 0x100d27e3
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 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 + 0x2c]
mov dword [esp + 0x30], 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 0x100d27df
push dword [esp + 0x24]
mov edx, dword [esp + 0x24]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push eax
push dword [esp + 0x2c]
call fcn.100d2200
xor edi, eax
mov esi, 1
mov eax, dword [esp + 0x2c]
add esp, 0x18
xor ebp, edx
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x100], esi
jle 0x100d26f2
mov edi, 0x18
nop dword [eax]
mov eax, dword [ebx + 0x104]
mov edx, dword [edi + eax]
cmp edx, dword [esp + 0x20]
jg 0x100d27c6
push dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
push dword [esp + 0x20]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push esi
push dword [esp + 0x2c]
call fcn.100d2200
xor dword [esp + 0x40], eax
add esp, 0x18
xor ebp, edx
inc esi
add edi, 0x18
cmp esi, dword [ebx + 0x100]
jl 0x100d2790
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
jmp 0x100d26f2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100d27f4
push eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp esi, 0x65
cmove esi, eax
inc ecx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x100d26a6
push dword [esp + 0x10]
call fcn.10063f50
add esp, 4
jmp 0x100d2823
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x2c], edi
jne 0x100d282f
cmp dword [esp + 0x30], ebp
je 0x100d2843
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