Function at 0x1010ddcc
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x10240c80]
push ebx
push ebp
push esi
cmp byte [eax + 0x3528], 0
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
je case.0x1010ddb1.0
mov edx, dword [eax + 0x3530]
add eax, 0x3530
cmp edx, 3
ja case.0x1010ddb1.0
jmp dword [edx*4 + 0x1010e13c]
mov ecx, eax
call fcn.100c8da0
jmp 0x1010ddc4
mov al, byte [eax + 0x20]
test al, al
je case.0x1010ddb1.0
mov eax, dword [0x10242574]
mov ecx, dword [eax]
test ecx, ecx
je case.0x1010ddb1.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x1010ddb1.0
test byte [0x104690b8], 1
jne case.0x1010ddb1.0
mov eax, dword [0x10242574]
mov ecx, dword [0x10241d9c]
mov esi, dword [eax]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov ecx, dword [0x1024c13c]
cmp ecx, dword [edi + 4]
jle 0x1010de64
push 0x1024c13c
call fcn.101b643d
mov ecx, dword [0x1024c13c]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010de64
mov edx, 0xc60bf9f2
mov ecx, 0x10204f55
call fcn.1007d6d0
mov ecx, eax
call fcn.100ce730
push 0x1024c13c
mov dword [0x1024c118], eax
call fcn.101b63ec
mov ecx, dword [0x1024c13c]
add esp, 4
mov eax, dword [0x1024c118]
cmp dword [eax + esi + 1], 8
je case.0x1010ddb1.0
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010dec1
push 0x1024c13c
call fcn.101b643d
add esp, 4
cmp dword [0x1024c13c], 0xffffffff
jne 0x1010dec1
mov edx, 0xc60bf9f2
mov ecx, 0x10204f55
call fcn.1007d6d0
mov ecx, eax
call fcn.100ce730
push 0x1024c13c
mov dword [0x1024c118], eax
call fcn.101b63ec
add esp, 4
mov eax, dword [0x1024c118]
cmp dword [eax + esi + 1], 9
je case.0x1010ddb1.0
mov eax, dword [0x10240c88]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x10240c7c]
push 0
mov eax, dword [eax + 0x180]
call eax
mov eax, dword [0x10240c80]
xor ebp, ebp
cmp dword [eax + 0x352c], ebp
jle 0x1010e0f9
mov ecx, ebx
lea ebx, [ecx + 0x30]
mov esi, dword [ebx]
mov eax, esi
or eax, 4
mov dword [ebx], eax
call fcn.10099790
mov dword [ebx], esi
mov eax, dword [0x10242574]
mov ecx, dword [0x102426ec]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010df70
push 0x102426ec
call fcn.101b643d
mov ecx, dword [0x102426ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010df70
mov edx, 0xc60bf9f2
mov ecx, 0x10204651
call fcn.1007d6d0
mov ecx, eax
call fcn.100ce730
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b63ec
mov ecx, dword [0x102426ec]
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x10215978]
lahf
test ah, 0x44
jnp 0x1010e062
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010dfe1
push 0x102426ec
call fcn.101b643d
mov ecx, dword [0x102426ec]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1010dfe1
mov edx, 0xc60bf9f2
mov ecx, 0x10204651
call fcn.1007d6d0
mov ecx, eax
call fcn.100ce730
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b63ec
mov ecx, dword [0x102426ec]
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x10215974]
lahf
test ah, 0x44
jnp 0x1010e062
mov eax, dword [0x10242574]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1010e046
push 0x102426ec
call fcn.101b643d
add esp, 4
cmp dword [0x102426ec], 0xffffffff
jne 0x1010e046
mov edx, 0xc60bf9f2
mov ecx, 0x10204651
call fcn.1007d6d0
mov ecx, eax
call fcn.100ce730
push 0x102426ec
mov dword [0x10242640], eax
call fcn.101b63ec
add esp, 4
mov eax, dword [0x10242640]
movss xmm0, dword [eax + esi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x10215958]
lahf
test ah, 0x44
jp 0x1010e0d1
mov eax, dword [0x10242574]
mov ecx, dword [eax]
call fcn.1007daa0
test byte [eax], 1
jne 0x1010e0d1
mov eax, dword [0x10242574]
mov esi, dword [eax]
mov eax, dword [0x1024c13c]
cmp eax, dword [edi + 4]
jle 0x1010e0c5
push 0x1024c13c
call fcn.101b643d
add esp, 4
cmp dword [0x1024c13c], 0xffffffff
jne 0x1010e0c5
mov edx, 0xc60bf9f2
mov ecx, 0x10204f55
call fcn.1007d6d0
mov ecx, eax
call fcn.100ce730
push 0x1024c13c
mov dword [0x1024c118], eax
call fcn.101b63ec
add esp, 4
mov eax, dword [0x1024c118]
cmp dword [eax + esi + 1], 9
jne 0x1010e0f0
mov eax, dword [0x10240c80]
xor cl, cl
inc ebp
mov byte [0x104693f9], cl
cmp ebp, dword [eax + 0x352c]
jge 0x1010e102
mov ecx, dword [esp + 0x10]
jmp 0x1010df05
mov byte [0x104693f9], 1
jmp 0x1010e106
mov cl, byte [0x104693f9]
add ebx, 0x30
test cl, cl
je 0x1010e109
or dword [ebx], 4
mov eax, dword [0x10240c88]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x10240c7c]
push 0
mov eax, dword [eax + 0x180]
call eax
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.10099790
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret