Function at 0x460b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c067d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4e04c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
xor eax, eax
mov byte [ebp - 0x54], 1
xor edi, edi
mov dword [ebp - 0x60], eax
xor ebx, ebx
mov dword [ebp - 0x58], edi
xor esi, esi
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x18], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
xor edx, edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x70], edx
test eax, eax
jle 0x460f6c
nop dword [eax]
mov eax, dword [ecx + 0x10]
lea ecx, [ebp - 0x64]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0xcc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
call fcn.0045dba0
cmp eax, 0xffffffff
je 0x460c07
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
test eax, eax
jne 0x460f57
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x8c], eax
shl ecx, 0xf
not ecx
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor eax, ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
lea eax, [esi - 1]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0045dba0
cmp eax, 0xffffffff
je 0x460c65
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
jmp 0x460f4c
mov edx, dword [ebp - 0x38]
mov eax, esi
mov ecx, edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x6c], ecx
cmp ecx, eax
jne 0x460ce0
lea edi, [edx + edx]
test ecx, ecx
jne 0x460c82
mov edi, 1
cmp eax, edi
jge 0x460ce0
test edi, edi
je 0x460ca3
lea eax, [edi*4]
push 0x10
push eax
call fcn.0048cfb0
mov edx, dword [ebp - 0x38]
add esp, 8
mov ebx, eax
jmp 0x460ca5
xor ebx, ebx
test edx, edx
jle 0x460cc1
mov esi, dword [ebp - 0x30]
mov ecx, ebx
mov edx, dword [ebp - 0x6c]
sub esi, ebx
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x460cb3
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x460cd1
push eax
call fcn.0048cfc0
add esp, 4
mov edx, dword [ebp - 0x38]
mov esi, edi
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x30]
lea ecx, [edx*4]
mov edi, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + eax], edi
mov ecx, dword [ebp - 0x24]
cmp ecx, edx
jne 0x460d8f
lea ebx, [ecx + ecx]
test ecx, ecx
jne 0x460d14
mov ebx, 1
mov dword [ebp - 0x68], ebx
cmp edx, ebx
jge 0x460d8f
test ebx, ebx
je 0x460d36
lea eax, [ebx*8]
push 0x10
push eax
call fcn.0048cfb0
mov ecx, dword [ebp - 0x24]
add esp, 8
jmp 0x460d38
xor eax, eax
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x460d6b
mov edi, dword [ebp - 0x1c]
mov edx, eax
sub edi, eax
mov ebx, ecx
nop dword [eax + eax]
mov eax, dword [edi + edx]
lea edx, [edx + 8]
mov ecx, dword [edi + edx - 4]
mov dword [edx - 8], eax
mov dword [edx - 4], ecx
sub ebx, 1
jne 0x460d50
mov ebx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x460d7b
push eax
call fcn.0048cfc0
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, ebx
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x18], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
jmp 0x460d92
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x88]
mov dword [eax + ecx*8], edi
mov dword [eax + ecx*8 + 4], edx
inc ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x78], esi
jge 0x460f2e
mov edi, dword [ebp - 0x60]
cmp edi, esi
jge 0x460f29
mov eax, edi
mov dword [ebp - 0x14], eax
cmp esi, eax
jl 0x460e2b
jle 0x460e1d
cmp dword [ebp - 0x5c], esi
jge 0x460e1d
test esi, esi
je 0x460de3
lea eax, [esi*4]
push 0x10
push eax
call fcn.0048cfb0
mov ebx, eax
add esp, 8
mov eax, edi
jmp 0x460de5
xor ebx, ebx
test eax, eax
jle 0x460e03
mov edi, dword [ebp - 0x58]
mov ecx, ebx
sub edi, ebx
mov edx, eax
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x460df2
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x460e13
push eax
call fcn.0048cfc0
add esp, 4
mov byte [ebp - 0x54], 1
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x58]
mov ecx, esi
sub ecx, edi
xor eax, eax
lea edi, [edx + edi*4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x4c]
mov eax, esi
mov dword [ebp - 0x60], eax
cmp esi, edi
jle 0x460ea7
cmp dword [ebp - 0x48], esi
jge 0x460e95
test esi, esi
je 0x460e56
lea eax, [esi*4]
push 0x10
push eax
call fcn.0048cfb0
add esp, 8
mov ebx, eax
jmp 0x460e58
xor ebx, ebx
test edi, edi
jle 0x460e77
mov edi, dword [ebp - 0x44]
mov ecx, ebx
mov edx, dword [ebp - 0x4c]
sub edi, ebx
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x460e66
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x460e87
push eax
call fcn.0048cfc0
add esp, 4
mov edx, ebx
mov byte [ebp - 0x40], 1
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
jmp 0x460e98
mov edx, dword [ebp - 0x44]
cmp edi, esi
jge 0x460ea7
mov ecx, esi
sub ecx, edi
xor eax, eax
lea edi, [edx + edi*4]
rep stosd dword es:[edi], eax
mov eax, esi
mov dword [ebp - 0x4c], eax
test esi, esi
jle 0x460ed0
mov edi, dword [ebp - 0x58]
lea edx, [esi*4]
mov ecx, edx
or eax, 0xffffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x44]
shr edx, 2
or eax, eax
mov ecx, edx
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x14]
xor edx, edx
test ebx, ebx
jle 0x460f29
lea edi, [esi - 1]
mov esi, dword [ebp - 0x44]
nop
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx*8]
mov eax, ecx
shl eax, 0xf
not eax
add ecx, eax
mov eax, ecx
shr eax, 0xa
xor eax, ecx
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 6
xor ecx, eax
mov eax, ecx
shl eax, 0xb
not eax
add ecx, eax
mov eax, ecx
shr eax, 0x10
xor ecx, eax
mov eax, edi
and eax, ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esi + edx*4], eax
mov dword [ecx], edx
inc edx
cmp edx, ebx
jl 0x460ee0
mov esi, dword [ebp - 0x34]
lea ecx, [esi - 1]
jmp 0x460f31
mov ecx, dword [ebp - 0x7c]
and ecx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x84]
mov eax, dword [edi + ecx*4]
mov dword [ebx + edx], eax
mov eax, dword [ebp - 0x6c]
mov dword [edi + ecx*4], eax
mov ecx, dword [ebp - 0x10]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ebp - 0x70], edx
mov eax, dword [ecx + 8]
cmp edx, eax
jl 0x460bd0
xor esi, esi
test eax, eax
jle 0x460f92
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x108], 1
jne 0x460f89
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x74]
inc esi
cmp esi, dword [ecx + 8]
jl 0x460f72
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 1
test eax, eax
je 0x460fa9
push eax
call fcn.0048cfc0
add esp, 4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 2
test eax, eax
je 0x460fc0
push eax
call fcn.0048cfc0
add esp, 4
mov dword [ebp - 4], 3
test ebx, ebx
je 0x460fd4
push ebx
call fcn.0048cfc0
add esp, 4
mov dword [ebp - 4], 4
test edi, edi
je 0x460fe8
push edi
call fcn.0048cfc0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4