Function at 0x45b1b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, ecx
push edx
push edi
mov dword [ebp - 4], edi
call fcn.0046ae20
mov esi, ebx
add esp, 0xc
shr esi, 2
xor edx, edx
test esi, esi
je 0x45b1f2
mov ecx, dword [edi + edx*4]
mov eax, ecx
rol ecx, 8
ror eax, 8
xor ecx, eax
and ecx, 0xff00ff
xor ecx, eax
mov dword [edi + edx*4], ecx
inc edx
cmp edx, esi
jb 0x45b1d5
cmp ebx, 0x10
je 0x45b490
cmp ebx, 0x18
je 0x45b37b
cmp ebx, 0x20
jne 0x45b585
mov ecx, dword [edi + 0x1c]
lea esi, [edi + 0x30]
mov eax, ecx
mov ebx, 4
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + 0x490da0]
mov eax, ecx
shr eax, 8
xor edx, 0x1000000
movzx eax, al
and edx, 0xff000000
mov eax, dword [eax*4 + 0x4911a0]
and eax, 0xff0000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor edx, eax
movzx eax, cl
mov ecx, dword [edi + 8]
mov eax, dword [eax*4 + 0x4905a0]
and eax, 0xff00
xor edx, eax
mov eax, dword [edi + 4]
xor edx, dword [edi]
xor eax, edx
mov dword [edi + 0x20], edx
xor ecx, eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xc]
xor eax, ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi - 4]
lea esi, [esi + 0x20]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + 0x4911a0]
mov eax, ecx
shr eax, 8
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x4905a0]
and eax, 0xff00
xor edx, eax
mov eax, ecx
shr eax, 0x18
mov eax, dword [eax*4 + 0x490da0]
and eax, 0xff000000
xor edx, eax
movzx eax, cl
mov ecx, dword [esi - 0x38]
movzx eax, byte [eax*4 + 0x4909a0]
xor edx, eax
mov eax, dword [esi - 0x3c]
xor edx, dword [esi - 0x40]
xor eax, edx
mov dword [esi - 0x20], edx
mov dword [esi - 0x1c], eax
xor ecx, eax
mov eax, dword [esi - 0x34]
xor eax, ecx
mov dword [esi - 0x18], ecx
mov dword [esi - 0x14], eax
mov ecx, dword [esi - 0x14]
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ecx
mov edx, dword [eax*4 + 0x4911a0]
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x490da0]
and eax, 0xff000000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x4905a0]
and eax, 0xff00
xor edx, eax
xor edx, dword [ebx + 0x48f570]
add ebx, 4
xor edx, dword [esi - 0x30]
mov dword [esi - 0x10], edx
mov eax, dword [esi - 0x2c]
xor eax, edx
mov dword [esi - 0xc], eax
mov ecx, dword [esi - 0x28]
xor ecx, eax
mov dword [esi - 8], ecx
mov eax, dword [esi - 0x24]
xor eax, ecx
mov dword [esi - 4], eax
cmp ebx, 0x1c
jne 0x45b286
jmp 0x45b585
mov ecx, dword [edi + 0x14]
mov ebx, 4
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + 0x490da0]
mov eax, ecx
shr eax, 8
xor edx, 0x1000000
movzx eax, al
and edx, 0xff000000
mov eax, dword [eax*4 + 0x4911a0]
and eax, 0xff0000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor edx, eax
movzx eax, cl
mov ecx, dword [edi + 8]
mov eax, dword [eax*4 + 0x4905a0]
and eax, 0xff00
xor edx, eax
mov eax, dword [edi + 4]
xor edx, dword [edi]
xor eax, edx
mov dword [edi + 0x18], edx
xor ecx, eax
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0xc]
xor eax, ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
lea eax, [edi + 0x28]
mov edx, dword [eax - 0x18]
lea eax, [eax + 0x18]
xor edx, dword [eax - 0x1c]
mov ecx, dword [eax - 0x2c]
xor ecx, edx
mov dword [eax - 0x18], edx
mov dword [eax - 0x14], ecx
mov edx, dword [eax - 0x14]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov dword [ebp + 8], edx
mov esi, dword [ecx*4 + 0x4911a0]
mov ecx, edx
shr ecx, 0x10
and esi, 0xff0000
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x490da0]
and ecx, 0xff000000
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x4909a0]
xor esi, ecx
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x4905a0]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [ebx + 0x48f570]
add ebx, 4
xor esi, dword [eax - 0x28]
mov dword [eax - 0x10], esi
mov ecx, dword [eax - 0x24]
xor ecx, esi
mov dword [eax - 0xc], ecx
mov edx, dword [eax - 0x20]
xor edx, ecx
mov dword [eax - 8], edx
mov ecx, dword [eax - 0x1c]
xor ecx, edx
mov dword [eax - 4], ecx
cmp ebx, 0x20
jne 0x45b3f4
jmp 0x45b585
mov edx, dword [edi + 0xc]
lea esi, [edi + 0x10]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x490da0]
mov eax, edx
shr eax, 8
xor ecx, 0x1000000
movzx eax, al
and ecx, 0xff000000
mov eax, dword [eax*4 + 0x4911a0]
and eax, 0xff0000
xor ecx, eax
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4905a0]
and eax, 0xff00
xor ecx, eax
mov eax, dword [edi + 4]
xor ecx, dword [edi]
xor eax, ecx
mov dword [esi], ecx
mov ecx, dword [edi + 8]
xor ecx, eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
xor ecx, edx
mov dword [edi + 0x1c], ecx
mov edi, 4
mov ebx, dword [esi + 0xc]
mov edx, esi
add esi, 0x10
mov dword [ebp + 8], ebx
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [eax*4 + 0x4911a0]
mov eax, ebx
shr eax, 0x10
and ecx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x490da0]
and eax, 0xff000000
xor ecx, eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x4905a0]
and eax, 0xff00
xor ecx, eax
xor ecx, dword [edi + 0x48f570]
add edi, 4
xor ecx, dword [edx]
mov dword [esi], ecx
mov eax, dword [esi - 0xc]
xor eax, ecx
mov dword [esi + 4], eax
mov ecx, dword [esi - 8]
xor ecx, eax
xor ebx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
cmp edi, 0x28
jne 0x45b505
mov edi, dword [ebp - 4]
mov eax, 4
lea ecx, [ebp + 8]
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x45b590
cmp dword [ebp + 0xc], 1
jne 0x45b7a6
mov ebx, dword [edi + 0xf0]
shl ebx, 2
test ebx, ebx
je 0x45b606
lea edx, [ebx + 2]
lea edx, [edi + edx*4]
lea esi, [edi + 8]
xor edi, edi
nop dword [eax]
mov ecx, dword [esi - 8]
lea esi, [esi + 0x10]
mov eax, dword [edx - 8]
lea edx, [edx - 0x10]
mov dword [esi - 0x18], eax
add edi, 4
mov eax, dword [edx + 0xc]
sub ebx, 4
mov dword [edx + 8], ecx
mov ecx, dword [esi - 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [edx + 0x10]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi - 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esi - 0xc]
mov dword [esi - 0xc], eax
mov dword [edx + 0x14], ecx
mov dword [ebp + 8], ecx
cmp edi, ebx
jb 0x45b5c0
mov edi, dword [ebp - 4]
mov eax, 4
lea ecx, [ebp + 8]
nop
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x45b610
mov ebx, 1
cmp dword [edi + 0xf0], ebx
jbe 0x45b7a6
lea esi, [edi + 8]
nop
mov edx, dword [esi + 8]
lea esi, [esi + 0x10]
mov eax, edx
inc ebx
shr eax, 8
movzx eax, al
movzx ecx, byte [eax*4 + 0x4909a0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x48fda0]
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f9a0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f5a0]
movzx eax, dl
mov edx, dword [esi - 4]
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x4901a0]
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [esi - 8], ecx
movzx ecx, byte [eax*4 + 0x4909a0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x48fda0]
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f9a0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f5a0]
movzx eax, dl
mov edx, dword [esi]
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x4901a0]
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [esi - 4], ecx
movzx ecx, byte [eax*4 + 0x4909a0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x48fda0]
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f9a0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f5a0]
movzx eax, dl
mov edx, dword [esi + 4]
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x4901a0]
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [esi], ecx
movzx ecx, byte [eax*4 + 0x4909a0]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x48fda0]
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f9a0]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x48f5a0]
movzx eax, dl
movzx eax, byte [eax*4 + 0x4909a0]
xor ecx, dword [eax*4 + 0x4901a0]
mov dword [esi + 4], ecx
cmp ebx, dword [edi + 0xf0]
jb 0x45b630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret