Function at 0x4a0ac4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], eax
mov esi, 0x675c0c
xor eax, eax
push ebp
push 0x4a0e69
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00659700
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00625e1c
mov ebx, eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 8]
mov eax, dword [0x672978]
mov eax, dword [eax]
mov dl, 3
call fcn.0061c020
mov eax, dword [ebp - 8]
call fcn.0040351c
cmp eax, 0xc
jne 0x4a0b4e
mov edi, dword [ebp - 8]
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [edi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
add edi, 8
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a0b46
mov dword [ebp - 0x14], ebx
mov eax, dword [0x67187c]
mov byte [eax], 1
call fcn.0048e078
call fcn.0048f240
mov dword [ebp - 0x1c], eax
mov edx, 0x4a0e80
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [ebp - 0x18]
mov edx, 0x4a0e90
mov eax, dword [ebp - 0x1c]
call fcn.0061b088
mov edi, eax
cmp dword [ebp - 0x18], 0
je 0x4a0c08
mov dl, 1
mov eax, dword [0x619edc]
call fcn.00402898
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00651920
mov eax, dword [ebp - 4]
call fcn.0061bfec
lea ecx, [ebp - 8]
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0061c020
mov eax, dword [ebp - 8]
call fcn.0040351c
cmp eax, 0xc
jne 0x4a0c00
mov edi, dword [ebp - 8]
mov edx, dword [edi]
mov eax, dword [ebp - 0xc]
call fcn.00656b70
mov dword [ebp - 0xc], eax
lea eax, [edi + 4]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
call fcn.00656b78
mov dword [ebp - 0x10], eax
lea eax, [edi + 8]
mov eax, dword [eax]
test eax, eax
je 0x4a0bf8
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.00656b70
mov dword [ebp - 0x14], eax
mov eax, dword [0x67187c]
mov byte [eax], 1
mov eax, dword [ebp - 4]
call fcn.004028c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00656b70
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.00656b70
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00656b78
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.00656b78
mov ebx, eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
mov dword [esi + 8], eax
sub eax, 0x1e
jae 0x4a0c49
mov byte [esi + 0x10], 0
jmp 0x4a0c60
mov eax, ebx
sub eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
cmp eax, 0xa
jge 0x4a0c5c
mov byte [esi + 0x10], 1
jmp 0x4a0c60
mov byte [esi + 0x10], 2
mov eax, dword [0x67187c]
cmp byte [eax], 0
je 0x4a0ca9
lea eax, [ebp - 8]
mov edx, 0xc
call fcn.00403804
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
lea eax, [edi + 4]
mov dword [eax], ebx
mov al, byte [esi + 0x10]
dec eax
sub al, 2
setb al
and eax, 0x7f
imul dword [ebp - 0x14]
add edi, 8
mov dword [edi], eax
mov eax, dword [0x672978]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dl, 3
call fcn.0061c070
lea ecx, [ebp - 8]
mov eax, dword [0x672978]
mov eax, dword [eax]
mov dl, 4
call fcn.0061c020
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ebx, eax
cmp ebx, 1
jl 0x4a0ce4
lea eax, [ebp - 8]
call fcn.004036ec
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx - 1]
xor dl, 0x17
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x4a0cc9
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ecx, eax
shr ecx, 1
lea eax, [esi + 4]
mov edx, dword [ebp - 8]
call fcn.00403964
lea ecx, [ebp - 0x20]
mov eax, dword [0x672978]
mov eax, dword [eax]
mov dl, 5
call fcn.0061c020
mov edx, dword [ebp - 0x20]
mov eax, esi
call fcn.004032c8
mov eax, dword [esi]
call fcn.0040351c
mov ebx, eax
cmp ebx, 1
jl 0x4a0d3d
mov eax, esi
call fcn.004036ec
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
xor dl, 0x17
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x4a0d24
mov edx, dword [esi]
mov eax, dword [esi + 4]
call fcn.004a11f4
test al, al
jne 0x4a0da0
lea eax, [ebp - 0x24]
call fcn.0061feb4
lea eax, [ebp - 0x24]
mov edx, 0x4a0e9c
call fcn.00403ac4
mov eax, dword [ebp - 0x24]
call fcn.0065180c
mov ebx, eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00403358
mov edx, dword [esi]
mov eax, dword [esi + 4]
call fcn.004a11f4
test al, al
jne 0x4a0d8c
mov eax, esi
call fcn.00403274
mov eax, ebx
call fcn.004028c0
cmp dword [esi], 0
jne 0x4a0da0
lea eax, [esi + 4]
call fcn.00403880
mov eax, dword [esi + 4]
call fcn.00403ab8
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 8]
mov edx, dword [esi + 4]
call fcn.00403358
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ebx, eax
cmp ebx, 1
jl 0x4a0de1
lea eax, [ebp - 8]
call fcn.004036ec
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx - 1]
xor dl, 0x17
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x4a0dc6
mov eax, dword [0x672978]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dl, 4
call fcn.0061c070
lea eax, [ebp - 8]
mov edx, dword [esi]
call fcn.0040330c
mov eax, dword [ebp - 8]
call fcn.0040351c
mov ebx, eax
cmp ebx, 1
jl 0x4a0e26
lea eax, [ebp - 8]
call fcn.004036ec
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx - 1]
xor dl, 0x17
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x4a0e0b
mov eax, dword [0x672978]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov dl, 5
call fcn.0061c070
mov eax, dword [0x672978]
mov eax, dword [eax]
call fcn.0061c180
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0e70
lea eax, [ebp - 0x24]
call fcn.00403880
lea eax, [ebp - 0x20]
call fcn.00403274
lea eax, [ebp - 8]
call fcn.00403274
ret