Function at 0x445f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x5428f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x44c], ebx
inc ebx
mov dword [ebp - 0x458], eax
mov eax, dword [ebp + 0x18]
push esi
shr ebx, 1
mov dword [ebp - 0x450], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x454], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x45c], ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x460], edi
cmp ebx, 0x100
ja 0x446230
add eax, dword [ebp + 0x24]
cmp eax, 0x80
ja 0x446230
mov esi, dword [ebp + 0xc]
cmp esi, 0xe0
ja 0x446230
push esi
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.004bd260
push esi
lea eax, [ebp - 0x1c4]
push 0
push eax
call fcn.004bd260
push ebx
push dword [ebp - 0x458]
lea eax, [ebp - 0x344]
push eax
call fcn.004bc760
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0x458]
and eax, 1
sub ecx, eax
lea eax, [ebp - 0x444]
push ebx
add ecx, ebx
push ecx
push eax
call fcn.004bc760
push dword [ebp - 0x448]
lea eax, [ebp - 0x244]
push dword [ebp - 0x450]
push eax
call fcn.004bc760
push dword [ebp + 0x24]
mov eax, dword [ebp - 0x448]
lea ecx, [ebp - 0x244]
push dword [ebp - 0x454]
add eax, ecx
push eax
call fcn.004bc760
mov eax, dword [ebp - 0x448]
add esp, 0x48
add eax, dword [ebp + 0x24]
push dword [ebp + 0x2c]
push dword [ebp - 0x45c]
push 1
push eax
lea eax, [ebp - 0x244]
push eax
push ebx
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0xe4]
push esi
push eax
call fcn.00446250
add esp, 0x24
test eax, eax
jne 0x446235
push dword [ebp + 0x2c]
mov eax, dword [ebp - 0x448]
push dword [ebp - 0x45c]
add eax, dword [ebp + 0x24]
push 2
push eax
lea eax, [ebp - 0x244]
push eax
push ebx
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x1c4]
push esi
push eax
call fcn.00446250
mov ebx, eax
add esp, 0x24
mov dword [ebp - 0x448], ebx
test ebx, ebx
jne 0x446235
test esi, esi
je 0x44621d
cmp esi, 0x40
jb 0x4461e8
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0xe5]
add edx, edi
cmp edi, ecx
ja 0x44611a
lea ecx, [ebp - 0xe4]
cmp edx, ecx
jae 0x4461e8
lea ecx, [ebp + esi - 0x1c5]
cmp edi, ecx
ja 0x446133
lea ecx, [ebp - 0x1c4]
cmp edx, ecx
jae 0x4461e8
mov ebx, esi
lea ecx, [ebp - 0xd4]
mov esi, edi
lea edx, [edi + 0x20]
sub esi, ecx
mov dword [ebp - 0x44c], edx
sub ecx, edi
and ebx, 0xffffffc0
mov dword [ebp - 0x454], ecx
lea ecx, [ebp - 0x1b4]
sub ecx, edi
mov edi, dword [ebp - 0x454]
mov dword [ebp - 0x450], ecx
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0xe4]
lea ecx, [ebp - 0xd4]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x1c4]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x450]
movups xmm1, xmmword [ebp + eax - 0x1b4]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x1a4]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0xc4]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x44c]
cmp eax, ebx
jb 0x446170
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x460]
cmp eax, esi
jae 0x446206
nop dword [eax]
mov cl, byte [ebp + eax - 0x1c4]
xor cl, byte [ebp + eax - 0xe4]
mov byte [eax + edi], cl
inc eax
cmp eax, esi
jb 0x4461f0
mov eax, dword [ebp - 0x448]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049bafa
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049bafa
mov esp, ebp
pop ebp
ret
mov eax, 0xffffff7c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049bafa
mov esp, ebp
pop ebp
ret