Function at 0x4562b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4fcf9c
mov eax, dword fs:[0]
push eax
mov eax, 0x12c0
call fcn.004e6a80
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.0046b420
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.0042def0
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.00455510
push 0x14
lea ecx, [esi + 0x9ac0]
mov edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00447e40
lea ecx, [esi + 0xab20]
push 2
mov byte [esi + 0x9ad0], 1
call fcn.00447990
push ebx
push 0x502af0
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0042f010
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.00410040
mov dword [esp + 0x12dc], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ebx
push ecx
call fcn.004e7970
add esp, 0xc
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xfffffff
jl 0x45661a
jg 0x456430
cmp dword [esp + 0x14], ebx
jbe 0x45661a
nop
call fcn.00469c30
cmp dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
jg 0x456473
jl 0x456448
cmp eax, 0x200
jae 0x456473
mov edx, 0x200
sub edx, eax
push edx
mov dword [esp + 0x2c], eax
lea eax, [esp + eax + 0xd4]
push ebx
push eax
call fcn.004e7970
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jmp 0x456486
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 0x4564d8
push 0x200
lea eax, [esp + 0xd4]
push eax
push 0xffffffffffffffff
call fcn.0043ab30
mov byte [esp + ebp + 0x2d0], al
inc ebp
shr eax, 8
mov byte [esp + ebp + 0x2d0], al
inc ebp
cmp ebp, 0x1000
jne 0x4565a8
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.00444330
mov eax, dword [esp + 0x2c]
push ebp
lea edx, [esp + 0x2d4]
push edx
push eax
call fcn.0043ab30
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 0x4565ea
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x6148], bl
jne 0x4565ea
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.004e79f0
push edx
push eax
push 0x503218
call fcn.0046b180
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 0x456604
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], ebx
jg 0x456430
jl 0x45661a
cmp dword [esp + 0x14], ebx
ja 0x456430
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.00444330
mov edx, dword [esp + 0x2c]
push ebp
lea ecx, [esp + 0x2d4]
push ecx
push edx
call fcn.0043ab30
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.00444330
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push edx
push eax
push ebp
call fcn.0043ab30
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.00459000
mov byte [esp + 0x12dc], 2
push 8
push str.Protect
lea ecx, [esp + 0x74]
call fcn.00458ed0
push edi
lea ecx, [esp + 0x70]
call fcn.00458d80
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push eax
push ebp
lea ecx, [esp + 0x74]
call fcn.00458de0
lea ecx, [esi + 0xaae0]
push ecx
lea ecx, [esp + 0x70]
call fcn.00458f40
push ebx
push 0x502af0
shl edi, 8
push ebx
add edi, ebp
push ebx
add edi, edi
push edi
push ebx
mov ecx, esi
call fcn.0042f010
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.0046b420
mov byte [esp + 0x12dc], bl
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x456743
push eax
call fcn.004e68b2
add esp, 4
mov dword [esp + 0x12dc], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x45675f
push eax
call fcn.004e68b2
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.004e6a64
add esp, 0x12cc
ret 8