Function at 0x486b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x1204]
mov eax, 0x1204
call fcn.00502fa0
push 0xffffffffffffffff
push 0x51f528
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5513d4]
xor eax, ebp
mov dword [ebp + 0x1200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x120c]
mov edi, dword [ebp + 0x1210]
push 0x8a
mov dword [ebp - 0x10], ebx
call fcn.00418f10
mov eax, dword [ebx + 0x2214]
mov esi, dword [ebx]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x7e68]
add eax, dword [ebx + 0x33a8]
mov esi, dword [esi + 0x10]
mov ecx, esi
push 0
push 0
push eax
mov byte [ebx + 0x7e63], 1
call dword [0x523720]
mov ecx, ebx
call esi
push 0
push 0
push 0
push 1
mov ecx, ebx
call fcn.0045c370
mov eax, dword [ebx]
push 2
push 0
push 0
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x523720]
mov ecx, ebx
call esi
mov ebx, eax
mov dword [ebp - 0x18], edx
push edx
push ebx
push edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edx
call fcn.00487210
mov edi, dword [ebp - 0x10]
push 0x14
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], 0
lea ecx, [edi + 0x5778]
mov dword [ebp - 0x1c], 0
call fcn.00477dd0
lea ecx, [edi + 0x67e8]
mov byte [edi + 0x5788], 1
push 2
call fcn.00477b80
push 0
push 0x532580
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.004581f0
mov eax, dword [edi]
push 0
push 0
push 0
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, edi
call esi
xor eax, eax
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x20]
shl eax, 9
push eax
mov dword [ebp - 0x30], eax
call fcn.00404d60
mov dword [ebp - 4], edi
push dword [ebp - 0x50]
push edi
push dword [ebp - 0x54]
call fcn.00505530
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x2c], 0xfffffff
test esi, esi
jl 0x486f02
jg 0x486d20
test ebx, ebx
je 0x486f02
lea ecx, [ecx]
call fcn.0049dc00
test esi, esi
jg 0x486d5e
jl 0x486d33
cmp ebx, 0x200
jae 0x486d5e
mov eax, 0x200
mov edi, ebx
sub eax, ebx
push eax
lea eax, [ebp + 0x1000]
add eax, ebx
push 0
push eax
call fcn.00505530
add esp, 0xc
mov dword [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x18], edx
jmp 0x486d72
add ebx, 0xfffffe00
mov edi, 0x200
mov dword [ebp - 0x28], ebx
adc esi, 0xffffffff
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp + 0x1000]
push edi
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x523720]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp + 0x1001]
shl eax, 9
lea esi, [ebp + 0x1000]
add eax, dword [ebp - 0x54]
mov ecx, eax
neg ecx
add edx, ecx
add esi, ecx
mov dword [ebp - 0x58], edx
lea edx, [ebp + 0x1002]
mov ebx, dword [ebp - 0x58]
add edx, ecx
mov dword [ebp - 0x5c], edx
lea edx, [ebp + 0x1003]
mov edi, dword [ebp - 0x5c]
add ecx, edx
mov dword [ebp - 0x60], ecx
mov edx, 0x80
nop
movzx ecx, byte [esi + eax]
lea eax, [eax + 4]
xor byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 4]
xor byte [eax - 3], cl
movzx ecx, byte [edi + eax - 4]
xor byte [eax - 2], cl
mov ecx, dword [ebp - 0x60]
movzx ecx, byte [ecx + eax - 4]
xor byte [eax - 1], cl
sub edx, 1
jne 0x486dd0
mov edi, dword [ebp - 0x24]
lea eax, [ebp + 0x1000]
mov ebx, dword [ebp - 0x14]
push 0x200
push eax
push 0xffffffffffffffff
call fcn.00468fb0
mov byte [ebp + edi], al
shr eax, 8
mov byte [ebp + edi + 1], al
add edi, 2
mov dword [ebp - 0x24], edi
cmp edi, 0x1000
jne 0x486ea4
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x523720]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x10]
mov ebx, eax
push 2
push 0
push 0
mov ecx, dword [ecx]
mov edi, edx
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, dword [ebp - 0x10]
call esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp]
push 0x1000
push eax
mov ecx, esi
call fcn.00473490
mov esi, dword [esi]
push 0
push edi
push ebx
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, dword [ebp - 0x10]
call esi
push 0x1000
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call fcn.00468fb0
mov ebx, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edi
movzx ecx, byte [ebp - 0x40]
or ecx, 0
jne 0x486ed7
mov eax, dword [ebp - 0x64]
cmp byte [eax + 0x6148], cl
jne 0x486ed7
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
shld eax, ecx, 9
push eax
shl ecx, 9
push ecx
push 0x532d38
call fcn.0049fe40
add dword [ebp - 0x40], 1
mov esi, dword [ebp - 0x18]
adc dword [ebp - 0x1c], 0
inc ebx
cmp ebx, dword [ebp - 0x20]
sbb eax, eax
and eax, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test esi, esi
jg 0x486d20
jl 0x486f02
test ebx, ebx
jne 0x486d20
mov ebx, dword [ebp - 0x10]
push 2
push 0
push 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, ebx
call esi
push edi
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.00473490
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call fcn.00468fb0
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x54]
mov ecx, ebx
push edi
mov esi, eax
call fcn.00473490
push dword [ebp - 0x30]
push edi
push esi
call fcn.00468fb0
mov esi, dword [ebx]
not eax
push 0
push dword [ebp - 0x34]
mov dword [ebx + 0x67e8], 2
push dword [ebp - 0x38]
mov esi, dword [esi + 0x10]
mov ecx, esi
mov dword [ebx + 0x67ec], eax
call dword [0x523720]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x80]
call fcn.004895d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
push 8
push str.Protect
call fcn.004898d0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x80]
call fcn.004897c0
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x80]
push esi
call fcn.00489820
lea eax, [ebx + 0x67a0]
push eax
lea ecx, [ebp - 0x80]
call fcn.004896a0
mov eax, dword [ebp - 0x20]
mov ecx, ebx
push 0
push 0x532580
shl eax, 8
push 0
add eax, esi
push 0
add eax, eax
push eax
push 0
call fcn.004581f0
mov eax, dword [ebx]
push 2
push 0
push 0
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x523720]
mov ecx, ebx
call esi
push 0x8b
call fcn.00418f10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x487024
cmp byte [ebp - 0x70], 0
je 0x48701b
push dword [ebp - 0x78]
push eax
call fcn.0049a3e0
mov eax, dword [ebp - 0x80]
push eax
call fcn.005097b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x487047
cmp byte [ebp - 0x44], 0
je 0x48703e
push dword [ebp - 0x4c]
push edi
call fcn.0049a3e0
push edi
call fcn.005097b2
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1200]
xor ecx, ebp
call fcn.00502f8e
lea esp, [ebp + 0x1204]
pop ebp
ret 8