Function at 0x450ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5078d8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5500a4]
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 eax, ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, dword [eax + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x4510aa
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
lea ecx, [esi + 0x10]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0040a740
lea ecx, [esi + 0x10]
mov edi, eax
call fcn.0040a750
mov edx, edi
mov ecx, eax
call fcn.004b1010
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, edi
push eax
push edx
call fcn.0049f870
mov ecx, dword [ebp - 0x54]
mov ebx, eax
mov edx, dword [esi + 0x28]
and ecx, 0xffffff02
mov edi, dword [esi + 0x2c]
or ecx, 2
mov dword [ebp - 0x54], ecx
and ecx, 0xfffffeff
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0049e890
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.0049f360
push eax
mov ecx, ebx
call fcn.0049f420
mov edi, eax
mov byte [ebp - 4], 3
movsx edx, byte [edi + 8]
mov cl, byte [ebp - 0x38]
mov byte [edi + 8], cl
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
movzx eax, al
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x40]
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [edi + 8]
xor eax, edx
and eax, 0x100
xor eax, edx
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
and eax, 0x100
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0049ea30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0049ea30
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x451084
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x451080
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x451080
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x451070
mov esi, eax
jmp 0x45109c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x45109c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x451090
mov eax, dword [ebp - 0x44]
cmp esi, dword [eax + 8]
jne 0x450f10
jmp 0x4510ad
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x10]
mov esi, dword [eax]
cmp esi, eax
je 0x451218
nop word [eax + eax]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
lea ecx, [esi + 8]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
call fcn.0040a740
lea ecx, [esi + 8]
mov edi, eax
call fcn.0040a750
mov edx, edi
mov ecx, eax
call fcn.004b1010
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edi, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, edi
push eax
push edx
call fcn.0049f870
mov ecx, dword [ebp - 0x54]
mov ebx, eax
mov edx, dword [esi + 0x20]
and ecx, 0xffffff02
mov edi, dword [esi + 0x24]
or ecx, 2
mov dword [ebp - 0x54], ecx
and ecx, 0xfffffeff
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0049e890
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.0049f360
push eax
mov ecx, ebx
call fcn.0049f420
mov edi, eax
mov byte [ebp - 4], 6
movsx edx, byte [edi + 8]
mov cl, byte [ebp - 0x38]
mov byte [edi + 8], cl
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
movzx eax, al
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x40]
mov edx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [edi + 8]
xor eax, edx
and eax, 0x100
xor eax, edx
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
xor eax, edx
and eax, 0x100
xor ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0049ea30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0049ea30
mov eax, dword [ebp - 0x44]
mov esi, dword [esi]
cmp esi, dword [eax + 0x10]
jne 0x4510c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x45124f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451245
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45127f
push edx
push ecx
call fcn.004d6f80
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
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.004d6ca5
mov esp, ebp
pop ebp
ret 4
call fcn.004dc8f9
int3