Function at 0x46f5a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dea29
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x520078]
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 [ebp + 0x10]
lea ecx, [ebp - 0xbc]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push eax
mov dword [ebp - 0xc0], 0
call fcn.0042cfd0
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.0042fbc0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push eax
call fcn.0046f960
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004689e0
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x46f643
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00417280
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x46f676
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00417280
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xa8]
cmp eax, 8
jb 0x46f6b3
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.004155f0
xor eax, eax
mov dword [ebp - 0xa8], 7
push 1
push 0x503018
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x5c], al
call fcn.00420800
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
push 2
push 0x4f8c18
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420800
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0046d290
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46f73c
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00417280
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46f767
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00417280
push 0x20
push 0x40
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.00465eb0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
mov edx, 0x503018
lea ecx, [ebp - 0x74]
call fcn.0042fc00
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
push 1
push 0x503018
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420800
push esi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.0046d290
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46f7ec
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00417280
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46f813
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00417280
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
cmp eax, 0x10
jb 0x46f83e
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00417280
push dword [ebp - 0x18]
call fcn.00493d46
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0xc
xor edx, edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46f884
nop dword [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, edx
cmovae ecx, dword [ebp - 0x28]
and eax, 0xf
mov al, byte [eax + 0x50307c]
xor al, byte [ecx + edx]
mov byte [edx + esi], al
inc edx
mov eax, dword [ebp - 0x18]
cmp edx, eax
jb 0x46f860
add eax, esi
lea ecx, [ebp - 0x74]
push eax
mov edx, esi
call fcn.0042fc60
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
push 1
push 0x50301c
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420800
push edi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
mov ecx, ebx
call fcn.004689e0
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46f8e2
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00417280
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46f909
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00417280
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
test esi, esi
je 0x46f928
push esi
call fcn.004938d1
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x46f93d
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00417280
mov eax, ebx
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.0049384c
mov esp, ebp
pop ebp
ret 0xc