Function at 0x47f0c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x1204]
mov eax, 0x1204
call fcn.004f8350
push 0xffffffffffffffff
push 0x514019
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x544354]
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 esi, dword [ebp + 0x1210]
push 0x89
mov dword [ebp - 0x64], ebx
call fcn.00415f30
mov eax, dword [ebx + 0x2214]
mov ecx, ebx
mov edx, dword [ebx]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x7e68]
add eax, dword [ebx + 0x33a8]
push 0
push 0
push eax
mov byte [ebx + 0x7e63], 1
call dword [edx + 0x10]
push 0
push 0
push 0
push 1
mov ecx, ebx
call fcn.00455080
mov eax, dword [ebx]
mov ecx, ebx
push 2
push 0
push 0
call dword [eax + 0x10]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
mov eax, edx
push eax
push edi
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
call fcn.0047f710
push 0x14
lea ecx, [ebx + 0x5778]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
call fcn.00470630
lea ecx, [ebx + 0x67e8]
mov byte [ebx + 0x5788], 1
push 2
call fcn.004703e0
push 0
push 0x5256e4
push 0
push 0
push 0
push 0
mov ecx, ebx
call fcn.004511d0
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
push 0
call dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
xor esi, esi
shl eax, 9
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], eax
call fcn.004087e0
mov dword [ebp - 4], esi
push dword [ebp - 0x4c]
push esi
push dword [ebp - 0x50]
call fcn.004fa860
add esp, 0xc
mov dword [ebp - 0x24], 0xfffffff
cmp dword [ebp - 0x10], esi
jl 0x47f40b
jg 0x47f230
test edi, edi
je 0x47f40b
lea ebx, [ebx]
call fcn.004954a0
mov eax, dword [ebp - 0x10]
test eax, eax
jg 0x47f26a
jl 0x47f246
cmp edi, 0x200
jae 0x47f26a
mov eax, 0x200
mov esi, edi
sub eax, edi
push eax
lea eax, [ebp + 0x1000]
add eax, edi
push 0
push eax
call fcn.004fa860
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x10], edi
jmp 0x47f27b
add edi, 0xfffffe00
mov esi, 0x200
adc eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
lea ecx, [ebp + 0x1000]
push esi
push ecx
mov ecx, ebx
mov dword [ebp - 0x28], edi
call dword [eax + 0xc]
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 0x1000]
shl eax, 9
add eax, dword [ebp - 0x50]
mov ecx, eax
neg ecx
add edx, ecx
mov dword [ebp - 0x54], edx
lea edx, [ebp + 0x1001]
mov ebx, dword [ebp - 0x54]
add edx, ecx
mov dword [ebp - 0x58], edx
lea edx, [ebp + 0x1002]
mov edi, dword [ebp - 0x58]
add edx, ecx
mov dword [ebp - 0x5c], edx
lea edx, [ebp + 0x1003]
mov esi, dword [ebp - 0x5c]
add ecx, edx
mov dword [ebp - 0x60], ecx
mov edx, 0x80
movzx ecx, byte [ebx + eax]
lea eax, [eax + 4]
xor byte [eax - 4], cl
movzx ecx, byte [edi + eax - 4]
xor byte [eax - 3], cl
movzx ecx, byte [esi + 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 0x47f2d4
mov edi, dword [ebp - 0x28]
lea eax, [ebp + 0x1000]
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x1c]
push 0x200
push eax
push 0xffffffffffffffff
call fcn.00461ba0
mov byte [ebp + esi], al
shr eax, 8
mov byte [ebp + esi + 1], al
add esi, 2
mov dword [ebp - 0x1c], esi
cmp esi, 0x1000
jne 0x47f3ad
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x94], ebx
mov eax, dword [eax + 0x14]
call eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 1
mov ecx, ebx
mov esi, dword [ebx]
push 2
push 0
push 0
call dword [esi + 0x10]
push 0x1000
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.0046bda0
push 0x1000
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call fcn.00461ba0
xor esi, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
call edx
test al, al
je 0x47f3ad
mov eax, dword [ebx]
mov ecx, ebx
push esi
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
call dword [eax + 0x10]
movzx eax, byte [ebp - 0x3c]
or eax, 0
jne 0x47f3e1
mov eax, dword [ebp - 0x68]
cmp byte [eax + 0x6148], 0
jne 0x47f3e1
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
shld eax, ecx, 9
push eax
shl ecx, 9
push ecx
push 0x525e78
call fcn.00497630
add dword [ebp - 0x3c], 1
mov ecx, dword [ebp - 0x20]
adc dword [ebp - 0x14], 0
inc ecx
cmp ecx, dword [ebp - 0x18]
sbb eax, eax
and eax, ecx
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x20], eax
jg 0x47f230
jl 0x47f40b
test edi, edi
jne 0x47f230
mov eax, dword [ebx]
mov ecx, ebx
push 2
push 0
push 0
call dword [eax + 0x10]
push esi
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.0046bda0
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call fcn.00461ba0
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x50]
mov ecx, ebx
push edi
mov esi, eax
call fcn.0046bda0
push dword [ebp - 0x2c]
push edi
push esi
call fcn.00461ba0
not eax
mov dword [ebx + 0x67e8], 2
push 0
push dword [ebp - 0x30]
mov dword [ebx + 0x67ec], eax
mov ecx, ebx
mov eax, dword [ebx]
push dword [ebp - 0x34]
call dword [eax + 0x10]
lea ecx, [ebp - 0x84]
call fcn.004819a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
push 8
push str.Protect
call fcn.00481ca0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x84]
call fcn.00481b90
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x84]
push esi
call fcn.00481bf0
lea eax, [ebx + 0x67a0]
push eax
lea ecx, [ebp - 0x84]
call fcn.00481a70
mov eax, dword [ebp - 0x18]
mov ecx, ebx
push 0
push 0x5256e4
shl eax, 8
push 0
add eax, esi
push 0
add eax, eax
push eax
push 0
call fcn.004511d0
mov eax, dword [ebx]
mov ecx, ebx
push 2
push 0
push 0
call dword [eax + 0x10]
push 0x8a
call fcn.00415f30
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x47f521
cmp byte [ebp - 0x74], 0
je 0x47f518
push dword [ebp - 0x7c]
push eax
call fcn.00491e00
mov eax, dword [ebp - 0x84]
push eax
call fcn.004fe8b9
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x47f544
cmp byte [ebp - 0x40], 0
je 0x47f53b
push dword [ebp - 0x48]
push edi
call fcn.00491e00
push edi
call fcn.004fe8b9
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.004f833c
lea esp, [ebp + 0x1204]
pop ebp
ret 8