Function at 0x454200
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f5b8c
mov eax, dword fs:[0]
push eax
mov eax, 0x12c0
call fcn.004df840
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x12bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50fb70]
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], 0x82
call fcn.004689f0
mov eax, dword [esi + 0x5754]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x6428]
add eax, dword [esi + 0xaf20]
push ebx
push ebx
push eax
mov ecx, esi
mov byte [esi + 0xaf1b], 1
call edx
push ebx
push ebx
push ebx
push 1
mov ecx, esi
call fcn.0042c1e0
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.00453460
push 0x14
lea ecx, [esi + 0x87e8]
mov edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00445e40
lea ecx, [esi + 0x9848]
push 2
mov byte [esi + 0x87f8], 1
call fcn.00445990
push ebx
push 0x4fa960
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0042d220
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.00401320
mov dword [esp + 0x12dc], ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ebx
push ecx
call fcn.004e0730
add esp, 0xc
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x2c], 0xfffffff
jl 0x45456a
jg 0x454380
cmp dword [esp + 0x14], ebx
jbe 0x45456a
nop
call fcn.00467200
cmp dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
jg 0x4543c3
jl 0x454398
cmp eax, 0x200
jae 0x4543c3
mov edx, 0x200
sub edx, eax
push edx
mov dword [esp + 0x2c], eax
lea eax, [esp + eax + 0xd4]
push ebx
push eax
call fcn.004e0730
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jmp 0x4543d6
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 0x454428
push 0x200
lea eax, [esp + 0xd4]
push eax
push 0xffffffffffffffff
call fcn.00438d20
mov byte [esp + ebp + 0x2d0], al
inc ebp
shr eax, 8
mov byte [esp + ebp + 0x2d0], al
inc ebp
cmp ebp, 0x1000
jne 0x4544f8
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.00442340
mov eax, dword [esp + 0x2c]
push ebp
lea edx, [esp + 0x2d4]
push edx
push eax
call fcn.00438d20
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 0x45453a
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x6144], bl
jne 0x45453a
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.004e07b0
push edx
push eax
push 0x4fb080
call fcn.00468780
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 0x454554
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], ebx
jg 0x454380
jl 0x45456a
cmp dword [esp + 0x14], ebx
ja 0x454380
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.00442340
mov edx, dword [esp + 0x2c]
push ebp
lea ecx, [esp + 0x2d4]
push ecx
push edx
call fcn.00438d20
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, esi
call fcn.00442340
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push edx
push eax
push ebp
call fcn.00438d20
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
not eax
mov dword [esi + 0x984c], eax
mov eax, dword [esp + 0x38]
push ebx
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x9848], 2
call edx
lea ecx, [esp + 0x6c]
call fcn.00456f10
mov byte [esp + 0x12dc], 2
push 8
push str.Protect
lea ecx, [esp + 0x74]
call fcn.00456e20
push edi
lea ecx, [esp + 0x70]
call fcn.00456cd0
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push eax
push ebp
lea ecx, [esp + 0x74]
call fcn.00456d30
lea ecx, [esi + 0x9808]
push ecx
lea ecx, [esp + 0x70]
call fcn.00456e60
push ebx
push 0x4fa960
shl edi, 8
push ebx
add edi, ebp
push ebx
add edi, edi
push edi
push ebx
mov ecx, esi
call fcn.0042d220
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], 0x83
call fcn.004689f0
mov byte [esp + 0x12dc], bl
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x454693
push eax
call fcn.004df66f
add esp, 4
mov dword [esp + 0x12dc], 0xffffffff
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4546af
push eax
call fcn.004df66f
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.004df824
add esp, 0x12cc
ret 8