Function at 0x4aacd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e47f8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
shl ecx, 4
shl edx, 4
mov dword [ebp - 0x9c], edi
cmp edx, ecx
je 0x4aad4c
test edx, edx
jne 0x4aad29
push ecx
call fcn.004d4296
add esp, 4
jmp 0x4aad4c
test ecx, ecx
jne 0x4aad42
push eax
call fcn.004d427b
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 0xc], edi
jmp 0x4aad5a
push ecx
push eax
call fcn.004d42a1
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
test eax, eax
jne 0x4aafe8
test edi, edi
je 0x4aafe8
push 0x20
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
mov ecx, eax
mov dword [ebp - 0x6c], 0x1f
mov dword [ebp - 0x70], 0x1b
lea eax, [ebp - 0x80]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
cmp dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x80], ecx
jb 0x4aada3
movsx edx, byte [ecx]
jmp 0x4aada9
movsx edx, byte [eax]
lea ecx, [ebp - 0x80]
mov edi, 0x4ef9f0
add edx, 0x2526013
sub edi, ecx
mov esi, 0x1b
nop dword [eax + eax]
mov eax, edx
lea ecx, [ecx + 1]
imul edx, edx, 0xd3f5
shr eax, 0xb
xor al, byte [edi + ecx - 1]
mov byte [ecx - 1], al
add edx, 0x1e2f3490
sub esi, 1
jne 0x4aadc0
cmp dword [ebp - 0x6c], 0x10
lea eax, [ebp - 0x80]
push dword [ebp - 0x9c]
cmovae eax, dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004a8850
mov edx, dword [ebp - 0x6c]
add esp, 0xc
cmp edx, 0x10
jb 0x4aae32
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aae28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab005
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov dword [ebp - 0x68], 0
push 0x30
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
push 0x27
mov esi, eax
mov dword [ebp - 0x58], 0x27
push 0
push esi
mov dword [ebp - 0x54], 0x2f
call fcn.004d0920
mov byte [esi + 0x27], 0
lea eax, [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x54], 0x10
jb 0x4aae8b
movsx ecx, byte [esi]
jmp 0x4aae91
movsx ecx, byte [eax]
lea esi, [ebp - 0x68]
mov edi, 0x4efa70
add ecx, 0x253e6b4
sub edi, esi
mov edx, 0x27
mov eax, ecx
lea esi, [esi + 1]
imul ecx, ecx, 0xdff5
shr eax, 4
xor al, byte [edi + esi - 1]
mov byte [esi - 1], al
add ecx, 0x1e430abd
sub edx, 1
jne 0x4aaea3
mov dword [ebp - 4], 2
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
cmovae eax, dword [ebp - 0x68]
mov dword [ebp - 0x9c], eax
push 0x30
mov byte [ebp - 4], 2
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x88], 0x25
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0x2f
mov dword [ebp - 0x98], edx
mov edi, 0x4efb40
mov esi, 0x25
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], 0
mov word [edx + 0x24], 0
movsx ecx, byte [edx]
add ecx, 0x253e6b4
sub edi, edx
nop
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xddf5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x1e430abd
sub esi, 1
jne 0x4aaf30
push 0x186
push dword [ebp - 0x9c]
mov byte [ebp - 4], 4
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
lea ecx, [ebp - 0x50]
push 3
cmovae edx, dword [ebp - 0x98]
push 3
call int.004ace20
mov edx, dword [ebp - 0x84]
add esp, 0x10
cmp edx, 0x10
jb 0x4aafb8
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aafae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab00a
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x4aafe8
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aafde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ab00a
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
ret 4
call fcn.004d4192
call fcn.004d4192
int3