Function at 0x467520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79b1b4
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x831184]
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.00607e40
mov byte [ebp - 4], 2
cmp byte [ebp - 0x2c], 0
je 0x4675ed
mov dword [esi], 1
jmp 0x46779c
mov dword [ebp - 0x54], 5
xor ecx, ecx
mov dword [ebp - 0x50], 0xd800de
mov dword [ebp - 0x4c], 0xc200c4
mov dword [ebp - 0x48], 0xae00ca
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x467610
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 0x467630
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 0x46766e
push edx
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x46766e
mov dword [esi], 2
jmp 0x46779c
mov dword [ebp - 0x58], 7
xor ecx, ecx
mov dword [ebp - 0x54], 0xd200cc
mov dword [ebp - 0x50], 0xc500db
mov dword [ebp - 0x4c], 0xcb00df
mov dword [ebp - 0x48], 0xb000cb
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x467693
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 0x4676b3
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 0x4676f1
push edx
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x4676f1
mov dword [esi], 3
jmp 0x46779c
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 0x60], 0xc600c8
mov dword [ebp - 0x5c], 0xc900d9
mov dword [ebp - 0x58], 0xca00cc
mov dword [ebp - 0x54], 0xef00d6
mov dword [ebp - 0x50], 0xc100c4
mov dword [ebp - 0x4c], 0xd000d6
mov dword [ebp - 0x48], 0xb5
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 0x467740
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 0x46777f
push edi
push dword [ebp - 0x6c]
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x46777c
mov dword [esi], 4
jmp 0x46779c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov dword [esi], 0
cmp ebx, eax
je 0x46779c
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.MD.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 0x4677fd
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.0076eb7e
mov esp, ebp
pop ebp
ret 8