Function at 0x1011a92c
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x1022ccc8]
push ebx
push ebp
push esi
cmp byte [eax + 0x3644], 0
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
je case.0x1011a911.0
mov edx, dword [eax + 0x364c]
add eax, 0x364c
cmp edx, 3
ja case.0x1011a911.0
jmp dword [edx*4 + 0x1011ac9c]
mov ecx, eax
call fcn.100cf760
jmp 0x1011a924
mov al, byte [eax + 0x20]
test al, al
je case.0x1011a911.0
mov eax, dword [0x1022ee74]
mov ecx, dword [eax]
test ecx, ecx
je case.0x1011a911.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x1011a911.0
test byte [0x1044cc28], 1
jne case.0x1011a911.0
mov eax, dword [0x1022ee74]
mov ecx, dword [0x1022e69c]
mov esi, dword [eax]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov ecx, dword [0x10456834]
cmp ecx, dword [edi + 4]
jle 0x1011a9c4
push 0x10456834
call fcn.101a22b8
mov ecx, dword [0x10456834]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1011a9c4
mov edx, 0xc60bf9f2
mov ecx, 0x101f1061
call fcn.1007ea30
mov ecx, eax
call fcn.100d5410
push 0x10456834
mov dword [0x10456818], eax
call fcn.101a2267
mov ecx, dword [0x10456834]
add esp, 4
mov eax, dword [0x10456818]
cmp dword [eax + esi + 1], 8
je case.0x1011a911.0
mov eax, dword [0x1022ee74]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1011aa21
push 0x10456834
call fcn.101a22b8
add esp, 4
cmp dword [0x10456834], 0xffffffff
jne 0x1011aa21
mov edx, 0xc60bf9f2
mov ecx, 0x101f1061
call fcn.1007ea30
mov ecx, eax
call fcn.100d5410
push 0x10456834
mov dword [0x10456818], eax
call fcn.101a2267
add esp, 4
mov eax, dword [0x10456818]
cmp dword [eax + esi + 1], 9
je case.0x1011a911.0
mov eax, dword [0x1022ccd0]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1022ccc4]
push 0
mov eax, dword [eax + 0x184]
call eax
mov eax, dword [0x1022ccc8]
xor ebp, ebp
cmp dword [eax + 0x3648], ebp
jle 0x1011ac59
mov ecx, ebx
lea ebx, [ecx + 0x30]
mov esi, dword [ebx]
mov eax, esi
or eax, 4
mov dword [ebx], eax
call fcn.1009b030
mov dword [ebx], esi
mov eax, dword [0x1022ee74]
mov ecx, dword [0x1044cde4]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1011aad0
push 0x1044cde4
call fcn.101a22b8
mov ecx, dword [0x1044cde4]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1011aad0
mov edx, 0xc60bf9f2
mov ecx, 0x101f075d
call fcn.1007ea30
mov ecx, eax
call fcn.100d5410
push 0x1044cde4
mov dword [0x1044cd38], eax
call fcn.101a2267
mov ecx, dword [0x1044cde4]
add esp, 4
mov eax, dword [0x1044cd38]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x102012b8]
lahf
test ah, 0x44
jnp 0x1011abc2
mov eax, dword [0x1022ee74]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1011ab41
push 0x1044cde4
call fcn.101a22b8
mov ecx, dword [0x1044cde4]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1011ab41
mov edx, 0xc60bf9f2
mov ecx, 0x101f075d
call fcn.1007ea30
mov ecx, eax
call fcn.100d5410
push 0x1044cde4
mov dword [0x1044cd38], eax
call fcn.101a2267
mov ecx, dword [0x1044cde4]
add esp, 4
mov eax, dword [0x1044cd38]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x102012b4]
lahf
test ah, 0x44
jnp 0x1011abc2
mov eax, dword [0x1022ee74]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x1011aba6
push 0x1044cde4
call fcn.101a22b8
add esp, 4
cmp dword [0x1044cde4], 0xffffffff
jne 0x1011aba6
mov edx, 0xc60bf9f2
mov ecx, 0x101f075d
call fcn.1007ea30
mov ecx, eax
call fcn.100d5410
push 0x1044cde4
mov dword [0x1044cd38], eax
call fcn.101a2267
add esp, 4
mov eax, dword [0x1044cd38]
movss xmm0, dword [eax + esi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x10201298]
lahf
test ah, 0x44
jp 0x1011ac31
mov eax, dword [0x1022ee74]
mov ecx, dword [eax]
call fcn.1007ee70
test byte [eax], 1
jne 0x1011ac31
mov eax, dword [0x1022ee74]
mov esi, dword [eax]
mov eax, dword [0x10456834]
cmp eax, dword [edi + 4]
jle 0x1011ac25
push 0x10456834
call fcn.101a22b8
add esp, 4
cmp dword [0x10456834], 0xffffffff
jne 0x1011ac25
mov edx, 0xc60bf9f2
mov ecx, 0x101f1061
call fcn.1007ea30
mov ecx, eax
call fcn.100d5410
push 0x10456834
mov dword [0x10456818], eax
call fcn.101a2267
add esp, 4
mov eax, dword [0x10456818]
cmp dword [eax + esi + 1], 9
jne 0x1011ac50
mov eax, dword [0x1022ccc8]
xor cl, cl
inc ebp
mov byte [0x10456bb1], cl
cmp ebp, dword [eax + 0x3648]
jge 0x1011ac62
mov ecx, dword [esp + 0x10]
jmp 0x1011aa65
mov byte [0x10456bb1], 1
jmp 0x1011ac66
mov cl, byte [0x10456bb1]
add ebx, 0x30
test cl, cl
je 0x1011ac69
or dword [ebx], 4
mov eax, dword [0x1022ccd0]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x1022ccc4]
push 0
mov eax, dword [eax + 0x184]
call eax
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.1009b030
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret