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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
jmp 0x421a28
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x421a46
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + str.cw]
mov al, byte [ebp - 4]
mov byte [edx + 0x59d448], al
jmp 0x421a1f
mov dword [ebp - 4], 0
jmp 0x421a58
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x100
jae 0x421c80
mov edx, dword [ebp - 4]
movzx eax, byte [edx + str.cw]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
and ecx, 0x80
je 0x421a86
mov dword [ebp - 0x34], 0x1b
jmp 0x421a8d
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 8]
shl edx, 1
xor edx, dword [ebp - 0x34]
and edx, 0xff
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
shl ecx, 8
or ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0x14]
shl eax, 0x18
or ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x59e548], ecx
mov eax, dword [ebp - 0xc]
shl eax, 8
or eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
shl ecx, 0x10
or eax, ecx
mov edx, dword [ebp - 8]
shl edx, 0x18
or eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x59e948], eax
mov edx, dword [ebp - 0x14]
shl edx, 8
or edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
shl eax, 0x10
or edx, eax
mov ecx, dword [ebp - 8]
shl ecx, 0x18
or edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x59ed48], edx
mov ecx, dword [ebp - 8]
shl ecx, 8
or ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0xc]
shl eax, 0x18
or ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x59f148], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x59d448]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0x80
je 0x421b54
mov dword [ebp - 0x38], 0x1b
jmp 0x421b5b
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
shl eax, 1
xor eax, dword [ebp - 0x38]
and eax, 0xff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x80
je 0x421b7f
mov dword [ebp - 0x3c], 0x1b
jmp 0x421b86
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x20]
shl edx, 1
xor edx, dword [ebp - 0x3c]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
and eax, 0x80
je 0x421baa
mov dword [ebp - 0x40], 0x1b
jmp 0x421bb1
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
xor ecx, dword [ebp - 0x40]
and ecx, 0xff
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x28]
shl eax, 8
or eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
shl ecx, 0x10
or eax, ecx
mov edx, dword [ebp - 0x2c]
shl edx, 0x18
or eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x59d548], eax
mov edx, dword [ebp - 0x30]
shl edx, 8
or edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
shl eax, 0x10
or edx, eax
mov ecx, dword [ebp - 0x24]
shl ecx, 0x18
or edx, ecx
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x59d948], edx
mov ecx, dword [ebp - 0x2c]
shl ecx, 8
or ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0x28]
shl eax, 0x18
or ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx*4 + 0x59dd48], ecx
mov eax, dword [ebp - 0x24]
shl eax, 8
or eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
shl ecx, 0x10
or eax, ecx
mov edx, dword [ebp - 0x30]
shl edx, 0x18
or eax, edx
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x59e148], eax
jmp 0x421a4f
mov dword [0x5a06e8], 0x422e90
mov dword [0x5a06e4], 0x422fb0
mov dword [0x5a06e0], 0x423140
call fcn.004241f0
test eax, eax
je 0x421cc5
mov dword [0x5a06e8], 0x423260
mov dword [0x5a06e4], 0x423390
mov dword [0x5a06e0], 0x423780
mov esp, ebp
pop ebp
ret