Function at 0x4516e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x481340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x74], 0xb7c17c51
mov dword [ebp - 0x70], 0x940a2227
mov dword [ebp - 0x6c], 0xe8ab13fe
mov dword [ebp - 0x68], 0xe06e9afa
mov dword [ebp - 0x64], 0xcc4ab16d
mov dword [ebp - 0x60], 0x20c8219e
mov dword [ebp - 0x5c], 0xd5b128ff
mov dword [ebp - 0x58], 0xb0e25def
mov dword [ebp - 0x54], 0x1d3792db
mov dword [ebp - 0x50], 0x70e92621
mov dword [ebp - 0x4c], 0x75972403
mov dword [ebp - 0x48], 0xec9e804
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x88], edi
cmp ebx, 0x80
je 0x451782
cmp ebx, 0xc0
je 0x451782
cmp ebx, 0x100
je 0x451782
pop edi
mov eax, 0xffffffa4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00446e61
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
mov eax, dword [ecx]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x38], eax
cmp ebx, 0xc0
jb 0x4517b7
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x30], eax
cmp ebx, 0x100
jne 0x4517cb
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x28], eax
add ebx, 0xffffff80
lea ecx, [ebp - 0x74]
shr ebx, 6
push esi
lea eax, [ebx + 6]
add al, al
mov byte [edi], al
lea eax, [ebp - 0x34]
push eax
mov eax, ebx
shl eax, 4
add eax, ecx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00452960
cmp ebx, 2
lea eax, [ebx + 1]
push 0x4751e8
sbb esi, esi
and esi, eax
mov ebx, esi
shl ebx, 4
push str.cw
push 0x4753e8
push 0x4752e8
mov eax, dword [ebp + ebx - 0x74]
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + ebx - 0x70]
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + ebx - 0x6c]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + ebx - 0x68]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00452870
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00452700
mov eax, dword [ebp - 0x44]
add esp, 0x40
xor eax, dword [ebp - 0x7c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
xor eax, dword [ebp - 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
xor eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
cmp esi, 2
jae 0x4518a9
lea eax, [ebp - 0x64]
add eax, ebx
jmp 0x4518ac
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00452960
add esp, 0x10
lea ebx, [ebp - 0x44]
xor eax, eax
lea esi, [edi + 0x44]
nop dword [eax]
inc eax
lea edi, [ebp - 0x44]
mov dword [ebp - 0x78], eax
and eax, 3
shl eax, 4
add edi, eax
lea eax, [esi - 0x40]
push 0x6d
push edi
push ebx
push eax
call fcn.00452a00
push 0x61
push edi
push ebx
push esi
call fcn.00452a00
push 0x3d
push edi
lea eax, [esi + 0x40]
push ebx
push eax
call fcn.00452a00
push 0x1f
push edi
lea eax, [esi + 0x80]
push ebx
push eax
call fcn.00452a00
mov eax, dword [ebp - 0x78]
add esp, 0x40
add esi, 0x10
add ebx, 0x10
cmp eax, 4
jl 0x4518d0
push 0x13
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x88]
add eax, 0x104
push eax
call fcn.00452a00
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0042f390
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
xor eax, eax
pop esi
pop edi
pop ebx
call fcn.00446e61
mov esp, ebp
pop ebp
ret