Function at 0x4345e0
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.0047c4f0
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 + 0x495b90]
movzx ebp, bh
xor eax, dword [ebp*4 + 0x495f90]
mov ebp, dword [esp + 0x14]
xor eax, dword [ecx*4 + 0x495790]
mov ecx, esi
and ecx, 0xff
xor eax, dword [ecx*4 + 0x496390]
shr ebp, 0x10
xor eax, dword [edi + 0x10]
and ebp, 0xff
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x495f90]
xor ecx, dword [ebp*4 + 0x495b90]
mov ebp, esi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x495790]
mov ebp, ebx
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x496390]
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 + 0x495b90]
xor ecx, dword [ebp*4 + 0x495f90]
mov esi, ebx
shr esi, 0x18
xor ecx, dword [esi*4 + 0x495790]
mov dword [esp + 0x18], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x496390]
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 + 0x495b90]
xor ebx, dword [edx*4 + 0x495f90]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x495790]
mov esi, dword [esp + 0x14]
and esi, 0xff
xor ebx, dword [esi*4 + 0x496390]
sar ebp, 1
xor ebx, dword [edi + 0x1c]
sub ebp, 1
mov dword [esp + 0x18], ebx
lea esi, [edi + 0x20]
je 0x43497c
mov edx, ebx
shr eax, 0x18
shr edx, 0x10
movzx edi, ch
and edx, 0xff
mov edx, dword [edx*4 + 0x495b90]
xor edx, dword [edi*4 + 0x495f90]
mov edi, dword [esp + 0x10]
xor edx, dword [eax*4 + 0x495790]
mov eax, dword [esp + 0x20]
shr edi, 0x10
and edi, 0xff
mov dword [esp + 0x28], edi
and eax, 0xff
xor edx, dword [eax*4 + 0x496390]
movzx eax, bh
mov edi, dword [eax*4 + 0x495f90]
mov eax, dword [esp + 0x28]
xor edi, dword [eax*4 + 0x495b90]
mov eax, dword [esp + 0x20]
shr eax, 0x18
xor edi, dword [eax*4 + 0x495790]
mov eax, ecx
and eax, 0xff
xor edi, dword [eax*4 + 0x496390]
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 + 0x495b90]
xor eax, dword [edi*4 + 0x495f90]
mov edi, ecx
shr edi, 0x18
xor eax, dword [edi*4 + 0x495790]
movzx edi, byte [esp + 0x21]
xor edx, dword [esi]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x495b90]
xor ecx, dword [edi*4 + 0x495f90]
mov edi, dword [esp + 0x18]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x495790]
mov edi, dword [esp + 0x10]
and edi, 0xff
xor ecx, dword [edi*4 + 0x496390]
and ebx, 0xff
xor eax, dword [ebx*4 + 0x496390]
xor ecx, dword [esi + 0xc]
xor eax, dword [esi + 8]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x495b90]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x495f90]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x495790]
mov ebx, dword [esp + 0x28]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x496390]
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 + 0x495f90]
xor edi, dword [ebx*4 + 0x495b90]
mov ebx, dword [esp + 0x28]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x495790]
mov ebx, eax
and ebx, 0xff
xor edi, dword [ebx*4 + 0x496390]
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 + 0x495b90]
movzx ebx, dh
xor edi, dword [ebx*4 + 0x495f90]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x495790]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x496390]
shr eax, 0x10
xor edi, dword [esi + 0x18]
and eax, 0xff
mov ebx, dword [eax*4 + 0x495b90]
mov eax, dword [esp + 0x18]
mov ecx, edi
movzx edi, byte [esp + 0x29]
xor ebx, dword [edi*4 + 0x495f90]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x495790]
mov eax, dword [esp + 0x10]
and edx, 0xff
xor ebx, dword [edx*4 + 0x496390]
add esi, 0x20
xor ebx, dword [esi - 4]
sub ebp, 1
mov dword [esp + 0x18], ebx
jne 0x434775
mov edx, ebx
shr edx, 0x10
and edx, 0xff
movzx edi, byte [edx + 0x496790]
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov edx, eax
shr edx, 0x18
mov bh, byte [edx + 0x496790]
movzx edx, ch
movzx edx, byte [edx + 0x496790]
xor edi, ebx
shl edi, 8
xor edi, edx
mov edx, dword [esp + 0x20]
and edx, 0xff
movzx edx, byte [edx + 0x496790]
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 + 0x496790]
mov edx, dword [esp + 0x20]
shr edx, 0x18
mov bh, byte [edx + 0x496790]
xor edi, ebx
mov ebx, dword [esp + 0x28]
shl edi, 8
movzx edx, bh
movzx edx, byte [edx + 0x496790]
xor edi, edx
shl edi, 8
mov edx, ecx
and edx, 0xff
movzx edx, byte [edx + 0x496790]
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 + 0x496790]
mov edx, ecx
shr edx, 0x18
xor ecx, ecx
mov ch, byte [edx + 0x496790]
movzx edx, ah
movzx edx, byte [edx + 0x496790]
xor edi, ecx
shl edi, 8
xor edi, edx
mov edx, ebx
and edx, 0xff
movzx edx, byte [edx + 0x496790]
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 + 0x496790]
movzx edx, byte [esp + 0x21]
xor ecx, ecx
shr ebx, 0x18
mov ch, byte [ebx + 0x496790]
and eax, 0xff
xor edi, ecx
movzx ecx, byte [edx + 0x496790]
movzx edx, byte [eax + 0x496790]
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