Function at 0x4b56c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x693571
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x71a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x5c], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea edi, [edx + 4]
cmp edi, ecx
ja 0x4b5964
movzx esi, byte [edx + 3]
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edx]
shl esi, 8
or esi, eax
mov dword [ebx + 4], edi
jl 0x4b5964
mov dword [ebp - 0x60], 0
test esi, esi
je 0x4b57d2
lea eax, [edi + esi]
cmp eax, ecx
ja 0x4b5964
push esi
lea ecx, [ebp - 0x78]
call fcn.00440910
mov dword [ebp - 4], 0
mov ecx, ebx
mov edi, dword [ebp - 0x78]
push esi
push edi
call fcn.0047ef30
test al, al
je 0x4b595c
lea eax, [esi + 3]
mov ecx, ebx
and eax, 0xfffffffc
sub eax, esi
push eax
call fcn.0047ebe0
test al, al
je 0x4b595c
mov ecx, dword [ebp - 0x5c]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4b595c
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
add ecx, 0x4c
push eax
call fcn.00421850
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x14], 1
call fcn.00404550
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push eax
mov ecx, ebx
call fcn.0047ec60
test al, al
je 0x4b5964
cmp dword [ebp - 0x68], 0
mov dword [ebp - 0x5c], 0
jle 0x4b5a8a
nop dword [eax]
mov eax, dword [ebx + 4]
add eax, 4
cmp eax, dword [ebx + 8]
ja 0x4b5964
mov ecx, dword [ebx + 4]
movzx esi, byte [ecx + 3]
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 1]
shl esi, 8
or esi, eax
movzx eax, byte [ecx]
shl esi, 8
or esi, eax
lea eax, [ecx + 4]
push esi
lea ecx, [ebp - 0x78]
mov dword [ebx + 4], eax
call fcn.00440910
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 4]
mov edi, dword [ebp - 0x78]
lea eax, [ecx + esi]
cmp eax, dword [ebx + 8]
ja 0x4b5a99
push esi
push ecx
push edi
call fcn.006843a0
mov ecx, dword [ebp - 0x74]
add esp, 0xc
add dword [ebx + 4], esi
sub ecx, edi
xor eax, eax
test ecx, ecx
jle 0x4b587a
xor byte [edi + eax], 0x55
inc eax
cmp eax, ecx
jl 0x4b5871
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
je 0x4b58b5
push 1
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402610
test al, al
je 0x4b58b5
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x74]
push edi
call fcn.004b80b0
lea ecx, [esi + 3]
mov byte [ebp - 4], 2
mov eax, dword [ebx + 4]
and ecx, 0xfffffffc
sub ecx, esi
add eax, ecx
cmp eax, dword [ebx + 8]
ja 0x4b5a91
mov dword [ebx + 4], eax
mov ecx, ebx
lea eax, [ebp - 0x64]
push eax
call fcn.0047ec60
test al, al
je 0x4b5a91
lea eax, [ebp - 0x80]
mov ecx, ebx
push eax
call fcn.0047ec60
test al, al
je 0x4b5a91
lea eax, [ebp - 0x84]
mov ecx, ebx
push eax
call fcn.0047ec60
test al, al
je 0x4b5a91
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0047ec60
test al, al
je 0x4b5a91
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x8c], ecx
test ecx, ecx
jne 0x4b5984
lea ecx, [ebp - 0x28]
call fcn.00402270
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.00404550
jmp 0x4b5a7a
lea ecx, [ebp - 0x78]
call fcn.00404550
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066bc45
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x84]
mov esi, dword [ebp - 0x88]
mov dword [ebp - 0xbc], vtable.common::CRect.0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], esi
xorps xmm0, xmm0
mov dword [ebp - 0xa4], vtable.common::CRect.0
movups xmmword [ebp - 0xa0], xmm0
mov byte [ebp - 4], 4
mov eax, dword [ecx]
mov dword [ebp - 0xa8], ecx
call dword [eax]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], esi
push 0xffffffffffffffff
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push 0
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.004024e0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], vtable.common::CRect.0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
push dword [ebp - 0x6c]
push eax
push ecx
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ecx + 0x3c]
call fcn.004b7cf0
lea ecx, [ebp - 0x58]
call fcn.004b4f70
lea ecx, [ebp - 0x28]
call fcn.00402270
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.00404550
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x5c], ecx
cmp ecx, dword [ebp - 0x68]
jl 0x4b5800
mov al, 1
jmp 0x4b5966
lea ecx, [ebp - 0x28]
call fcn.00402270
test edi, edi
je 0x4b5964
mov edx, dword [ebp - 0x70]
mov ecx, edi
push 1
sub edx, edi
call fcn.004020c0
add esp, 4
jmp 0x4b5964