Function at 0xb46e9f
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x1c
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov ebp, dword [esi + 0xf0]
shr ebp, 1
cmp ebp, 7
ja 0xb47427
test ebp, ebp
je 0xb47427
push ebx
push 4
pop ebx
push ebx
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00b56990
push ebx
lea eax, [edi + 4]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00b56990
push ebx
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00b56990
push ebx
lea eax, [edi + 0xc]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00b56990
mov ecx, dword [esp + 0x50]
add esp, 0x30
call fcn.00b46d7c
xor eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
call fcn.00b46d7c
xor eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00b46d7c
xor eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.00b46d7c
mov ebx, eax
xor ebx, dword [esi]
call fcn.00b46e82
mov edi, dword [esp + 0x1c]
or ebx, eax
mov ecx, edi
shr ecx, 8
movzx edx, cl
mov ecx, dword [esp + 0x28]
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [edx*4 + 0xb88f28]
mov edx, dword [esp + 0x20]
xor ecx, dword [eax*4 + 0xb88b28]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb88728]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb89328]
mov eax, esi
xor ecx, dword [eax + 0x10]
mov eax, edx
shr eax, 8
mov dword [esp + 0x20], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xb88f28]
xor ecx, dword [eax*4 + 0xb88b28]
mov eax, dword [esp + 0x28]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb88728]
movzx eax, bl
xor ecx, dword [eax*4 + 0xb89328]
mov eax, edx
xor ecx, dword [esi + 0x14]
shr eax, 0x10
mov dword [esp + 0x18], ecx
movzx eax, al
mov eax, dword [eax*4 + 0xb88b28]
mov ecx, edi
shr ecx, 0x18
shr edx, 0x18
xor eax, dword [ecx*4 + 0xb88728]
mov dword [esp + 0x10], eax
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 8
mov edx, dword [edx*4 + 0xb88728]
movzx eax, al
shr ebx, 0x10
xor ecx, dword [eax*4 + 0xb88f28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
movzx eax, cl
shr ecx, 8
xor edi, dword [eax*4 + 0xb89328]
mov eax, edi
mov dword [esp + 0x10], edi
xor eax, dword [esi + 0x18]
mov dword [esp + 0x10], eax
movzx eax, cl
xor edx, dword [eax*4 + 0xb88f28]
movzx eax, bl
xor edx, dword [eax*4 + 0xb88b28]
mov eax, dword [esp + 0x1c]
movzx eax, al
jmp 0xb47256
mov edi, dword [esp + 0x10]
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x18]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xb88f28]
mov edx, dword [esp + 0x20]
xor ecx, dword [eax*4 + 0xb88b28]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb88728]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0xb89328]
xor ecx, dword [esi]
mov eax, dword [esp + 0x14]
shr eax, 8
mov dword [esp + 0x1c], ecx
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xb88f28]
xor ecx, dword [eax*4 + 0xb88b28]
mov eax, dword [esp + 0x18]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb88728]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb89328]
xor ecx, dword [esi + 4]
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x28], ecx
mov ecx, edi
shr ecx, 0x18
shr dword [esp + 0x14], 0x18
mov ebx, dword [eax*4 + 0xb88b28]
xor ebx, dword [ecx*4 + 0xb88728]
mov ecx, edx
mov edx, dword [esp + 0x18]
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
xor ebx, dword [eax*4 + 0xb88f28]
movzx eax, dl
shr edx, 8
xor ebx, dword [eax*4 + 0xb89328]
xor ebx, dword [esi + 8]
movzx eax, dl
mov edx, dword [esp + 0x14]
mov edx, dword [edx*4 + 0xb88728]
xor edx, dword [eax*4 + 0xb88f28]
movzx eax, cl
xor edx, dword [eax*4 + 0xb88b28]
mov eax, edi
movzx eax, al
mov edi, dword [esp + 0x24]
xor edx, dword [eax*4 + 0xb89328]
mov eax, ebx
xor edx, dword [esi + 0xc]
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x28]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0xb88f28]
xor ecx, dword [eax*4 + 0xb88b28]
mov eax, dword [esp + 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb88728]
movzx eax, dl
xor ecx, dword [eax*4 + 0xb89328]
mov eax, edx
xor ecx, dword [edi + 0x10]
shr eax, 8
mov dword [esp + 0x20], ecx
movzx ecx, al
mov ecx, dword [ecx*4 + 0xb88f28]
mov eax, ebx
shr eax, 0x10
mov esi, edi
movzx eax, al
xor ecx, dword [eax*4 + 0xb88b28]
mov eax, dword [esp + 0x28]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb88728]
mov eax, dword [esp + 0x1c]
movzx eax, al
xor ecx, dword [eax*4 + 0xb89328]
mov eax, edx
xor ecx, dword [esi + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x18], ecx
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
mov eax, dword [eax*4 + 0xb88b28]
xor eax, dword [ecx*4 + 0xb88728]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
shr eax, 8
mov edx, dword [edx*4 + 0xb88728]
movzx eax, al
xor ecx, dword [eax*4 + 0xb88f28]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
movzx eax, cl
shr ecx, 8
xor edi, dword [eax*4 + 0xb89328]
mov eax, edi
mov dword [esp + 0x10], edi
xor eax, dword [esi + 0x18]
mov dword [esp + 0x10], eax
movzx eax, cl
xor edx, dword [eax*4 + 0xb88f28]
mov eax, dword [esp + 0x1c]
shr eax, 0x10
movzx eax, al
xor edx, dword [eax*4 + 0xb88b28]
movzx eax, bl
xor edx, dword [eax*4 + 0xb89328]
xor edx, dword [esi + 0x1c]
add esi, 0x20
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edx
sub ebp, 1
jne 0xb4704f
mov eax, dword [esp + 0x18]
mov ebp, 0xff000000
shr eax, 0x10
mov edi, esi
mov ebx, dword [esp + 0x20]
movzx eax, al
mov ecx, dword [eax*4 + 0xb89328]
mov eax, dword [esp + 0x10]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0xb88728]
and eax, 0xff00
xor ecx, eax
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0xb88f28]
and eax, ebp
xor ecx, eax
movzx eax, dl
movzx eax, byte [eax*4 + 0xb88b28]
xor ecx, eax
xor ecx, dword [edi]
call fcn.00b46d7c
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0xb89328]
mov eax, dword [esp + 0x14]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0xb88728]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esp + 0x18]
shr eax, 0x18
mov eax, dword [eax*4 + 0xb88f28]
and eax, ebp
xor ecx, eax
movzx eax, bl
movzx eax, byte [eax*4 + 0xb88b28]
xor ecx, eax
xor ecx, dword [edi + 4]
call fcn.00b46d7c
mov dword [esp + 0x20], eax
mov esi, 0xff0000
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0xb89328]
mov eax, dword [esp + 0x10]
and ecx, esi
shr eax, 0x18
mov eax, dword [eax*4 + 0xb88f28]
and eax, ebp
xor ecx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0xb88728]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esp + 0x18]
movzx eax, al
movzx eax, byte [eax*4 + 0xb88b28]
xor ecx, eax
xor ecx, dword [edi + 8]
call fcn.00b46d7c
mov dword [esp + 0x1c], eax
shr ebx, 0x10
movzx eax, bl
mov ecx, dword [eax*4 + 0xb89328]
mov eax, dword [esp + 0x14]
and ecx, esi
shr eax, 0x18
mov eax, dword [eax*4 + 0xb88f28]
and eax, ebp
xor ecx, eax
mov eax, dword [esp + 0x18]
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0xb88728]
and eax, 0xff00
xor ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, al
movzx eax, byte [eax*4 + 0xb88b28]
xor ecx, eax
xor ecx, dword [edi + 0xc]
call fcn.00b46d7c
mov esi, dword [esp + 0x30]
push 4
pop edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push edi
push eax
push esi
call fcn.00b56990
push edi
lea eax, [esp + 0x30]
push eax
lea eax, [esi + 4]
push eax
call fcn.00b56990
push edi
lea eax, [esp + 0x38]
push eax
lea eax, [esi + 8]
push eax
call fcn.00b56990
push edi
lea eax, [esp + 0x40]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.00b56990
add esp, 0x30
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret