Function at 0x5a06b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, str.srcprngs_sober128.c
test ebx, ebx
jne 0x5a06de
push 0x126
push edi
push str.out___NULL
call fcn.005accb1
add esp, 0xc
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x5a06f8
push 0x127
push edi
push str.prng___NULL
call fcn.005accb1
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x10], edi
jmp 0x5a071c
test edi, edi
je 0x5a0725
mov al, byte [esi + 0x8c]
xor byte [ebx], al
inc ebx
shr dword [esi + 0x8c], 8
add dword [esi + 0x90], 0xfffffff8
dec edi
cmp dword [esi + 0x90], 0
jne 0x5a0700
push 0x44
pop ecx
cmp edi, ecx
jb 0x5a0d0d
mov eax, edi
xor edx, edx
div ecx
mov dword [ebp + 8], eax
movzx eax, byte [esi + 3]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x10]
xor edx, dword [esi + 0x3c]
add ecx, edx
mov dword [esi], edx
mov eax, ecx
shr eax, 0x18
push ebx
mov edx, dword [eax*4 + 0x708660]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 8]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x1c]
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x38]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 7]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x40]
xor edx, dword [esi + 0x14]
add ecx, edx
mov dword [esi + 4], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 4]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0xc]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x20]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x3c]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0xb]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x18]
xor edx, dword [esi]
add ecx, edx
mov dword [esi + 8], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 8]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x10]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x24]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x40]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0xf]
mov edx, dword [esi + 0xc]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 4]
xor edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
add ecx, edx
mov dword [esi + 0xc], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0xc]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x14]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x28]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x13]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x20]
xor edx, dword [esi + 8]
add ecx, edx
mov dword [esi + 0x10], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x10]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x18]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x2c]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 4]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x17]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x24]
xor edx, dword [esi + 0xc]
add ecx, edx
mov dword [esi + 0x14], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x14]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x1c]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x30]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 8]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x1b]
mov edx, dword [esi + 0x18]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x28]
xor edx, dword [esi + 0x10]
mov dword [esi + 0x18], edx
mov ecx, dword [esi + 0x1c]
add ecx, edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x18]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x20]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x34]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0xc]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x1f]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x14]
add ecx, edx
mov dword [esi + 0x1c], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x1c]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x24]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x38]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x10]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x23]
add esp, 0x40
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x30]
xor edx, dword [esi + 0x18]
add ecx, edx
mov dword [esi + 0x20], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x20]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x28]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x3c]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x14]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x27]
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x34]
xor edx, dword [esi + 0x1c]
mov dword [esi + 0x24], edx
add ecx, edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x24]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x2c]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x40]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x18]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x2b]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x38]
xor edx, dword [esi + 0x20]
add ecx, edx
mov dword [esi + 0x28], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x28]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x30]
xor edx, dword [esi + 0x88]
add edx, dword [esi]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x1c]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x2f]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x24]
xor edx, dword [esi + 0x3c]
add ecx, edx
mov dword [esi + 0x2c], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x2c]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x34]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 4]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x20]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x33]
mov edx, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x40]
xor edx, dword [esi + 0x28]
add ecx, edx
mov dword [esi + 0x30], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
xor edx, ecx
lea eax, [ebx + 0x30]
ror edx, 8
add edx, dword [esi + 0x38]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 8]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x24]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x37]
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x2c]
xor edx, dword [esi]
add ecx, edx
mov dword [esi + 0x34], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x34]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x3c]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0xc]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x28]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x3b]
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x30]
xor edx, dword [esi + 4]
add ecx, edx
mov dword [esi + 0x38], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x38]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 0x40]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x10]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x2c]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x3f]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x34]
xor edx, dword [esi + 8]
add ecx, edx
mov dword [esi + 0x3c], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
xor edx, ecx
ror edx, 8
add edx, dword [esi]
xor edx, dword [esi + 0x88]
lea eax, [ebx + 0x3c]
add edx, dword [esi + 0x14]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x30]
push eax
call fcn.005a0fa9
movzx eax, byte [esi + 0x43]
add esp, 0x40
mov edx, dword [esi + 0x40]
mov ecx, dword [esi]
shl edx, 8
xor edx, dword [eax*4 + 0x708260]
xor edx, dword [esi + 0x38]
xor edx, dword [esi + 0xc]
add ecx, edx
mov dword [esi + 0x40], edx
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x708660]
lea eax, [ebx + 0x40]
xor edx, ecx
ror edx, 8
add edx, dword [esi + 4]
xor edx, dword [esi + 0x88]
add edx, dword [esi + 0x18]
push eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x708660]
xor eax, edx
add eax, dword [esi + 0x34]
push eax
call fcn.005a0fa9
pop ecx
add ebx, 0x44
sub edi, 0x44
sub dword [ebp + 8], 1
pop ecx
jne 0x5a0739
cmp edi, 4
jb 0x5a0d3d
mov eax, edi
shr eax, 2
mov dword [ebp + 8], eax
push esi
call fcn.005a0fdc
pop ecx
push ebx
push esi
call fcn.005a100f
pop ecx
push eax
call fcn.005a0fa9
pop ecx
add ebx, 4
sub edi, 4
sub dword [ebp + 8], 1
pop ecx
jne 0x5a0d1a
test edi, edi
je 0x5a0d84
push esi
call fcn.005a0fdc
push esi
call fcn.005a100f
pop ecx
pop ecx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 0x20
test edi, edi
je 0x5a0d84
mov al, byte [esi + 0x8c]
xor byte [ebx], al
inc ebx
shr dword [esi + 0x8c], 8
add dword [esi + 0x90], 0xfffffff8
dec edi
cmp dword [esi + 0x90], 0
jne 0x5a0d5f
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
ret