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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x44
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ecx]
lea edi, [edx + 0x100]
mov dword [ebp - 0x4c], edi
bswap eax
xor eax, dword [edx + 0x100]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
bswap eax
xor eax, dword [edx + 0x104]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
bswap eax
xor eax, dword [edx + 0x108]
bswap ecx
xor ecx, dword [edx + 0x10c]
mov edx, dword [edx + 0x200]
sar edx, 1
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], edx
jmp 0x622c73ba
mov edx, dword [ebp - 0x10]
mov edx, dword [edx*4 + 0x622db7e0]
xor edx, dword [ecx*4 + 0x622dc3e0]
mov ecx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x20]
xor edx, dword [ecx*4 + 0x622dbbe0]
mov ecx, dword [ebp - 0x1c]
xor edx, dword [ecx*4 + 0x622dbfe0]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx*4 + 0x622db7e0]
mov ecx, dword [ebp - 0x30]
xor edx, dword [ecx*4 + 0x622dc3e0]
mov ecx, dword [ebp - 0x28]
xor edx, dword [edi + 4]
xor edx, dword [ecx*4 + 0x622dbbe0]
mov ecx, dword [ebp - 0x2c]
xor edx, dword [ecx*4 + 0x622dbfe0]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx*4 + 0x622db7e0]
mov ecx, dword [eax*4 + 0x622dc3e0]
mov eax, dword [edi + 8]
xor ecx, edx
mov edx, dword [ebp - 0x44]
xor eax, ecx
mov ecx, dword [ebp - 0x3c]
xor eax, dword [edx*4 + 0x622dbbe0]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ecx*4 + 0x622db7e0]
xor ecx, dword [ebx*4 + 0x622dc3e0]
mov ebx, dword [ebp - 0x40]
xor eax, dword [edx*4 + 0x622dbfe0]
xor ecx, dword [edi + 0xc]
xor ecx, dword [ebx*4 + 0x622dbbe0]
xor ecx, dword [esi*4 + 0x622dbfe0]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
add edi, 0x20
mov edx, esi
shr ebx, 0x18
movzx edx, dl
mov ebx, dword [ebx*4 + 0x622db7e0]
xor ebx, dword [edx*4 + 0x622dc3e0]
mov edx, ecx
xor ebx, dword [edi - 0x10]
shr edx, 0x10
movzx edx, dl
xor ebx, dword [edx*4 + 0x622dbbe0]
movzx edx, ah
xor ebx, dword [edx*4 + 0x622dbfe0]
mov edx, esi
movzx esi, cl
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, edx
movzx edx, al
mov ebx, dword [ebx*4 + 0x622db7e0]
xor ebx, dword [edx*4 + 0x622dc3e0]
mov edx, dword [ebp - 0x18]
xor ebx, dword [edi - 0xc]
shr edx, 0x10
movzx edx, dl
xor ebx, dword [edx*4 + 0x622dbbe0]
movzx edx, ch
shr ecx, 0x18
xor ebx, dword [edx*4 + 0x622dbfe0]
mov edx, eax
shr eax, 0x10
shr edx, 0x18
mov dword [ebp - 0x14], ebx
movzx eax, al
mov edx, dword [edx*4 + 0x622db7e0]
xor edx, dword [esi*4 + 0x622dc3e0]
mov esi, dword [ebp - 0x10]
xor edx, dword [edi - 8]
shr esi, 0x10
mov ebx, esi
movzx esi, bl
mov ebx, dword [ebp - 0x18]
xor edx, dword [esi*4 + 0x622dbbe0]
movzx esi, bh
xor edx, dword [esi*4 + 0x622dbfe0]
movzx esi, bl
mov ebx, esi
mov esi, dword [ecx*4 + 0x622db7e0]
xor esi, dword [ebx*4 + 0x622dc3e0]
xor esi, dword [edi - 4]
xor esi, dword [eax*4 + 0x622dbbe0]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
movzx eax, ah
xor esi, dword [eax*4 + 0x622dbfe0]
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x10], eax
mov eax, esi
shr eax, 0x10
movzx ecx, al
movzx eax, dh
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
movzx ecx, byte [ebp - 0x14]
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x18
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x28], eax
mov eax, esi
movzx eax, ah
mov dword [ebp - 0x2c], eax
movzx eax, dl
mov dword [ebp - 0x30], eax
mov eax, edx
shr eax, 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x44], eax
movzx eax, bh
movzx ebx, bl
mov dword [ebp - 0x38], eax
mov eax, esi
shr esi, 0x18
shr edx, 0x10
dec dword [ebp - 0x48]
movzx eax, al
mov dword [ebp - 0x3c], esi
movzx esi, dl
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x40], esi
movzx esi, dh
jne 0x622c7310
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x50]
shl eax, 5
add edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
movzx edx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ebp - 0x20]
and eax, 0xff00
or eax, edx
mov edx, dword [ebp - 0x18]
xor ecx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
and eax, 0xff000000
or eax, edx
xor eax, ecx
mov ecx, dword [ebp + 0xc]
bswap eax
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
or eax, edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x28]
xor ecx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
and eax, 0xff000000
or eax, edx
xor eax, ecx
mov ecx, dword [ebp + 0xc]
bswap eax
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ebp - 0x44]
movzx edx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
or eax, edx
mov edx, dword [ebp - 0x14]
xor eax, dword [edx + 8]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov edi, dword [ebp - 0x3c]
and ecx, 0xff0000
and edx, 0xff000000
or edx, ecx
xor edx, eax
mov eax, dword [ebp + 0xc]
bswap edx
mov dword [eax + 8], edx
mov eax, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
movzx edx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
or eax, edx
mov edx, dword [ebp - 0x14]
xor eax, dword [edx + 0xc]
mov edx, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov edi, dword [ebp - 0x40]
and edx, 0xff000000
mov ecx, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov edi, dword [ebp + 0xc]
and ecx, 0xff0000
or edx, ecx
xor eax, edx
bswap eax
mov dword [edi + 0xc], eax
add esp, 0x44
pop ebx
pop esi
pop edi
pop ebp
ret