Function at 0x4a3d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa410
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x68e494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x24], eax
cmp eax, 1
jne 0x4a3dd0
mov dword [edi + 0xc], 8
mov dword [edi + 4], 8
test ecx, ecx
jne 0x4a3d98
push 0x20
call fcn.005d13f5
add esp, 4
jmp 0x4a3da8
push 0
push 0x20
mov dword [ebp - 4], 0xffffffff
call fcn.0045b840
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x10], eax
mov eax, edi
shr eax, 0xc
mov dword [edi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x10]
mov dword [edi + 4], eax
shl eax, 2
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x4a3df1
push eax
call fcn.005d13f5
add esp, 4
jmp 0x4a3e06
add eax, 7
mov dword [ebp - 4], 0xffffffff
push 0
and eax, 0xfffffff8
push eax
call fcn.0045b840
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push 0
push eax
call fcn.005d2cc0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jae 0x4a3f3f
mov eax, dword [esi + ecx*4]
mov edx, ecx
xor edx, 1
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4a3f30
cmp eax, dword [esi + edx*4]
je 0x4a3e96
nop dword [eax]
mov esi, dword [eax + 0x28]
mov ecx, edi
push eax
call fcn.004a1fa0
push dword [ebp - 0x18]
xor eax, dword [edi + 8]
push 0x9e3779b9
push 0x7f4a7c15
push 0
push eax
call fcn.005d20e0
mov eax, dword [edi + 4]
mov ecx, edi
dec eax
and edx, eax
lea eax, [ebp - 0x34]
push edx
push eax
call fcn.004a2fd0
mov eax, esi
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x4a3e50
mov ecx, dword [ebp - 0x10]
jmp 0x4a3f2d
mov esi, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x28], eax
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
jmp 0x4a3ea9
mov edi, dword [ebp - 0x1c]
push dword [esi + 0x10]
mov ecx, edi
call fcn.004a1fa0
push dword [esi + 0x14]
xor eax, dword [edi + 8]
push 0x9e3779b9
push 0x7f4a7c15
push 0
push eax
call fcn.005d20e0
mov eax, dword [edi + 4]
mov ecx, edi
dec eax
and edx, eax
lea eax, [ebp - 0x40]
push edx
push eax
call fcn.004a2fd0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov edi, dword [eax]
call fcn.0047e660
mov esi, dword [ebp - 0x14]
cmp esi, edi
jne 0x4a3ea6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
jne 0x4a3f26
mov esi, dword [ebp - 0x18]
push dword [edi + 4]
push esi
lea ecx, [esi + 4]
call fcn.004a1040
cmp dword [esi], 0
jne 0x4a3f1b
push 0x18
push dword [esi + 4]
call fcn.005d1425
add esp, 8
push 0xc
push esi
call fcn.005d1425
add esp, 8
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
inc ecx
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jb 0x4a3e34
cmp dword [edi + 0x14], 0
jne 0x4a3f52
shl eax, 2
push eax
push esi
call fcn.005d1425
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4