Function at 0x100345a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, 0xc
call fcn.1008bd60
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [edx + 4]
push ebx
push ebp
push esi
mov esi, eax
push edi
mov edi, dword [esp + 0x28]
xor ecx, dword [edi]
ror esi, 8
and esi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or esi, eax
xor esi, dword [edi + 4]
mov eax, dword [edx + 8]
mov ebx, eax
ror ebx, 8
and ebx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebx, eax
mov eax, dword [edx + 0xc]
xor ebx, dword [edi + 8]
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
xor edx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x100b4a28]
movzx ebp, bh
xor eax, dword [ebp*4 + 0x100b4e28]
mov ebp, dword [esp + 0x14]
xor eax, dword [ecx*4 + 0x100b4628]
mov ecx, esi
and ecx, 0xff
xor eax, dword [ecx*4 + 0x100b5228]
shr ebp, 0x10
xor eax, dword [edi + 0x10]
and ebp, 0xff
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x100b4e28]
xor ecx, dword [ebp*4 + 0x100b4a28]
mov ebp, esi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x100b4628]
mov ebp, ebx
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x100b5228]
movzx ebp, byte [esp + 0x15]
xor ecx, dword [edi + 0x14]
mov dword [esp + 0x28], esi
shr esi, 0x10
mov dword [esp + 0x20], ecx
and esi, 0xff
mov ecx, dword [esi*4 + 0x100b4a28]
xor ecx, dword [ebp*4 + 0x100b4e28]
mov esi, ebx
shr esi, 0x18
xor ecx, dword [esi*4 + 0x100b4628]
mov dword [esp + 0x18], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x100b5228]
mov dword [esp + 0x10], eax
xor ecx, dword [edi + 0x18]
movzx edx, byte [esp + 0x29]
mov esi, dword [esp + 0x18]
mov ebp, dword [edi + 0xf0]
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x100b4a28]
xor ebx, dword [edx*4 + 0x100b4e28]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x100b4628]
mov esi, dword [esp + 0x14]
and esi, 0xff
xor ebx, dword [esi*4 + 0x100b5228]
sar ebp, 1
xor ebx, dword [edi + 0x1c]
sub ebp, 1
mov dword [esp + 0x18], ebx
lea esi, [edi + 0x20]
je 0x1003493c
mov edx, ebx
shr eax, 0x18
shr edx, 0x10
movzx edi, ch
and edx, 0xff
mov edx, dword [edx*4 + 0x100b4a28]
xor edx, dword [edi*4 + 0x100b4e28]
mov edi, dword [esp + 0x10]
xor edx, dword [eax*4 + 0x100b4628]
mov eax, dword [esp + 0x20]
shr edi, 0x10
and edi, 0xff
mov dword [esp + 0x28], edi
and eax, 0xff
xor edx, dword [eax*4 + 0x100b5228]
movzx eax, bh
mov edi, dword [eax*4 + 0x100b4e28]
mov eax, dword [esp + 0x28]
xor edi, dword [eax*4 + 0x100b4a28]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor edi, dword [eax*4 + 0x100b4628]
mov eax, ecx
and eax, 0xff
xor edi, dword [eax*4 + 0x100b5228]
mov eax, dword [esp + 0x20]
xor edi, dword [esi + 4]
shr eax, 0x10
mov dword [esp + 0x28], edi
movzx edi, byte [esp + 0x11]
and eax, 0xff
mov eax, dword [eax*4 + 0x100b4a28]
xor eax, dword [edi*4 + 0x100b4e28]
mov edi, ecx
shr edi, 0x18
xor eax, dword [edi*4 + 0x100b4628]
movzx edi, byte [esp + 0x21]
xor edx, dword [esi]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100b4a28]
xor ecx, dword [edi*4 + 0x100b4e28]
mov edi, dword [esp + 0x18]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x100b4628]
mov edi, dword [esp + 0x10]
and edi, 0xff
xor ecx, dword [edi*4 + 0x100b5228]
and ebx, 0xff
xor eax, dword [ebx*4 + 0x100b5228]
xor ecx, dword [esi + 0xc]
xor eax, dword [esi + 8]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x100b4a28]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x100b4e28]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x100b4628]
mov ebx, dword [esp + 0x28]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x100b5228]
mov ebx, edx
xor edi, dword [esi + 0x10]
shr ebx, 0x10
mov dword [esp + 0x10], edi
and ebx, 0xff
movzx edi, ch
mov edi, dword [edi*4 + 0x100b4e28]
xor edi, dword [ebx*4 + 0x100b4a28]
mov ebx, dword [esp + 0x28]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x100b4628]
mov ebx, eax
and ebx, 0xff
xor edi, dword [ebx*4 + 0x100b5228]
mov dword [esp + 0x18], ecx
xor edi, dword [esi + 0x14]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x100b4a28]
movzx ebx, dh
xor edi, dword [ebx*4 + 0x100b4e28]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x100b4628]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x100b5228]
shr eax, 0x10
xor edi, dword [esi + 0x18]
and eax, 0xff
mov ebx, dword [eax*4 + 0x100b4a28]
mov eax, dword [esp + 0x18]
mov ecx, edi
movzx edi, byte [esp + 0x29]
xor ebx, dword [edi*4 + 0x100b4e28]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x100b4628]
mov eax, dword [esp + 0x10]
and edx, 0xff
xor ebx, dword [edx*4 + 0x100b5228]
add esi, 0x20
xor ebx, dword [esi - 4]
sub ebp, 1
mov dword [esp + 0x18], ebx
jne 0x10034735
mov edx, ebx
shr edx, 0x10
and edx, 0xff
movzx edi, byte [edx + 0x100b5628]
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov edx, eax
shr edx, 0x18
mov bh, byte [edx + 0x100b5628]
movzx edx, ch
movzx edx, byte [edx + 0x100b5628]
xor edi, ebx
shl edi, 8
xor edi, edx
mov edx, dword [esp + 0x20]
and edx, 0xff
movzx edx, byte [edx + 0x100b5628]
shl edi, 8
xor edi, edx
xor edi, dword [esi]
xor ebx, ebx
mov edx, edi
ror edx, 8
and edx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or edx, edi
mov edi, dword [esp + 0x24]
mov dword [edi], edx
mov edx, eax
shr edx, 0x10
and edx, 0xff
movzx edi, byte [edx + 0x100b5628]
mov edx, dword [esp + 0x20]
shr edx, 0x18
mov bh, byte [edx + 0x100b5628]
xor edi, ebx
mov ebx, dword [esp + 0x28]
shl edi, 8
movzx edx, bh
movzx edx, byte [edx + 0x100b5628]
xor edi, edx
shl edi, 8
mov edx, ecx
and edx, 0xff
movzx edx, byte [edx + 0x100b5628]
xor edi, edx
xor edi, dword [esi + 4]
mov dword [esp + 0x28], ecx
mov edx, edi
ror edx, 8
and edx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or edx, edi
mov edi, dword [esp + 0x24]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x20]
shr edx, 0x10
and edx, 0xff
movzx edi, byte [edx + 0x100b5628]
mov edx, ecx
shr edx, 0x18
xor ecx, ecx
mov ch, byte [edx + 0x100b5628]
movzx edx, ah
movzx edx, byte [edx + 0x100b5628]
xor edi, ecx
shl edi, 8
xor edi, edx
mov edx, ebx
and edx, 0xff
movzx edx, byte [edx + 0x100b5628]
shl edi, 8
xor edi, edx
xor edi, dword [esi + 8]
mov edx, edi
ror edx, 8
and edx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
or edx, edi
shr ecx, 0x10
and ecx, 0xff
mov dword [ebp + 8], edx
movzx edi, byte [ecx + 0x100b5628]
movzx edx, byte [esp + 0x21]
xor ecx, ecx
shr ebx, 0x18
mov ch, byte [ebx + 0x100b5628]
and eax, 0xff
xor edi, ecx
movzx ecx, byte [edx + 0x100b5628]
movzx edx, byte [eax + 0x100b5628]
shl edi, 8
xor edi, ecx
shl edi, 8
xor edi, edx
xor edi, dword [esi + 0xc]
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
pop edi
pop esi
mov dword [ebp + 0xc], eax
pop ebp
pop ebx
add esp, 0xc
ret