Function at 0x46f910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ded89
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.0042d400
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.0042fff0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 1
push eax
call fcn.0046fcd0
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00468d50
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x46f9b3
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.004176a0
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x46f9e6
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.004176a0
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 0x46fa23
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00415a10
xor eax, eax
mov dword [ebp - 0xa8], 7
push 1
push 0x502fe0
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.00420c20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
push 2
push 0x4f8bf0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420c20
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0046d600
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46faac
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004176a0
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 0x46fad7
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004176a0
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.00466220
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
mov edx, 0x502fe0
lea ecx, [ebp - 0x74]
call fcn.00430030
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
push 1
push 0x502fe0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420c20
push esi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.0046d600
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46fb5c
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004176a0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46fb83
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.004176a0
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 0x46fbae
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004176a0
push dword [ebp - 0x18]
call fcn.00494103
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 0x46fbf4
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 + 0x50303c]
xor al, byte [ecx + edx]
mov byte [edx + esi], al
inc edx
mov eax, dword [ebp - 0x18]
cmp edx, eax
jb 0x46fbd0
add eax, esi
lea ecx, [ebp - 0x74]
push eax
mov edx, esi
call fcn.00430090
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x44]
push 1
push 0x502fe4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00420c20
push edi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
mov ecx, ebx
call fcn.00468d50
mov eax, dword [ebp - 0x30]
add esp, 4
cmp eax, 0x10
jb 0x46fc52
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004176a0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x46fc79
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.004176a0
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
test esi, esi
je 0x46fc98
push esi
call fcn.00493c71
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x46fcad
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.004176a0
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.00493bec
mov esp, ebp
pop ebp
ret 0xc