Function at 0x1011358c
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x10223ca0]
push ebx
push ebp
push esi
cmp byte [eax + 0x34e0], 0
mov ebx, ecx
push edi
mov dword [esp + 0x10], ebx
je case.0x10113571.0
mov edx, dword [eax + 0x34e8]
add eax, 0x34e8
cmp edx, 3
ja case.0x10113571.0
jmp dword [edx*4 + 0x101138fc]
mov ecx, eax
call fcn.100ca910
jmp 0x10113584
mov al, byte [eax + 0x20]
test al, al
je case.0x10113571.0
mov eax, dword [0x10225524]
mov ecx, dword [eax]
test ecx, ecx
je case.0x10113571.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je case.0x10113571.0
test byte [0x103427a0], 1
jne case.0x10113571.0
mov eax, dword [0x10225524]
mov ecx, dword [0x10224d4c]
mov esi, dword [eax]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov ecx, dword [0x1034c394]
cmp ecx, dword [edi + 4]
jle 0x10113624
push 0x1034c394
call fcn.10199827
mov ecx, dword [0x1034c394]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10113624
mov edx, 0xc60bf9f2
mov ecx, 0x101e7ed9
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x1034c394
mov dword [0x1034c378], eax
call fcn.101997d6
mov ecx, dword [0x1034c394]
add esp, 4
mov eax, dword [0x1034c378]
cmp dword [eax + esi + 1], 8
je case.0x10113571.0
mov eax, dword [0x10225524]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x10113681
push 0x1034c394
call fcn.10199827
add esp, 4
cmp dword [0x1034c394], 0xffffffff
jne 0x10113681
mov edx, 0xc60bf9f2
mov ecx, 0x101e7ed9
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x1034c394
mov dword [0x1034c378], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x1034c378]
cmp dword [eax + esi + 1], 9
je case.0x10113571.0
mov eax, dword [0x10223ca8]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x10223c9c]
push 0
mov eax, dword [eax + 0x184]
call eax
mov eax, dword [0x10223ca0]
xor ebp, ebp
cmp dword [eax + 0x34e4], ebp
jle 0x101138b9
mov ecx, ebx
lea ebx, [ecx + 0x30]
mov esi, dword [ebx]
mov eax, esi
or eax, 4
mov dword [ebx], eax
call fcn.10099d00
mov dword [ebx], esi
mov eax, dword [0x10225524]
mov ecx, dword [0x10342940]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x10113730
push 0x10342940
call fcn.10199827
mov ecx, dword [0x10342940]
add esp, 4
cmp ecx, 0xffffffff
jne 0x10113730
mov edx, 0xc60bf9f2
mov ecx, 0x101e75d5
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x10342940
mov dword [0x10342894], eax
call fcn.101997d6
mov ecx, dword [0x10342940]
add esp, 4
mov eax, dword [0x10342894]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x101f7af8]
lahf
test ah, 0x44
jnp 0x10113822
mov eax, dword [0x10225524]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x101137a1
push 0x10342940
call fcn.10199827
mov ecx, dword [0x10342940]
add esp, 4
cmp ecx, 0xffffffff
jne 0x101137a1
mov edx, 0xc60bf9f2
mov ecx, 0x101e75d5
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x10342940
mov dword [0x10342894], eax
call fcn.101997d6
mov ecx, dword [0x10342940]
add esp, 4
mov eax, dword [0x10342894]
movss xmm0, dword [eax + esi + 8]
ucomiss xmm0, dword [0x101f7af4]
lahf
test ah, 0x44
jnp 0x10113822
mov eax, dword [0x10225524]
mov esi, dword [eax]
cmp ecx, dword [edi + 4]
jle 0x10113806
push 0x10342940
call fcn.10199827
add esp, 4
cmp dword [0x10342940], 0xffffffff
jne 0x10113806
mov edx, 0xc60bf9f2
mov ecx, 0x101e75d5
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x10342940
mov dword [0x10342894], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x10342894]
movss xmm0, dword [eax + esi + 8]
cvtps2pd xmm0, xmm0
ucomisd xmm0, qword [0x101f7ad8]
lahf
test ah, 0x44
jp 0x10113891
mov eax, dword [0x10225524]
mov ecx, dword [eax]
call fcn.1007d890
test byte [eax], 1
jne 0x10113891
mov eax, dword [0x10225524]
mov esi, dword [eax]
mov eax, dword [0x1034c394]
cmp eax, dword [edi + 4]
jle 0x10113885
push 0x1034c394
call fcn.10199827
add esp, 4
cmp dword [0x1034c394], 0xffffffff
jne 0x10113885
mov edx, 0xc60bf9f2
mov ecx, 0x101e7ed9
call fcn.1007d520
mov ecx, eax
call fcn.100d0590
push 0x1034c394
mov dword [0x1034c378], eax
call fcn.101997d6
add esp, 4
mov eax, dword [0x1034c378]
cmp dword [eax + esi + 1], 9
jne 0x101138b0
mov eax, dword [0x10223ca0]
xor cl, cl
inc ebp
mov byte [0x1034f099], cl
cmp ebp, dword [eax + 0x34e4]
jge 0x101138c2
mov ecx, dword [esp + 0x10]
jmp 0x101136c5
mov byte [0x1034f099], 1
jmp 0x101138c6
mov cl, byte [0x1034f099]
add ebx, 0x30
test cl, cl
je 0x101138c9
or dword [ebx], 4
mov eax, dword [0x10223ca8]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 0x1c]
dec eax
push eax
mov eax, dword [0x10223c9c]
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.10099d00
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret