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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x636b1c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x11c]
push edi
mov edi, dword [ebp + 8]
push 0x118
push 0
push eax
call sub.MSVCR120.dll_memset
push dword [ebp + 0x10]
lea eax, [ebp - 0x11c]
push esi
lea ebx, [edi + 8]
push eax
mov dword [edi + 4], ebx
call fcn.0046c080
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x124], esi
test esi, esi
jne 0x46c059
mov ecx, dword [ebp - 0x11c]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x118]
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [ebx + 0xc], eax
add ebx, 0x10
mov eax, dword [edi]
dec eax
mov dword [ebp - 0x120], eax
test eax, eax
jle 0x46c043
jmp 0x46be70
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + str.cw]
mov edi, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 3]
movzx eax, byte [eax + str.cw]
mov edx, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 2]
movzx eax, byte [eax + str.cw]
mov eax, dword [eax*4 + 0x4e15d0]
mov esi, eax
shl eax, 0x10
shr esi, 0x10
add esi, eax
mov eax, edx
shl eax, 0x18
shr edx, 8
add eax, edx
xor esi, eax
mov eax, edi
shl eax, 8
shr edi, 0x18
add eax, edi
xor esi, eax
movzx eax, byte [ecx]
movzx eax, byte [eax + str.cw]
xor esi, dword [eax*4 + 0x4e15d0]
mov dword [ebx], esi
movzx eax, byte [ecx + 5]
movzx eax, byte [eax + str.cw]
mov edi, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 7]
movzx eax, byte [eax + str.cw]
mov edx, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 6]
movzx eax, byte [eax + str.cw]
mov eax, dword [eax*4 + 0x4e15d0]
mov esi, eax
shl eax, 0x10
shr esi, 0x10
add esi, eax
mov eax, edx
shl eax, 0x18
shr edx, 8
add eax, edx
xor esi, eax
mov eax, edi
shl eax, 8
shr edi, 0x18
add eax, edi
xor esi, eax
movzx eax, byte [ecx + 4]
movzx eax, byte [eax + str.cw]
xor esi, dword [eax*4 + 0x4e15d0]
mov dword [ebx + 4], esi
movzx eax, byte [ecx + 9]
movzx eax, byte [eax + str.cw]
mov edi, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 0xb]
movzx eax, byte [eax + str.cw]
mov edx, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 0xa]
movzx eax, byte [eax + str.cw]
mov eax, dword [eax*4 + 0x4e15d0]
mov esi, eax
shl eax, 0x10
shr esi, 0x10
add esi, eax
mov eax, edx
shl eax, 0x18
shr edx, 8
add eax, edx
xor esi, eax
mov eax, edi
shl eax, 8
shr edi, 0x18
add eax, edi
xor esi, eax
movzx eax, byte [ecx + 8]
movzx eax, byte [eax + str.cw]
xor esi, dword [eax*4 + 0x4e15d0]
mov dword [ebx + 8], esi
movzx eax, byte [ecx + 0xd]
movzx eax, byte [eax + str.cw]
mov edi, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 0xf]
movzx eax, byte [eax + str.cw]
mov edx, dword [eax*4 + 0x4e15d0]
movzx eax, byte [ecx + 0xe]
movzx eax, byte [eax + str.cw]
mov eax, dword [eax*4 + 0x4e15d0]
mov esi, eax
shl eax, 0x10
shr esi, 0x10
add esi, eax
mov eax, edx
shl eax, 0x18
shr edx, 8
add eax, edx
xor esi, eax
mov eax, edi
shl eax, 8
shr edi, 0x18
add eax, edi
xor esi, eax
movzx eax, byte [ecx + 0xc]
sub ecx, 0x10
movzx eax, byte [eax + str.cw]
xor esi, dword [eax*4 + 0x4e15d0]
mov eax, dword [ebp - 0x120]
dec eax
mov dword [ebx + 0xc], esi
add ebx, 0x10
mov dword [ebp - 0x120], eax
test eax, eax
jg 0x46be70
mov esi, dword [ebp - 0x124]
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x11c]
push 0x118
push eax
call fcn.0046b4d0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004743e6
mov esp, ebp
pop ebp
ret