Function at 0x632c8f8d
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
test ebx, ebx
jne 0x632c8fbc
mov dword [esp + 8], 0x127
mov dword [esp + 4], str.ciphers_aes_aes.c
mov dword [esp], str.pt___NULL
call fcn.632cc18c
cmp dword [ebp + 0xc], 0
jne 0x632c8fde
mov dword [esp + 8], 0x128
mov dword [esp + 4], str.ciphers_aes_aes.c
mov dword [esp], str.ct___NULL
call fcn.632cc18c
test esi, esi
jne 0x632c8ffe
mov dword [esp + 8], 0x129
mov dword [esp + 4], str.ciphers_aes_aes.c
mov dword [esp], str.skey___NULL
call fcn.632cc18c
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx]
bswap edx
xor edx, dword [esi]
mov eax, esi
lea esi, [ebx + 4]
mov dword [ebp - 0x20], edx
mov esi, dword [esi]
bswap esi
xor esi, dword [eax + 4]
lea ecx, [ebx + 8]
mov ecx, dword [ecx]
bswap ecx
xor ecx, dword [eax + 8]
add ebx, 0xc
mov ebx, dword [ebx]
bswap ebx
xor ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x1e0]
sar eax, 1
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x20]
movzx edi, bl
mov eax, dword [ebp - 0x1c]
shr edx, 0x18
mov edx, dword [edx*4 + 0x633e1800]
xor edx, dword [edi*4 + 0x633e0400]
mov edi, esi
shr edi, 0x10
xor edx, dword [eax + 0x10]
mov eax, edi
movzx edi, al
mov eax, dword [ebp - 0x1c]
xor edx, dword [edi*4 + 0x633e0c00]
movzx edi, ch
xor edx, dword [edi*4 + 0x633e0800]
movzx edi, byte [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x633e1800]
xor edx, dword [edi*4 + 0x633e0400]
mov edi, ecx
shr edi, 0x10
xor edx, dword [eax + 0x14]
mov eax, edi
movzx edi, al
mov eax, esi
xor edx, dword [edi*4 + 0x633e0c00]
movzx edi, bh
xor edx, dword [edi*4 + 0x633e0800]
movzx edi, al
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov edx, ecx
movzx ecx, cl
shr edx, 0x18
mov edx, dword [edx*4 + 0x633e1800]
xor edx, dword [edi*4 + 0x633e0400]
mov edi, ebx
shr ebx, 0x18
shr edi, 0x10
xor edx, dword [eax + 0x18]
mov ebx, dword [ebx*4 + 0x633e1800]
mov eax, edi
xor ebx, dword [ecx*4 + 0x633e0400]
movzx edi, al
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov ebx, dword [ebp - 0x20]
xor edx, dword [edi*4 + 0x633e0c00]
movzx edi, ah
mov eax, dword [ebp - 0x1c]
shr ebx, 0x10
add dword [ebp - 0x1c], 0x20
movzx ebx, bl
xor edx, dword [edi*4 + 0x633e0800]
xor ecx, dword [eax + 0x1c]
mov eax, esi
xor ecx, dword [ebx*4 + 0x633e0c00]
movzx edi, dh
movzx esi, ah
xor ecx, dword [esi*4 + 0x633e0800]
mov eax, dword [ebp - 0x24]
movzx esi, cl
mov ebx, dword [ebp - 0x28]
shr eax, 0x18
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
shr ebx, 0x10
movzx ebx, bl
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
shr eax, 0x18
mov dword [ebp - 0x30], eax
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x34], eax
movzx eax, ch
mov dword [ebp - 0x38], eax
movzx eax, byte [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
mov eax, edx
shr eax, 0x18
mov dword [ebp - 0x44], eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x24]
movzx eax, al
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
shr ecx, 0x10
movzx eax, ah
mov dword [ebp - 0x4c], eax
movzx eax, byte [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x54], eax
movzx eax, cl
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
movzx eax, ah
mov dword [ebp - 0x28], eax
movzx eax, dl
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x20]
dec dword [ebp - 0x64]
je 0x632c9277
mov edx, dword [eax*4 + 0x633e1800]
mov eax, dword [ebp - 0x30]
xor edx, dword [esi*4 + 0x633e0400]
xor edx, dword [ebp - 0x2c]
mov esi, dword [eax*4 + 0x633e1800]
mov eax, dword [ebp - 0x3c]
xor edx, dword [ebx*4 + 0x633e0c00]
xor edx, dword [edi*4 + 0x633e0800]
xor esi, dword [eax*4 + 0x633e0400]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
xor esi, dword [ebp - 0x40]
xor esi, dword [eax*4 + 0x633e0c00]
mov eax, dword [ebp - 0x38]
xor esi, dword [eax*4 + 0x633e0800]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax*4 + 0x633e1800]
mov eax, dword [ebp - 0x50]
xor ecx, dword [eax*4 + 0x633e0400]
mov eax, dword [ebp - 0x48]
xor ecx, dword [ebp - 0x54]
xor ecx, dword [eax*4 + 0x633e0c00]
mov eax, dword [ebp - 0x4c]
xor ecx, dword [eax*4 + 0x633e0800]
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax*4 + 0x633e1800]
mov eax, dword [ebp - 0x5c]
xor ebx, dword [eax*4 + 0x633e0400]
mov eax, dword [ebp - 0x24]
xor ebx, dword [ebp - 0x60]
xor ebx, dword [eax*4 + 0x633e0c00]
mov eax, dword [ebp - 0x28]
xor ebx, dword [eax*4 + 0x633e0800]
jmp 0x632c9035
mov edx, dword [eax*4 + 0x633df400]
mov eax, dword [ebp + 0xc]
xor edx, dword [ebx*4 + 0x633df800]
xor edx, dword [ebp - 0x2c]
xor edx, dword [edi*4 + 0x633dfc00]
xor edx, dword [esi*4 + str.cwko0]
bswap edx
mov dword [eax], edx
bswap edx
mov eax, dword [ebp - 0x30]
mov esi, dword [eax*4 + 0x633df400]
mov eax, dword [ebp - 0x34]
xor esi, dword [eax*4 + 0x633df800]
mov eax, dword [ebp - 0x38]
xor esi, dword [ebp - 0x40]
xor esi, dword [eax*4 + 0x633dfc00]
mov eax, dword [ebp - 0x3c]
xor esi, dword [eax*4 + str.cwko0]
mov eax, dword [ebp + 0xc]
add eax, 4
bswap esi
mov dword [eax], esi
bswap esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax*4 + 0x633df400]
mov eax, dword [ebp - 0x48]
xor ecx, dword [eax*4 + 0x633df800]
mov eax, dword [ebp - 0x4c]
xor ecx, dword [ebp - 0x54]
xor ecx, dword [eax*4 + 0x633dfc00]
mov eax, dword [ebp - 0x50]
xor ecx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp + 0xc]
add eax, 8
bswap ecx
mov dword [eax], ecx
bswap ecx
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax*4 + 0x633df400]
mov eax, dword [ebp - 0x24]
xor ebx, dword [eax*4 + 0x633df800]
mov eax, dword [ebp - 0x28]
xor ebx, dword [ebp - 0x60]
xor ebx, dword [eax*4 + 0x633dfc00]
mov eax, dword [ebp - 0x5c]
xor ebx, dword [eax*4 + str.cwko0]
mov eax, dword [ebp + 0xc]
add eax, 0xc
bswap ebx
mov dword [eax], ebx
bswap ebx
add esp, 0x6c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret