Function at 0x456220
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4fd01c
mov eax, dword fs:[0]
push eax
mov eax, 0x12c0
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x12bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x12d4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x12e4]
xor ebx, ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], 0x83
call fcn.0046b580
mov eax, dword [esi + 0x6574]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x7700]
add eax, dword [esi + 0xc1f8]
push ebx
push ebx
push eax
mov ecx, esi
mov byte [esi + 0xc1f3], 1
call edx
push ebx
push ebx
push ebx
push 1
mov ecx, esi
call fcn.0042de00
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 2
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x12e8]
push edx
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.00455480
push 0x14
lea ecx, [esi + 0x9ac0]
mov edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00447db0
lea ecx, [esi + 0xab20]
push 2
mov byte [esi + 0x9ad0], 1
call fcn.00447900
push ebx
push 0x502b00
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0042ef20
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ebx
push ebx
push ebx
mov ecx, esi
call edx
mov eax, edi
shl eax, 9
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], eax
call fcn.0040ede0
mov dword [esp + 0x12dc], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ebx
push ecx
call fcn.004e7df0
add esp, 0xc
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xfffffff
jl 0x45658a
jg 0x4563a0
cmp dword [esp + 0x14], ebx
jbe 0x45658a
nop
call fcn.00469bf0
cmp dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
jg 0x4563e3
jl 0x4563b8
cmp eax, 0x200
jae 0x4563e3
mov edx, 0x200
sub edx, eax
push edx
mov dword [esp + 0x2c], eax
lea eax, [esp + eax + 0xd4]
push ebx
push eax
call fcn.004e7df0
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jmp 0x4563f6
add eax, 0xfffffe00
adc dword [esp + 0x18], 0xffffffff
mov ecx, 0x200
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov edx, dword [edx + 8]
push ecx
lea eax, [esp + 0xd4]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x1c]
shl eax, 9
add eax, dword [esp + 0x3c]
mov ecx, eax
neg ecx
lea edx, [esp + ecx + 0xd0]
mov dword [esp + 0x28], edx
lea edx, [esp + ecx + 0xd1]
mov dword [esp + 0x54], edx
lea edx, [esp + ecx + 0xd2]
lea ecx, [esp + ecx + 0xd3]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], edx
mov ecx, 0x80
mov edx, dword [esp + 0x28]
movzx edx, byte [edx + eax]
xor byte [eax], dl
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + eax]
xor byte [eax + 1], dl
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + eax]
xor byte [eax + 2], dl
mov edx, dword [esp + 0x58]
movzx edx, byte [edx + eax]
xor byte [eax + 3], dl
add eax, 4
sub ecx, 1
jne 0x456448
push 0x200
lea eax, [esp + 0xd4]
push eax
push 0xffffffffffffffff
call fcn.0043aac0
mov byte [esp + ebp + 0x2d0], al
inc ebp
shr eax, 8
mov byte [esp + ebp + 0x2d0], al
inc ebp
cmp ebp, 0x1000
jne 0x456518
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
mov dword [esp + 0x5c], esi
call eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov byte [esp + 0x12dc], 1
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 2
push ebx
push ebx
mov ecx, esi
call eax
push ebp
lea ecx, [esp + 0x2d4]
push ecx
mov ecx, esi
call fcn.004442a0
mov eax, dword [esp + 0x2c]
push ebp
lea edx, [esp + 0x2d4]
push edx
push eax
call fcn.0043aac0
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov byte [esp + 0x12dc], bl
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
push ebx
push eax
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
mov eax, ecx
and eax, 0xff
or eax, ebx
jne 0x45655a
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x6148], bl
jne 0x45655a
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
push eax
push ebx
push 0x200
push edx
push ecx
call fcn.004e68d0
push edx
push eax
push 0x503228
call fcn.0046b2e0
add dword [esp + 0x20], 1
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x24], ebx
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
jb 0x456574
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], ebx
jg 0x4563a0
jl 0x45658a
cmp dword [esp + 0x14], ebx
ja 0x4563a0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 2
push ebx
push ebx
mov ecx, esi
call edx
push ebp
lea eax, [esp + 0x2d4]
push eax
mov ecx, esi
call fcn.004442a0
mov edx, dword [esp + 0x2c]
push ebp
lea ecx, [esp + 0x2d4]
push ecx
push edx
call fcn.0043aac0
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.004442a0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push edx
push eax
push ebp
call fcn.0043aac0
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
not eax
mov dword [esi + 0xab24], eax
mov eax, dword [esp + 0x38]
push ebx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0xab20], 2
call edx
lea ecx, [esp + 0x6c]
call fcn.00458f70
mov byte [esp + 0x12dc], 2
push 8
push str.Protect
lea ecx, [esp + 0x74]
call fcn.00458e40
push edi
lea ecx, [esp + 0x70]
call fcn.00458cf0
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push eax
push ebp
lea ecx, [esp + 0x74]
call fcn.00458d50
lea ecx, [esi + 0xaae0]
push ecx
lea ecx, [esp + 0x70]
call fcn.00458eb0
push ebx
push 0x502b00
shl edi, 8
push ebx
add edi, ebp
push ebx
add edi, edi
push edi
push ebx
mov ecx, esi
call fcn.0042ef20
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 2
push ebx
push ebx
mov ecx, esi
call eax
lea ecx, [esp + 0x84]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], 0x84
call fcn.0046b580
mov byte [esp + 0x12dc], bl
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x4566b3
push eax
call fcn.004e7061
add esp, 4
mov dword [esp + 0x12dc], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4566cf
push eax
call fcn.004e7061
add esp, 4
mov ecx, dword [esp + 0x12d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12bc]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x12cc
ret 8