Function at 0x46d1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x82589b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x93cf44]
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 eax, dword fs:[0x2c]
mov ebx, dword [ebp + 8]
mov esi, dword [0x181dbec]
mov dword [ebp - 0x270], ebx
mov ecx, dword [eax]
mov eax, dword [0x181e13c]
cmp eax, dword [ecx + 4]
jle 0x46d25b
push 0x181e13c
call fcn.005c45af
add esp, 4
cmp dword [0x181e13c], 0xffffffff
jne 0x46d25b
xor eax, eax
mov dword [0x181e150], 0
push 0x83c240
mov dword [0x181e154], 7
mov word [0x181e140], ax
call fcn.005c42fc
push 0x181e13c
call fcn.005c4565
add esp, 8
mov edx, dword [0x181e150]
test edx, edx
je 0x46d279
cmp ebx, 0x181e140
je 0x46d559
push edx
mov ecx, ebx
jmp 0x46d540
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.006d0040
movq xmm0, qword [0x901890]
add esp, 0xc
mov al, byte [0x901898]
xor ebx, ebx
movq qword [ebp - 0x224], xmm0
mov byte [ebp - 0x21c], al
nop dword [eax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x35
xor byte [ebp + ebx - 0x224], al
inc ebx
cmp ebx, 9
jl 0x46d2b0
movq xmm0, qword [0x8ffd7c]
xor ebx, ebx
mov al, byte [0x8ffd84]
movq qword [ebp - 0x230], xmm0
mov byte [ebp - 0x228], al
nop dword [eax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x35
xor byte [ebp + ebx - 0x230], al
inc ebx
cmp ebx, 9
jl 0x46d300
push 0
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.0046dfe0
mov ebx, eax
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x46d35d
mov ebx, dword [ebx]
lea eax, [ebp - 0x254]
mov ecx, esi
push eax
call fcn.0046d020
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x46d375
mov edi, dword [edi]
movq xmm0, qword [0x90189c]
xor esi, esi
mov ax, word [0x9018a4]
movq qword [ebp - 0x23c], xmm0
mov word [ebp - 0x234], 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 - 0x23c], ax
inc esi
cmp esi, 5
jl 0x46d394
push ebx
push edi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [0x83d6b8]
mov edx, dword [ebp - 0x240]
add esp, 0x14
cmp edx, 8
jb 0x46d426
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d41c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d577
push edx
push ecx
call fcn.005c4046
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
cmp edx, 8
jb 0x46d48a
mov ecx, dword [ebp - 0x26c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d480
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d57c
push edx
push ecx
call fcn.005c4046
add esp, 8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d493
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x181e140
call fcn.0040eb10
mov eax, dword [0x90184c]
xor ebx, ebx
mov dword [ebp - 0x224], eax
mov ax, word [0x901850]
mov word [ebp - 0x220], ax
mov al, byte [0x901852]
mov byte [ebp - 0x21e], al
nop dword [eax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov cl, al
shl cl, 3
sub cl, al
mov al, bl
shl cl, 3
sub al, cl
add al, 0x35
xor byte [ebp + ebx - 0x224], al
inc ebx
cmp ebx, 7
jl 0x46d4e0
push 0x1c
lea eax, [ebp - 0x224]
push eax
call fcn.0046daf0
test eax, eax
je 0x46d52c
mov ecx, 0x181e140
call fcn.0041d6f0
mov ecx, dword [ebp - 0x270]
cmp ecx, 0x181e140
je 0x46d559
push dword [0x181e150]
cmp dword [0x181e154], 8
mov eax, 0x181e140
cmovae eax, dword [0x181e140]
push eax
call fcn.0040eb10
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.005c3e3a
mov esp, ebp
pop ebp
ret 4
call fcn.006d2f99
call fcn.006d2f99
int3