Function at 0xb0540
Capabilities:
Encrypt data using aes

Disassembly:
sub esp, 0x1c
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [eax + 0xc]
push ebp
push esi
push edi
mov edi, dword [eax]
mov esi, ecx
xor edx, dword [esi + 4]
xor edi, dword [esi]
xor ebx, dword [esi + 0xc]
mov ecx, dword [eax + 8]
xor ecx, dword [esi + 8]
mov dword [esp + 0x20], edx
movzx edx, dh
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
movzx esi, byte [esp + 0x2a]
mov esi, dword [esi*4 + 0x3fb400]
xor esi, dword [edx*4 + 0x3fb000]
mov edx, edi
and edx, 0xff
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x3fb800]
mov dword [esp + 0x18], edi
xor esi, dword [edx*4 + 0x3fac00]
mov edx, dword [esp + 0x1c]
shr edx, 0x10
movzx edx, dl
mov edx, dword [edx*4 + 0x3fb400]
shr edi, 0x18
movzx ebx, ch
xor edx, dword [ebx*4 + 0x3fb000]
xor esi, dword [eax + 0x10]
xor edx, dword [edi*4 + 0x3fb800]
mov edi, dword [esp + 0x20]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fac00]
movzx edi, byte [esp + 0x1a]
xor edx, dword [eax + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
movzx edx, byte [esp + 0x1d]
mov ebx, dword [edx*4 + 0x3fb000]
xor ebx, dword [edi*4 + 0x3fb400]
mov edi, dword [esp + 0x20]
shr edi, 0x18
xor ebx, dword [edi*4 + 0x3fb800]
movzx edi, byte [esp + 0x19]
mov edx, ecx
and edx, 0xff
xor ebx, dword [edx*4 + 0x3fac00]
movzx edx, byte [esp + 0x22]
mov edx, dword [edx*4 + 0x3fb400]
xor edx, dword [edi*4 + 0x3fb000]
mov edi, dword [esp + 0x1c]
xor ebx, dword [eax + 0x18]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x3fb800]
and edi, 0xff
xor edx, dword [edi*4 + 0x3fac00]
mov dword [esp + 0x24], ebx
xor edx, dword [eax + 0x1c]
add eax, 0x20
mov dword [esp + 0x1c], edx
mov edi, 4
jmp 0xb0670
mov esi, dword [esp + 0x14]
jmp 0xb0670
mov ecx, dword [esp + 0x24]
movzx ebp, byte [esp + 0x11]
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x3fb400]
xor ecx, dword [ebp*4 + 0x3fb000]
mov ebp, edx
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x3fb800]
mov ebp, esi
shr esi, 0x18
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x3fac00]
movzx ebx, bh
xor ecx, dword [eax]
movzx edx, dh
mov edx, dword [edx*4 + 0x3fb000]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x3fb400]
xor ecx, dword [ebx*4 + 0x3fb000]
movzx ebx, byte [esp + 0x15]
xor ecx, dword [esi*4 + 0x3fb800]
mov esi, dword [esp + 0x10]
and esi, 0xff
xor ecx, dword [esi*4 + 0x3fac00]
movzx esi, byte [esp + 0x16]
xor edx, dword [esi*4 + 0x3fb400]
mov esi, dword [esp + 0x10]
shr esi, 0x18
xor edx, dword [esi*4 + 0x3fb800]
mov esi, dword [esp + 0x24]
and esi, 0xff
xor edx, dword [esi*4 + 0x3fac00]
movzx esi, byte [esp + 0x12]
mov esi, dword [esi*4 + 0x3fb400]
xor esi, dword [ebx*4 + 0x3fb000]
xor edx, dword [eax + 8]
mov ebx, dword [esp + 0x1c]
xor ecx, dword [eax + 4]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
shr esi, 0x18
mov esi, dword [esi*4 + 0x3fb800]
xor dword [esp + 0x14], esi
mov esi, dword [esp + 0x14]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x3fac00]
mov ebx, edx
xor esi, dword [eax + 0xc]
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x3fb400]
mov dword [esp + 0x1c], esi
shr esi, 0x18
movzx ebp, ch
xor ebx, dword [ebp*4 + 0x3fb000]
mov dword [esp + 0x20], ecx
xor ebx, dword [esi*4 + 0x3fb800]
mov esi, dword [esp + 0x18]
and esi, 0xff
xor ebx, dword [esi*4 + 0x3fac00]
movzx esi, byte [esp + 0x1e]
xor ebx, dword [eax + 0x10]
mov esi, dword [esi*4 + 0x3fb400]
mov dword [esp + 0x14], ebx
movzx ebx, dh
xor esi, dword [ebx*4 + 0x3fb000]
mov ebx, dword [esp + 0x18]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x3fb800]
mov ebx, ecx
and ebx, 0xff
xor esi, dword [ebx*4 + 0x3fac00]
movzx ebx, byte [esp + 0x1a]
xor esi, dword [eax + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
movzx esi, byte [esp + 0x1d]
mov esi, dword [esi*4 + 0x3fb000]
xor esi, dword [ebx*4 + 0x3fb400]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x3fb800]
mov ecx, edx
and ecx, 0xff
xor esi, dword [ecx*4 + 0x3fac00]
movzx ecx, byte [esp + 0x22]
xor esi, dword [eax + 0x18]
mov ebp, dword [ecx*4 + 0x3fb400]
mov ecx, dword [esp + 0x1c]
mov ebx, esi
movzx esi, byte [esp + 0x19]
xor ebp, dword [esi*4 + 0x3fb000]
shr edx, 0x18
xor ebp, dword [edx*4 + 0x3fb800]
and ecx, 0xff
xor ebp, dword [ecx*4 + 0x3fac00]
add eax, 0x20
xor ebp, dword [eax - 4]
sub edi, 1
mov edx, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edx
jne 0xb0662
movzx esi, byte [esp + 0x11]
mov esi, dword [esi*4 + 0x3fbc00]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x3fbc00]
and ecx, 0xff0000
and esi, 0xff00
xor ecx, esi
mov esi, edx
shr esi, 0x18
mov esi, dword [esi*4 + 0x3fbc00]
and esi, 0xff000000
xor ecx, esi
mov esi, dword [esp + 0x14]
and esi, 0xff
mov esi, dword [esi*4 + 0x3fbc00]
and esi, 0xff
xor ecx, esi
xor ecx, dword [eax]
mov esi, dword [esp + 0x30]
mov dword [esi], ecx
mov ecx, ebp
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x3fbc00]
and ecx, 0xff0000
movzx edi, bh
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff00
xor ecx, edi
mov edi, dword [esp + 0x14]
shr edi, 0x18
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff000000
xor ecx, edi
mov edi, dword [esp + 0x10]
and edi, 0xff
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff
xor ecx, edi
xor ecx, dword [eax + 4]
movzx edi, dh
mov dword [esi + 4], ecx
mov edi, dword [edi*4 + 0x3fbc00]
movzx ecx, byte [esp + 0x16]
mov ecx, dword [ecx*4 + 0x3fbc00]
and edi, 0xff00
and ecx, 0xff0000
xor ecx, edi
mov edi, dword [esp + 0x10]
shr edi, 0x18
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff000000
xor ecx, edi
mov edi, ebx
and edi, 0xff
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff
xor ecx, edi
xor ecx, dword [eax + 8]
movzx edi, byte [esp + 0x15]
mov dword [esi + 8], ecx
movzx ecx, byte [esp + 0x12]
mov ecx, dword [ecx*4 + 0x3fbc00]
mov edi, dword [edi*4 + 0x3fbc00]
and edi, 0xff00
and ecx, 0xff0000
xor ecx, edi
shr ebx, 0x18
mov edi, dword [ebx*4 + 0x3fbc00]
and edx, 0xff
mov edx, dword [edx*4 + 0x3fbc00]
and edi, 0xff000000
xor ecx, edi
and edx, 0xff
xor ecx, edx
xor ecx, dword [eax + 0xc]
pop edi
mov dword [esi + 0xc], ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4