Function at 0x46e4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x825a98
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x93cf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x181dbec]
push 0x3b8
push 0
lea eax, [edi + 0x86c]
mov dword [edi + 0x864], 1
lea ebx, [edi + 0x868]
push eax
mov dword [ebp - 0x78], ebx
call fcn.006d0040
add esp, 0xc
mov dword [ebx], 0x3bc
push 0x68
push dword [edi + 0xe4]
call dword [0x83da3c]
movq xmm0, qword [0x901860]
xor esi, esi
mov dword [edi + 0x87c], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x86c], eax
mov ax, word [0x901868]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x18], ax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x20], ax
inc esi
cmp esi, 5
jl 0x46e576
lea eax, [ebp - 0x20]
push eax
lea ebx, [edi + 0x880]
push ebx
call dword [0x83d368]
movq xmm0, qword [0x901860]
xor esi, esi
mov ax, word [0x901868]
mov dword [edi + 0x878], 0x5ff
mov dword [edi + 0x874], 0x1f
movq qword [ebp - 0x2c], xmm0
mov word [ebp - 0x24], ax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x2c], ax
inc esi
cmp esi, 5
jl 0x46e5e5
mov eax, dword [0x901874]
xor esi, esi
movq xmm0, qword [0x90186c]
mov dword [ebp - 0x4c], eax
mov ax, word [0x901878]
movq qword [ebp - 0x54], xmm0
mov word [ebp - 0x48], ax
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x54], ax
inc esi
cmp esi, 7
jl 0x46e637
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00415ad0
add esp, 0xc
mov dword [ebp - 4], 0
xor esi, esi
movq xmm0, qword [0x901860]
mov ax, word [0x901868]
movq qword [ebp - 0x38], xmm0
mov word [ebp - 0x30], ax
nop dword [eax]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x38], ax
inc esi
cmp esi, 5
jl 0x46e6a0
lea eax, [ebp - 0x38]
push eax
push 0x80
push ebx
call fcn.006dd49b
add esp, 0xc
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
cmovae eax, dword [ebp - 0x6c]
push eax
lea eax, [edi + 0x988]
push 0x100
push eax
call fcn.006dd49b
movq xmm0, qword [0x901854]
add esp, 0xc
mov ax, word [0x90185c]
xor esi, esi
movq qword [ebp - 0x44], xmm0
mov word [ebp - 0x3c], ax
nop dword [eax]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
shl ecx, 3
sub eax, ecx
add eax, 0x35
xor word [ebp + esi*2 - 0x44], ax
inc esi
cmp esi, 5
jl 0x46e720
lea eax, [ebp - 0x44]
push eax
lea eax, [edi + 0xb8c]
push 0x40
push eax
call fcn.006dd49b
mov eax, dword fs:[0x30]
add esp, 0xc
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor edi, edi
mov esi, dword [eax + 0x30]
and edx, 0xfffffffe
mov dword [ebp - 0x70], eax
mov ebx, 0x811c9dc5
lea ecx, [edx + esi]
inc edx
shr edx, 1
cmp esi, ecx
cmova edx, edi
mov dword [ebp - 0x74], edx
test edx, edx
je 0x46e7cb
mov eax, edx
nop word [eax + eax]
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x46e7b0
or ecx, 0x20
xor ecx, ebx
inc edi
imul ebx, ecx, 0x1000193
add esi, 2
cmp edi, eax
jne 0x46e7a0
mov eax, dword [ebp - 0x70]
cmp ebx, 0x4f644736
je 0x46e7cf
mov eax, dword [eax]
jmp 0x46e772
mov esi, dword [eax + 0x18]
mov eax, dword [0x181e0d0]
mov dword [ebp - 0x70], esi
test eax, eax
jne 0x46e87a
test esi, esi
je 0x46e873
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], ecx
cmp ecx, esi
je 0x46e873
mov eax, dword [ecx + 0x18]
xor ebx, ebx
mov dword [ebp - 0x74], eax
test eax, eax
je 0x46e873
mov edi, dword [ecx + 0x20]
add edi, esi
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x46e849
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x46e82f
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x46e822
cmp esi, 0xe03678e3
je 0x46e856
mov eax, dword [ebp - 0x74]
inc ebx
add edi, 4
cmp ebx, eax
je 0x46e873
mov esi, dword [ebp - 0x70]
jmp 0x46e812
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x70]
mov eax, dword [esi + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x46e875
xor eax, eax
mov dword [0x181e0d0], eax
push dword [ebp - 0x78]
push 0
call eax
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x46e8b7
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46e8ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e8da
push edx
push ecx
call fcn.005c4046
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c3e3a
mov esp, ebp
pop ebp
ret 4
call fcn.006d2f99
int3