Function at 0x4a0410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf711
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x264], eax
call fcn.004a0140
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0
call fcn.004a0140
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 1
call fcn.004a0140
cmp byte [ebp + 0x28], 0
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 2
je 0x4a04ff
mov ecx, dword [ebp - 0x264]
push 1
push str.ZipAes_derive_key
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x264]
push edi
push dword [ebp - 0x26c]
push 0x517c84
call fcn.00438030
mov ecx, dword [ebp - 0x264]
push edi
push str.pwd_len
call fcn.00438280
mov ecx, dword [ebp - 0x264]
push esi
push dword [ebp - 0x268]
push str.salt
call fcn.00438030
mov ecx, dword [ebp - 0x264]
push esi
push str.salt_len
call fcn.00438280
lea eax, [ebp - 0x1a8]
push eax
call fcn.004a01c0
lea eax, [ebp - 0x1a8]
push eax
push edi
push dword [ebp - 0x26c]
call fcn.004a0340
add esp, 0x10
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0x260]
push eax
call fcn.004a03c0
lea eax, [ebp - 0x260]
push eax
push esi
push dword [ebp - 0x268]
call fcn.004a01f0
mov esi, dword [ebp + 0x20]
mov eax, 0xcccccccd
add esp, 0xc
lea ecx, [esi - 1]
mul ecx
mov eax, edx
shr eax, 4
add eax, 1
mov dword [ebp - 0x278], eax
je 0x4a06ab
mov eax, 1
mov dword [ebp - 0x26c], 0
lea edi, [ebp - 0x38]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x270], edi
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0xf0]
movups xmmword [ebp - 0x288], xmm0
movups xmmword [ebp - 0x38], xmm0
call fcn.004a03c0
mov ecx, dword [ebp - 0x268]
mov esi, 4
mov eax, ecx
mov byte [ebp - 0x21], cl
shr eax, 0x18
mov byte [ebp - 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x23], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x22], al
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4a065c
mov edi, eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.004a01f0
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.004a0290
movups xmm0, xmmword [ebp - 0x24]
add esp, 0x18
mov esi, 0x10
movups xmm1, xmmword [ebp - 0x288]
pxor xmm1, xmm0
movups xmmword [ebp - 0x38], xmm1
mov al, byte [ebp + esi - 0x24]
xor byte [ebp + esi - 0x38], al
inc esi
cmp esi, 0x14
jb 0x4a0624
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0xf0]
call fcn.004a03c0
sub edi, 1
je 0x4a0656
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x288], xmm0
jmp 0x4a05e6
mov edi, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
xor edx, edx
mov esi, dword [ebp + 0x20]
cmp ecx, esi
jae 0x4a0681
mov esi, dword [ebp - 0x274]
inc edx
mov al, byte [edi + ecx]
mov byte [ecx + esi], al
inc ecx
mov esi, dword [ebp + 0x20]
cmp edx, 0x14
jb 0x4a0667
mov eax, dword [ebp - 0x268]
sub edi, 0x14
add dword [ebp - 0x26c], 0x14
inc eax
mov dword [ebp - 0x268], eax
dec eax
mov dword [ebp - 0x270], edi
cmp eax, dword [ebp - 0x278]
jb 0x4a0590
cmp byte [ebp + 0x28], 0
je 0x4a06de
mov edi, dword [ebp - 0x264]
mov ecx, edi
push esi
push str.key_len
call fcn.00438280
push esi
push dword [ebp - 0x274]
mov ecx, edi
push 0x509a58
call fcn.00438030
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
lea ecx, [ebp - 0xf0]
call fcn.004a0180
lea ecx, [ebp - 0x260]
call fcn.004a0180
lea ecx, [ebp - 0x1a8]
call fcn.004a0180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret