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

Disassembly:
mov edx, dword [esp + 0xc]
push ebp
mov eax, edx
sub eax, 0x80
je 0x45d119
sub eax, 0x40
je 0x45d10c
sub eax, 0x40
je 0x45d0ff
mov eax, 1
pop ebp
ret
mov ebp, dword [esp + 8]
mov dword [ebp], 0xe
jmp 0x45d124
mov ebp, dword [esp + 8]
mov dword [ebp], 0xc
jmp 0x45d124
mov ebp, dword [esp + 8]
mov dword [ebp], 0xa
mov ecx, edx
push ebx
sar ecx, 5
push esi
push edi
test ecx, ecx
lea eax, [ebp + 4]
jle 0x45d167
mov edx, dword [esp + 0x18]
mov edi, eax
lea esi, [edx + 2]
xor edx, edx
xor ebx, ebx
mov dh, byte [esi - 2]
mov bl, byte [esi]
mov dl, byte [esi - 1]
add esi, 4
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [esi - 3]
add edi, 4
shl edx, 8
or edx, ebx
dec ecx
mov dword [edi - 4], edx
jne 0x45d13c
mov edx, dword [esp + 0x1c]
mov ecx, edx
sub ecx, 0x80
je 0x45d314
sub ecx, 0x40
je 0x45d279
sub ecx, 0x40
jne 0x45d396
mov edi, 0x4625b0
mov esi, dword [eax + 0x1c]
add edi, 4
mov edx, esi
mov ecx, esi
shr edx, 8
shr ecx, 0x10
and edx, 0xff
and ecx, 0xff
add eax, 0x20
mov ebx, dword [edx*4 + 0x45fdb0]
mov ecx, dword [ecx*4 + 0x45fdb0]
xor edx, edx
mov dl, byte [eax - 4]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [edx*4 + 0x45fdb0]
mov edx, esi
shl ecx, 8
shr edx, 0x18
xor ecx, ebx
mov ebx, dword [edx*4 + 0x45fdb0]
mov edx, dword [edi - 4]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [eax - 0x20]
xor ecx, ebx
xor ecx, edx
mov edx, dword [eax - 0x1c]
mov dword [eax], ecx
xor edx, ecx
mov ecx, dword [eax - 0x18]
mov dword [eax + 4], edx
xor ecx, edx
mov edx, dword [eax - 0x14]
xor edx, ecx
mov dword [eax + 8], ecx
mov ecx, edx
mov ebx, edx
shr ecx, 0x18
mov dword [eax + 0xc], edx
mov ecx, dword [ecx*4 + 0x45fdb0]
shr ebx, 0x10
shr edx, 8
and ebx, 0xff
and edx, 0xff
shl ecx, 8
xor ecx, dword [ebx*4 + 0x45fdb0]
mov ebx, dword [edx*4 + 0x45fdb0]
xor edx, edx
mov dl, byte [eax + 0xc]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [edx*4 + 0x45fdb0]
mov edx, dword [eax - 0x10]
shl ecx, 8
xor ecx, ebx
xor ecx, edx
mov edx, dword [eax - 0xc]
mov dword [eax + 0x10], ecx
xor edx, ecx
mov ecx, dword [eax - 8]
mov dword [eax + 0x14], edx
xor ecx, edx
mov dword [eax + 0x18], ecx
xor ecx, esi
mov dword [eax + 0x1c], ecx
cmp edi, 0x4625cc
jl 0x45d18c
jmp 0x45d396
mov edi, 0x4625b0
mov esi, dword [eax + 0x14]
add edi, 4
mov edx, esi
mov ecx, esi
shr edx, 8
shr ecx, 0x10
and edx, 0xff
and ecx, 0xff
add eax, 0x18
mov ebx, dword [edx*4 + 0x45fdb0]
mov ecx, dword [ecx*4 + 0x45fdb0]
xor edx, edx
mov dl, byte [eax - 4]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [edx*4 + 0x45fdb0]
mov edx, esi
shl ecx, 8
shr edx, 0x18
xor ecx, ebx
mov ebx, dword [edx*4 + 0x45fdb0]
mov edx, dword [edi - 4]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [eax - 0x18]
xor ecx, ebx
xor ecx, edx
mov edx, dword [eax - 0x14]
mov dword [eax], ecx
xor edx, ecx
mov ecx, dword [eax - 0x10]
mov dword [eax + 4], edx
xor ecx, edx
mov edx, dword [eax - 0xc]
mov dword [eax + 8], ecx
xor edx, ecx
mov ecx, dword [eax - 8]
mov dword [eax + 0xc], edx
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
cmp edi, 0x4625d0
jl 0x45d27e
jmp 0x45d396
mov edi, 0x4625b0
mov esi, dword [eax + 0xc]
add edi, 4
mov edx, esi
mov ecx, esi
shr edx, 8
shr ecx, 0x10
and edx, 0xff
and ecx, 0xff
add eax, 0x10
mov ebx, dword [edx*4 + 0x45fdb0]
mov ecx, dword [ecx*4 + 0x45fdb0]
xor edx, edx
mov dl, byte [eax - 4]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [edx*4 + 0x45fdb0]
mov edx, esi
shl ecx, 8
shr edx, 0x18
xor ecx, ebx
mov ebx, dword [edx*4 + 0x45fdb0]
mov edx, dword [edi - 4]
shl ecx, 8
xor ecx, ebx
mov ebx, dword [eax - 0x10]
xor ecx, ebx
xor ecx, edx
mov edx, dword [eax - 0xc]
mov dword [eax], ecx
xor edx, ecx
mov ecx, dword [eax - 8]
mov dword [eax + 4], edx
xor ecx, edx
xor esi, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
cmp edi, 0x4625d8
jl 0x45d319
mov edx, dword [ebp]
xor eax, eax
test edx, edx
jl 0x45d3e9
lea ecx, [ebp + 0x108]
sub edx, eax
add ecx, 0x10
shl edx, 4
mov edx, dword [edx + ebp + 4]
mov dword [ecx - 0x14], edx
mov edx, dword [ebp]
sub edx, eax
shl edx, 4
mov edx, dword [edx + ebp + 8]
mov dword [ecx - 0x10], edx
mov edx, dword [ebp]
sub edx, eax
shl edx, 4
mov edx, dword [edx + ebp + 0xc]
mov dword [ecx - 0xc], edx
mov edx, dword [ebp]
sub edx, eax
inc edx
shl edx, 4
inc eax
mov edx, dword [edx + ebp]
mov dword [ecx - 8], edx
mov edx, dword [ebp]
cmp eax, edx
jle 0x45d3a5
mov ecx, dword [ebp]
mov edx, 1
cmp ecx, edx
lea eax, [ebp + 0x114]
jle 0x45d593
mov ecx, dword [eax]
mov edi, ecx
mov esi, ecx
shr edi, 0x10
shr ecx, 8
and edi, 0xff
and ecx, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x45fdb0]
mov ecx, dword [ecx*4 + 0x45fdb0]
mov esi, dword [esi*4 + 0x45fdb0]
mov ebx, dword [edi*4 + 0x4619b0]
mov edi, dword [ecx*4 + 0x461db0]
mov esi, dword [esi*4 + 0x4615b0]
xor ecx, ecx
mov cl, byte [eax]
xor esi, ebx
xor esi, edi
mov ecx, dword [ecx*4 + 0x45fdb0]
mov ebx, dword [ecx*4 + 0x4621b0]
mov ecx, dword [eax + 4]
xor esi, ebx
mov edi, ecx
mov dword [eax], esi
mov esi, ecx
shr edi, 0x10
shr ecx, 8
and edi, 0xff
and ecx, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x45fdb0]
mov ecx, dword [ecx*4 + 0x45fdb0]
mov esi, dword [esi*4 + 0x45fdb0]
mov ebx, dword [edi*4 + 0x4619b0]
mov edi, dword [ecx*4 + 0x461db0]
mov esi, dword [esi*4 + 0x4615b0]
xor ecx, ecx
mov cl, byte [eax + 4]
xor esi, ebx
xor esi, edi
mov ecx, dword [ecx*4 + 0x45fdb0]
mov ebx, dword [ecx*4 + 0x4621b0]
mov ecx, dword [eax + 8]
xor esi, ebx
mov edi, ecx
mov dword [eax + 4], esi
mov esi, ecx
shr edi, 0x10
shr ecx, 8
and edi, 0xff
and ecx, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x45fdb0]
mov ecx, dword [ecx*4 + 0x45fdb0]
mov esi, dword [esi*4 + 0x45fdb0]
mov ebx, dword [edi*4 + 0x4619b0]
mov edi, dword [ecx*4 + 0x461db0]
mov esi, dword [esi*4 + 0x4615b0]
xor ecx, ecx
mov cl, byte [eax + 8]
xor esi, ebx
xor esi, edi
mov ecx, dword [ecx*4 + 0x45fdb0]
mov ebx, dword [ecx*4 + 0x4621b0]
mov ecx, dword [eax + 0xc]
xor esi, ebx
mov edi, ecx
mov dword [eax + 8], esi
mov esi, ecx
shr edi, 0x10
shr esi, 0x18
and edi, 0xff
mov esi, dword [esi*4 + 0x45fdb0]
mov edi, dword [edi*4 + 0x45fdb0]
mov esi, dword [esi*4 + 0x4615b0]
mov ebx, dword [edi*4 + 0x4619b0]
shr ecx, 8
xor esi, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x45fdb0]
mov edi, dword [ecx*4 + 0x461db0]
xor ecx, ecx
xor esi, edi
mov cl, byte [eax + 0xc]
add eax, 0x10
mov ecx, dword [ecx*4 + 0x45fdb0]
mov ebx, dword [ecx*4 + 0x4621b0]
xor esi, ebx
inc edx
mov dword [eax - 4], esi
mov ecx, dword [ebp]
cmp edx, ecx
jl 0x45d3ff
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret