Function at 0x4511f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523e57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x58
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x543a30]
mov dword [ebp - 0x14], 1
mov word [ebp - 0x32], 0x9898
movups xmmword [ebp - 0x30], xmm0
lea eax, [ecx - 0x15]
xor byte [ebp + ecx - 0x32], al
inc ecx
cmp ecx, 9
jb 0x451262
mov dword [0x5585e0], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x32]
mov byte [ebp - 0x29], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451294
sub ecx, edx
lea eax, [ebp - 0x32]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402b20
mov dword [ebp - 0x14], 3
mov dword [ebp - 4], 1
lea edx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
cmovae edx, dword [ebp - 0x68]
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4512e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.00402b20
lea ecx, [ebp - 0x38]
call fcn.00451140
mov ecx, dword [ebp - 0x24]
mov esi, eax
cmp ecx, 0x10
jb 0x451331
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451492
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x451369
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45135f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451492
push ecx
push edx
call fcn.004f7c11
add esp, 8
test esi, esi
je 0x45147d
cmp esi, 0xea60
jae 0x45147d
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov edx, esi
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x14], 7
call fcn.00450a30
xor ecx, ecx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x2c]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x28]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45141a
xor edi, edi
lea eax, [esi + edi]
lea ecx, [ebp - 0x50]
cmp ecx, eax
je 0x4513f6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x4513e9
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0047f6a0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x18]
sub ecx, esi
imul ecx
add edi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x4513d4
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00481d80
cmp dword [ebp - 0x40], 0
jbe 0x45144d
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x50]
push ecx
cmp eax, dword [edi + 8]
je 0x451445
mov ecx, eax
call fcn.0047faa0
add dword [edi + 4], 0x18
jmp 0x45144d
push eax
mov ecx, edi
call fcn.0048c7f0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x45147d
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x451473
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451492
push ecx
push edx
call fcn.004f7c11
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004fceb0
int3