Function at 0x465820
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 0x4e0d8a
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 0x465d39
sub eax, 1
je 0x46599b
sub eax, 1
jne 0x465e74
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 0x4658a1
xor esi, esi
jmp 0x4658a5
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.00449030
mov dword [ebp - 4], 8
xor eax, eax
mov edi, dword [ebp - 0x38]
cmp ax, si
lea esi, [edi + 0x20]
jae 0x465926
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.00462de0
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x30]
push ecx
cmp eax, dword [esi + 8]
je 0x465915
mov ecx, eax
call fcn.004472f0
add dword [esi + 4], 0x18
jmp 0x46591d
push eax
mov ecx, esi
call fcn.00454d70
sub dword [ebp - 0x6c], 1
jne 0x4658f1
mov edi, dword [ebp - 0x38]
mov eax, dword [edi + 0x24]
mov ecx, dword [esi]
cmp ecx, eax
je 0x46595e
nop
sub eax, 0x18
cmp ecx, eax
je 0x46595e
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 0x465930
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x465e74
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46598c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465e96
push ecx
push edx
call fcn.004b43c2
add esp, 8
jmp 0x465e74
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.00462de0
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.00462de0
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 0x465a01
xor eax, eax
jmp 0x465a05
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 0x465ad3
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.00462de0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.004472f0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004472f0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.004472f0
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00464600
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x465ac4
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465aba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465e96
push ecx
push edx
call fcn.004b43c2
add esp, 8
mov ecx, dword [ebp - 0x6c]
inc esi
movzx eax, cx
cmp esi, eax
jl 0x465a20
movaps xmm0, xmmword [0x52da10]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x14160757
mov dword [ebp - 0x1c], 0x5913121c
mov word [ebp - 0x18], 0x5959
mov byte [ebp - 0x16], 0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x19
jb 0x465af8
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 0x465b27
sub ecx, edx
lea eax, [ebp - 0x2f]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.00449030
lea ecx, [edi + 0x278]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x90]
cmp ecx, eax
je 0x465b68
cmp dword [ebp - 0x7c], 0x10
push dword [ebp - 0x80]
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.00443820
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x465ba3
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465b99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465e96
push ecx
push edx
call fcn.004b43c2
add esp, 8
push 0x30
call fcn.004b438d
mov esi, eax
add esp, 4
mov dword [ebp - 0x78], esi
push 0x30
push 0
push esi
mov byte [ebp - 4], 6
call fcn.004b6520
add esp, 0xc
mov ecx, esi
call fcn.0044f400
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0044fc50
test esi, esi
je 0x465bed
mov ecx, esi
call fcn.0044f960
push 0x30
push esi
call fcn.004b43c2
add esp, 8
mov eax, dword [0x543ea0]
xor ecx, ecx
movaps xmm0, xmmword [0x52dcf0]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0xe0e0e44
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 0x465c11
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 0x465c46
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00449030
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
lea ecx, [edi + 0x278]
cmp ecx, eax
je 0x465c8d
cmp dword [ebp - 0x94], 0x10
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
push eax
call fcn.00443820
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x465cc7
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465cbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465e96
push ecx
push edx
call fcn.004b43c2
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov byte [edi + 0x14c], 1
cmp ecx, 0x10
jb 0x465d02
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x465cf8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465e96
push ecx
push edx
call fcn.004b43c2
add esp, 8
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x465e74
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46598c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465e96
jmp 0x46598c
cmp byte [edi + 4], 0
jne 0x465e74
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 0x465d5d
xor eax, eax
jmp 0x465d61
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 0x465d88
xor al, al
jmp 0x465d8b
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 0x465e67
mov ecx, dword [edi]
lea eax, [ebp - 0x31]
push 1
push eax
mov byte [ebp - 0x31], 3
call fcn.00443400
cmp byte [edi + 5], 0
mov byte [edi + 4], 1
jne 0x465e67
movzx eax, word [edi + 0x274]
mov ecx, eax
cmp ax, word [edi + 0x270]
jle 0x465e45
movaps xmm0, xmmword [0x52db30]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x69
nop dword [eax]
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x465df0
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 0x465e20
sub ecx, esi
lea eax, [ebp - 0x27]
push ecx
push eax
mov ecx, edx
call fcn.00449030
mov ecx, edi
call fcn.0045d6a0
mov byte [edi + 0x14c], 0
jmp 0x465e67
mov eax, dword [0x543ea0]
mov eax, dword [eax]
cmp dword [eax + 4], 0xffffffff
je 0x465e67
push 3
lea eax, [ebp - 0x38]
mov word [ebp - 0x37], cx
mov ecx, dword [edi]
push eax
mov byte [ebp - 0x38], 2
call fcn.00443400
movzx eax, byte [edi + 0x272]
push eax
call fcn.00465680
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.004b437a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004bc740
int3