Function at 0x4320a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
movzx eax, word [esi]
push eax
call fcn.00460db8
add esp, 4
test eax, eax
je 0x4320db
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.00460db8
add esp, 4
test eax, eax
jne 0x4320c4
mov dword [ebp + 8], esi
movzx eax, word [edi]
push eax
call fcn.00460db8
add esp, 4
test eax, eax
je 0x432107
nop dword [eax + eax]
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.00460db8
add esp, 4
test eax, eax
jne 0x4320f0
mov dword [ebp - 0xc], edi
mov ebx, edi
lea ecx, [ebx + 2]
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x432110
sub ebx, ecx
lea ecx, [esi + 2]
sar ebx, 1
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x432122
sub esi, ecx
sar esi, 1
test ebx, ebx
je 0x432158
lea edi, [edi + ebx*2]
add edi, 0xfffffffe
nop dword [eax + eax]
movzx eax, word [edi]
push eax
call fcn.00460db8
add esp, 4
test eax, eax
je 0x432158
sub edi, 2
sub ebx, 1
jne 0x432140
test esi, esi
je 0x43217d
mov edi, dword [ebp + 8]
add edi, 0xfffffffe
lea edi, [edi + esi*2]
movzx eax, word [edi]
push eax
call fcn.00460db8
add esp, 4
test eax, eax
je 0x43217d
sub edi, 2
sub esi, 1
jne 0x432165
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x38]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432186
mov eax, dword [edx + 0x18]
sub ecx, edi
sar ecx, 1
mov dword [ebp - 8], ecx
add ecx, esi
add ecx, ebx
lea eax, [eax + ecx*2]
add eax, 9
and eax, 0xfffffffc
add eax, 0xa8
push eax
mov dword [ebp - 0x14], eax
call fcn.00458d22
mov ecx, eax
add esp, 4
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x432328
mov edx, dword [ebp - 4]
lea edi, [ecx + 0xa8]
mov eax, dword [ebp - 0x14]
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ecx + 0x20], xmm0
mov dword [ecx], eax
mov eax, edi
sub eax, ecx
mov word [ecx + 0x38], ax
mov eax, dword [ebp - 8]
lea eax, [eax*2 + 2]
push eax
push dword [edx + 0x38]
push edi
call fcn.00452490
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
inc eax
lea edx, [edi + eax*2]
lea edi, [ebx + ebx]
mov dword [ebp - 0x14], edx
push edi
push dword [ebp - 0xc]
mov eax, edx
sub eax, ecx
push edx
mov word [ecx + 0x3a], ax
call fcn.00452490
mov edx, dword [ebp - 0x14]
mov eax, ebx
and eax, 0x3f
add edi, edx
add esp, 0x18
mov dword [ebp - 0x14], edi
xor ecx, ecx
mov ax, word [eax*2 + 0x48b4e0]
mov word [edi], ax
test ebx, ebx
je 0x432266
nop dword [eax]
mov eax, ecx
and eax, 0x3f
mov ax, word [eax*2 + 0x48b4e0]
xor word [edx + ecx*2], ax
inc ecx
cmp ecx, ebx
jb 0x432250
mov ebx, dword [ebp - 0x10]
lea ecx, [edi + 2]
lea edi, [esi + esi]
mov eax, ecx
push edi
push dword [ebp + 8]
sub eax, ebx
push ecx
mov word [ebx + 0x3c], ax
call fcn.00452490
mov edx, dword [ebp - 0x14]
mov eax, esi
and eax, 0x3f
add esp, 0xc
xor ecx, ecx
mov ax, word [eax*2 + 0x48b4e0]
mov word [edi + edx + 2], ax
test esi, esi
je 0x4322b7
nop
mov eax, ecx
and eax, 0x3f
mov ax, word [eax*2 + 0x48b4e0]
xor word [edx + ecx*2 + 2], ax
inc ecx
cmp ecx, esi
jb 0x4322a0
lea ecx, [edx + 4]
add ecx, edi
mov edi, dword [ebp - 4]
mov eax, ecx
sub eax, ebx
mov word [ebx + 0x3e], ax
push dword [edi + 0x18]
push dword [edi + 0x30]
push ecx
call fcn.00452490
xor eax, eax
mov word [ebx + 0x40], ax
push 0x5c
push dword [edi + 0x34]
call fcn.004516ae
push 0x2f
push dword [edi + 0x34]
mov esi, eax
call fcn.004516ae
add esp, 0x1c
cmp esi, eax
cmova eax, esi
test eax, eax
jne 0x432300
mov eax, dword [edi + 0x34]
jmp 0x432303
add eax, 2
push 0x20
push eax
lea eax, [ebx + 0x68]
push eax
call fcn.00462b59
add esp, 0xc
xor eax, eax
mov word [ebx + 0xa6], ax
push ebx
call fcn.004323e0
mov ecx, eax
call fcn.00431f90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret