Function at 0x466810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x799a74
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
mov esi, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp + 0xc]
lea ebx, [esi + 0x28]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x68], 0
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x68], 1
call fcn.004064e0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00606db0
mov byte [ebp - 4], 2
cmp byte [ebp - 0x2c], 0
je 0x4668dd
mov dword [esi], 1
jmp 0x466a8c
mov dword [ebp - 0x54], 5
xor ecx, ecx
mov dword [ebp - 0x50], 0xcb00cf
mov dword [ebp - 0x4c], 0xd500d5
mov dword [ebp - 0x48], 0xbd00db
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x466900
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
lea ecx, [ebp - 0x50]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x466920
sub ecx, edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
sar ecx, 1
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp edx, ecx
jne 0x46695e
push edx
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x46695e
mov dword [esi], 2
jmp 0x466a8c
mov dword [ebp - 0x58], 7
xor ecx, ecx
mov dword [ebp - 0x54], 0xc100dd
mov dword [ebp - 0x50], 0xd200ca
mov dword [ebp - 0x4c], 0xd800ce
mov dword [ebp - 0x48], 0xbf00da
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x466983
xor ecx, ecx
mov word [ebp + eax*2 - 0x54], cx
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4669a3
sub ecx, edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
sar ecx, 1
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp edx, ecx
jne 0x4669e1
push edx
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x4669e1
mov dword [esi], 3
jmp 0x466a8c
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x60], 0xd500d9
mov dword [ebp - 0x5c], 0xde00c8
mov dword [ebp - 0x58], 0xd900dd
mov dword [ebp - 0x54], 0xe000c7
mov dword [ebp - 0x50], 0xb200b5
mov dword [ebp - 0x4c], 0xa700a7
mov dword [ebp - 0x48], 0xc4
call fcn.00403e20
mov edx, eax
mov dword [ebp - 0x6c], eax
lea eax, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x466a30
mov ecx, dword [ebp - 0x14]
sub edx, eax
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
sar edx, 1
cmp ecx, 8
cmovae eax, dword [ebp - 0x28]
cmp edi, edx
jne 0x466a6f
push edi
push dword [ebp - 0x6c]
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x466a6c
mov dword [esi], 4
jmp 0x466a8c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov dword [esi], 0
cmp ebx, eax
je 0x466a8c
cmp ecx, 8
mov ecx, ebx
push edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004044f0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x9c], vtable..102.0
mov dword [ebp - 0x90], esi
lea ecx, [eax + 0x138]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x9c]
movq xmm0, qword [ebp - 0x50]
movq qword [ebp - 0x98], xmm0
mov dword [ebp - 0x78], eax
push eax
mov byte [ebp - 4], 3
call fcn.0042e9e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x466aed
mov edx, dword [ecx]
lea eax, [ebp - 0x9c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.00407a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076d59e
mov esp, ebp
pop ebp
ret 8