Function at 0x430bd9
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx edx, byte [eax + 3]
shl edx, 8
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
push ebx
push edi
movzx edi, byte [eax + 2]
or edx, edi
movzx edi, byte [eax + 1]
shl edx, 8
or edx, edi
movzx edi, byte [eax]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 6]
mov dword [ebp - 0x24], edx
xor edx, dword [ecx]
movzx ebx, byte [eax + 0xb]
mov dword [ebp - 0x24], edx
movzx edx, byte [eax + 7]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 5]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 4]
shl edx, 8
or edx, edi
mov dword [ebp - 0x20], edx
movzx edi, byte [eax + 0xe]
add ecx, 4
xor edx, dword [ecx]
shl ebx, 8
mov dword [ebp - 0x20], edx
movzx edx, byte [eax + 0xa]
or ebx, edx
movzx edx, byte [eax + 9]
shl ebx, 8
or ebx, edx
movzx edx, byte [eax + 8]
shl ebx, 8
or ebx, edx
movzx edx, byte [eax + 0xf]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 0xd]
movzx eax, byte [eax + 0xc]
shl edx, 8
or edx, edi
add ecx, 4
shl edx, 8
or edx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
xor ebx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ebx
xor edx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x18], edx
mov edx, dword [eax]
sar edx, 1
dec edx
mov dword [ebp + 8], edx
mov eax, 0xff
test edx, edx
jle 0x430ea3
mov edi, dword [ebp - 0x20]
shr edi, 8
and edi, eax
mov edx, ebx
shr edx, 0x10
shr ebx, 8
and edx, eax
mov edx, dword [edx*4 + 0x45b418]
xor edx, dword [edi*4 + 0x45b018]
mov edi, dword [ebp - 0x18]
shr edi, 0x18
xor edx, dword [edi*4 + 0x45b818]
mov edi, dword [ebp - 0x24]
and edi, eax
xor edx, dword [edi*4 + 0x45ac18]
mov edi, dword [ebp - 0x18]
shr edi, 0x10
xor edx, dword [ecx]
and edi, eax
mov edi, dword [edi*4 + 0x45b418]
and ebx, eax
xor edi, dword [ebx*4 + 0x45b018]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0x20]
and ebx, eax
xor edi, dword [ebx*4 + 0x45ac18]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x10
and ebx, eax
add ecx, 4
mov dword [ebp - 0x14], edx
xor edi, dword [ecx]
add ecx, 4
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x18]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x45b018]
xor edi, dword [ebx*4 + 0x45b418]
mov ebx, dword [ebp - 0x20]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0x1c]
and ebx, eax
xor edi, dword [ebx*4 + 0x45ac18]
mov ebx, dword [ebp - 0x24]
xor edi, dword [ecx]
shr ebx, 8
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x20]
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x45b418]
and ebx, eax
xor edi, dword [ebx*4 + 0x45b018]
mov ebx, dword [ebp - 0x1c]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0x18]
and ebx, eax
xor edi, dword [ebx*4 + 0x45ac18]
mov ebx, dword [ebp - 0x10]
add ecx, 4
xor edi, dword [ecx]
shr ebx, 8
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0xc]
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x45b418]
and ebx, eax
xor edi, dword [ebx*4 + 0x45b018]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45b818]
mov ebx, edx
and ebx, eax
add ecx, 4
xor edi, dword [ebx*4 + 0x45ac18]
xor edi, dword [ecx]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 8]
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x45b418]
shr ebx, 8
and ebx, eax
xor edi, dword [ebx*4 + 0x45b018]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0x10]
and ebx, eax
xor edi, dword [ebx*4 + 0x45ac18]
add ecx, 4
xor edi, dword [ecx]
mov ebx, edx
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 8]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x45b018]
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x45b418]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0xc]
and ebx, eax
xor edi, dword [ebx*4 + 0x45ac18]
add ecx, 4
xor edi, dword [ecx]
shr edx, 8
mov ebx, edi
mov edi, dword [ebp - 0x10]
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x45b418]
and edx, eax
xor edi, dword [edx*4 + 0x45b018]
mov edx, dword [ebp - 0xc]
shr edx, 0x18
xor edi, dword [edx*4 + 0x45b818]
mov edx, dword [ebp - 8]
and edx, eax
xor edi, dword [edx*4 + 0x45ac18]
add ecx, 4
mov dword [ebp - 0x1c], ebx
xor edi, dword [ecx]
add ecx, 4
dec dword [ebp + 8]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x18], edi
jg 0x430ca6
mov edi, dword [ebp - 0x20]
mov edx, ebx
shr edx, 0x10
and edx, eax
shr edi, 8
and edi, eax
shr ebx, 8
mov dword [ebp + 8], edi
mov edi, dword [edx*4 + 0x45b418]
mov edx, dword [ebp + 8]
xor edi, dword [edx*4 + 0x45b018]
mov edx, dword [ebp - 0x18]
shr edx, 0x18
xor edi, dword [edx*4 + 0x45b818]
mov edx, dword [ebp - 0x24]
and edx, eax
xor edi, dword [edx*4 + 0x45ac18]
mov edx, dword [ebp - 0x18]
shr edx, 0x10
xor edi, dword [ecx]
and edx, eax
mov edx, dword [edx*4 + 0x45b418]
and ebx, eax
xor edx, dword [ebx*4 + 0x45b018]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0x20]
and ebx, eax
xor edx, dword [ebx*4 + 0x45ac18]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x10
and ebx, eax
add ecx, 4
mov dword [ebp - 0x14], edi
xor edx, dword [ecx]
add ecx, 4
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x45b018]
xor edx, dword [ebx*4 + 0x45b418]
mov ebx, dword [ebp - 0x20]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0x1c]
and ebx, eax
xor edx, dword [ebx*4 + 0x45ac18]
mov ebx, dword [ebp - 0x24]
xor edx, dword [ecx]
shr ebx, 8
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x20]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x45b418]
and ebx, eax
xor edx, dword [ebx*4 + 0x45b018]
mov ebx, dword [ebp - 0x1c]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x45b818]
mov ebx, dword [ebp - 0x18]
and ebx, eax
xor edx, dword [ebx*4 + 0x45ac18]
mov ebx, dword [ebp - 0xc]
add ecx, 4
xor edx, dword [ecx]
shr ebx, 0x10
mov dword [ebp - 8], edx
shr edx, 0x18
movzx edx, byte [edx + str.cw]
and ebx, eax
movzx ebx, byte [ebx + str.cw]
shl edx, 8
xor ebx, edx
mov edx, dword [ebp - 0x10]
shr edx, 8
add ecx, 4
shl ebx, 8
and edx, eax
movzx edx, byte [edx + str.cw]
xor ebx, edx
shl ebx, 8
mov edx, edi
and edx, eax
movzx edx, byte [edx + str.cw]
xor ebx, edx
xor ebx, dword [ecx]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], ebx
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + str.cw]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
shl edx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x10]
shl edx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
xor edx, ebx
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
add ecx, 4
xor edx, dword [ecx]
shl ebx, 8
mov dword [ebp - 0x20], edx
mov edx, edi
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + str.cw]
xor edx, ebx
mov ebx, dword [ebp - 8]
shr ebx, 8
shl edx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shl edx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
xor edx, ebx
mov ebx, dword [ebp - 0xc]
add ecx, 4
xor edx, dword [ecx]
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, eax
movzx edx, byte [edx + str.cw]
shr edi, 8
and edi, eax
movzx edi, byte [edi + str.cw]
shl ebx, 8
xor edx, ebx
shl edx, 8
xor edx, edi
mov edi, dword [ebp - 8]
and edi, eax
movzx eax, byte [edi + str.cw]
shl edx, 8
xor edx, eax
xor edx, dword [ecx + 4]
mov eax, dword [ebp - 0x24]
mov ecx, eax
shr ecx, 8
mov dword [ebp - 0x18], edx
mov byte [esi], al
mov byte [esi + 1], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
mov byte [esi + 3], al
mov eax, dword [ebp - 0x20]
mov byte [esi + 2], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, eax
shr eax, 0x18
mov byte [esi + 7], al
mov eax, dword [ebp - 0x1c]
shr ecx, 0x10
mov byte [esi + 6], cl
mov ecx, eax
mov byte [esi + 8], al
shr ecx, 8
mov byte [esi + 9], cl
mov ecx, eax
shr eax, 0x18
mov byte [esi + 0xb], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xd], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xe], al
mov byte [esi + 0xc], dl
lea eax, [ebp - 0x24]
shr ecx, 0x10
shr edx, 0x18
push 0x20
push eax
mov byte [esi + 0xa], cl
mov byte [esi + 0xf], dl
call fcn.00433375
pop ecx
pop ecx
pop edi
xor eax, eax
pop ebx
leave
ret