Function at 0x465970
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0e9a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x534094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x70], ecx
movzx eax, byte [ecx + 0x1c]
sub eax, 1
je 0x465e89
sub eax, 1
je 0x465aeb
sub eax, 1
jne 0x465fc4
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
sub eax, esi
lea edi, [edx + 2]
cmp edi, eax
jbe 0x4659f1
xor esi, esi
jmp 0x4659f5
movzx esi, word [edx + esi]
mov eax, edi
mov dword [ebp - 0x6c], esi
push 0
mov dword [ecx + 8], eax
xorps xmm0, xmm0
push 0x52a333
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.00449170
mov dword [ebp - 4], 8
xor eax, eax
mov edi, dword [ebp - 0x38]
cmp ax, si
lea esi, [edi + 0x20]
jae 0x465a76
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x70]
movzx eax, ax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00462f30
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x30]
push ecx
cmp eax, dword [esi + 8]
je 0x465a65
mov ecx, eax
call fcn.00447430
add dword [esi + 4], 0x18
jmp 0x465a6d
push eax
mov ecx, esi
call fcn.00454eb0
sub dword [ebp - 0x6c], 1
jne 0x465a41
mov edi, dword [ebp - 0x38]
mov eax, dword [edi + 0x24]
mov ecx, dword [esi]
cmp ecx, eax
je 0x465aae
nop
sub eax, 0x18
cmp ecx, eax
je 0x465aae
movups xmm0, xmmword [eax]
movups xmm1, xmmword [ecx]
movq xmm2, qword [ecx + 0x10]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
add ecx, 0x18
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm2
cmp ecx, eax
jne 0x465a80
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x465fc4
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465adc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fe6
push ecx
push edx
call fcn.004b44b2
add esp, 8
jmp 0x465fc4
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
call fcn.00462f30
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.00462f30
mov edx, eax
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
sub ecx, esi
lea edi, [eax + 2]
cmp edi, ecx
jbe 0x465b51
xor eax, eax
jmp 0x465b55
movzx eax, word [eax + esi]
mov dword [ebp - 0x6c], eax
mov ecx, edi
mov edi, dword [ebp - 0x38]
xor esi, esi
movzx eax, ax
mov dword [edx + 8], ecx
test eax, eax
je 0x465c23
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.00462f30
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.00447430
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00447430
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.00447430
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00464750
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x465c14
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465c0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fe6
push ecx
push edx
call fcn.004b44b2
add esp, 8
mov ecx, dword [ebp - 0x6c]
inc esi
movzx eax, cx
cmp esi, eax
jl 0x465b70
movaps xmm0, xmmword [0x52dd80]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x5c5e4f1f
mov dword [ebp - 0x1c], 0x115b5a54
mov word [ebp - 0x18], 0x1111
mov byte [ebp - 0x16], 0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x19
jb 0x465c48
xorps xmm0, xmm0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x2f]
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465c77
sub ecx, edx
lea eax, [ebp - 0x2f]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00449170
lea ecx, [edi + 0x278]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x90]
cmp ecx, eax
je 0x465cb8
cmp dword [ebp - 0x7c], 0x10
push dword [ebp - 0x80]
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.00443960
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x465cf3
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465ce9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fe6
push ecx
push edx
call fcn.004b44b2
add esp, 8
push 0x30
call fcn.004b447d
mov esi, eax
add esp, 4
mov dword [ebp - 0x78], esi
push 0x30
push 0
push esi
mov byte [ebp - 4], 6
call fcn.004b6610
add esp, 0xc
mov ecx, esi
call fcn.0044f540
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0044fd90
test esi, esi
je 0x465d3d
mov ecx, esi
call fcn.0044faa0
push 0x30
push esi
call fcn.004b44b2
add esp, 8
mov eax, dword [0x543ea0]
xor ecx, ecx
movaps xmm0, xmmword [0x52d960]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x4e4e4e04
mov byte [eax + 0x290], 0x64
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x13
jb 0x465d61
xorps xmm0, xmm0
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x2b]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465d96
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00449170
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
lea ecx, [edi + 0x278]
cmp ecx, eax
je 0x465ddd
cmp dword [ebp - 0x94], 0x10
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
push eax
call fcn.00443960
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x465e17
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465e0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fe6
push ecx
push edx
call fcn.004b44b2
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov byte [edi + 0x14c], 1
cmp ecx, 0x10
jb 0x465e52
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465e48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fe6
push ecx
push edx
call fcn.004b44b2
add esp, 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x465fc4
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465adc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465fe6
jmp 0x465adc
cmp byte [edi + 4], 0
jne 0x465fc4
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0x10]
lea eax, [edx + 2]
mov dword [ebp - 0x70], eax
mov eax, dword [ecx + 0x14]
sub eax, esi
cmp dword [ebp - 0x70], eax
jbe 0x465ead
xor eax, eax
jmp 0x465eb1
movzx eax, word [edx + esi]
mov edx, dword [ebp - 0x70]
mov dword [ecx + 8], edx
mov word [edi + 0x270], ax
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0x10]
lea eax, [edx + 1]
mov dword [ebp - 0x70], eax
mov eax, dword [ecx + 0x14]
sub eax, esi
cmp dword [ebp - 0x70], eax
jbe 0x465ed8
xor al, al
jmp 0x465edb
mov al, byte [edx + esi]
mov edx, dword [ebp - 0x70]
mov dword [ecx + 8], edx
mov byte [edi + 0x272], al
mov eax, dword [0x543ea0]
mov eax, dword [eax]
cmp dword [eax + 4], 0xffffffff
je 0x465fb7
mov ecx, dword [edi]
lea eax, [ebp - 0x31]
push 1
push eax
mov byte [ebp - 0x31], 3
call fcn.00443540
cmp byte [edi + 5], 0
mov byte [edi + 4], 1
jne 0x465fb7
movzx eax, word [edi + 0x274]
mov ecx, eax
cmp ax, word [edi + 0x270]
jle 0x465f95
movaps xmm0, xmmword [0x52ddf0]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x14
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x465f40
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
lea ecx, [ebp - 0x27]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465f70
sub ecx, esi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.00449170
mov ecx, edi
call fcn.0045d7e0
mov byte [edi + 0x14c], 0
jmp 0x465fb7
mov eax, dword [0x543ea0]
mov eax, dword [eax]
cmp dword [eax + 4], 0xffffffff
je 0x465fb7
push 3
lea eax, [ebp - 0x38]
mov word [ebp - 0x37], cx
mov ecx, dword [edi]
push eax
mov byte [ebp - 0x38], 2
call fcn.00443540
movzx eax, byte [edi + 0x272]
push eax
call fcn.004657d0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b446a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004bc830
int3