Function at 0x10094c40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, ecx
mov dword [esp + 0x1c], ebp
push edi
mov eax, dword [esi + 0xa98]
dec eax
cmp eax, 4
ja case.default.0x10094c6c
jmp dword [eax*4 + 0x10094f34]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je case.default.0x10094c6c
nop
movzx eax, byte [esi + 0x10b6]
lea ebp, [ebp + 1]
add byte [esi + 0x10b5], al
movzx eax, byte [esi + 0x10b5]
add byte [esi + 0x10b4], al
movzx eax, byte [esi + 0x10b4]
sub byte [ebp - 1], al
sub ecx, 1
jne 0x10094c80
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10142783
add esp, 0x34
ret 8
mov eax, dword [esp + 0x4c]
test eax, eax
je case.default.0x10094c6c
mov edx, 0x1234
add dx, word [esi + 0x10b8]
lea ebp, [ebp + 1]
dec eax
movzx ebx, dx
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 1
movzx eax, al
mov word [esi + 0x10b8], dx
lea ecx, [esi + eax*4]
movzx eax, word [ecx + 0xba4]
xor word [esi + 0x10ba], ax
movzx eax, word [ecx + 0xba6]
mov ecx, 1
sub word [esi + 0x10bc], ax
movzx eax, word [esi + 0x10be]
movzx edx, word [esi + 0x10ba]
movzx edi, word [esi + 0x10bc]
ror ax, cl
xor ax, dx
mov edx, 0x1234
ror ax, cl
movzx eax, ax
mov word [esi + 0x10be], ax
xor eax, edi
xor eax, ebx
mov word [esi + 0x10b8], ax
shr eax, 8
xor byte [ebp - 1], al
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10094cd2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10142783
add esp, 0x34
ret 8
mov edx, dword [esp + 0x4c]
test edx, edx
je case.default.0x10094c6c
dec edx
shr edx, 4
inc edx
mov dword [esp + 0x10], edx
nop word [eax + eax]
mov eax, dword [ebp]
xor eax, dword [esi + 0x10a4]
mov ebx, dword [esi + 0x10ac]
xor ebx, dword [ebp + 8]
movups xmm0, xmmword [ebp]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 4]
xor eax, dword [esi + 0x10a8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [esi + 0x10b0]
mov dword [esp + 0x24], eax
mov eax, 0x1f
mov ebp, dword [esp + 0x24]
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x1c], eax
and eax, 3
mov ecx, ebp
rol ecx, 0xb
add ecx, ebx
mov edx, dword [esi + eax*4 + 0x10a4]
xor ecx, edx
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + esi + 0xfa4]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + esi + 0xfa4]
shl eax, 8
or edi, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + esi + 0xfa4]
or edi, eax
movzx eax, cl
mov ecx, ebx
shl edi, 8
ror ecx, 0xf
xor ecx, ebp
movzx eax, byte [eax + esi + 0xfa4]
add ecx, edx
or edi, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
xor edi, dword [esp + 0x18]
movzx edx, byte [eax + esi + 0xfa4]
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax + esi + 0xfa4]
shl eax, 8
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + esi + 0xfa4]
or edx, eax
movzx eax, cl
shl edx, 8
mov ecx, ebx
mov dword [esp + 0x18], ecx
mov ebx, edi
movzx eax, byte [eax + esi + 0xfa4]
or edx, eax
mov eax, dword [esp + 0x1c]
xor edx, dword [esp + 0x14]
sub eax, 1
mov dword [esp + 0x14], ebp
mov ebp, edx
mov dword [esp + 0x1c], eax
jns 0x10094dd6
mov eax, dword [esi + 0x10a4]
mov ebp, dword [esp + 0x20]
xor eax, edi
mov dword [ebp], eax
mov eax, dword [esi + 0x10a8]
xor eax, edx
mov dword [ebp + 4], eax
mov eax, dword [esi + 0x10ac]
xor eax, ecx
mov ecx, esi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x10b0]
xor eax, dword [esp + 0x14]
mov dword [ebp + 0xc], eax
lea eax, [esp + 0x2c]
push eax
call fcn.10093780
add ebp, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x20], ebp
jne 0x10094d90
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10142783
add esp, 0x34
ret 8
push ebp
push dword [esp + 0x50]
lea ecx, [esi + 0xa9c]
push ebp
call fcn.100e36d0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10142783
add esp, 0x34
ret 8