Function at 0x5999c0
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d026d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x692c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x5c]
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
push str.initCrypt_blowfish
push eax
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], 0
call fcn.004481f0
mov eax, dword [edi + 0x10]
cdq
and edx, 7
mov dword [ebp - 4], 0
add eax, edx
sar eax, 3
push 0x40
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add edi, 0x14
mov ecx, edi
call fcn.00402fb0
mov ecx, edi
cmp eax, 0x40
jbe 0x599a54
call fcn.00438ea0
test eax, eax
je 0x599a79
push 0x40
jmp 0x599a65
call fcn.00438ea0
test eax, eax
je 0x599a79
mov ecx, edi
call fcn.00402fb0
push eax
mov ecx, edi
call fcn.00438ea0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040df90
add esp, 0xc
mov eax, 0xc
mov ebx, 8
sub eax, 0x69147c
xor edi, edi
mov dword [ebp - 0x64], eax
sub ebx, 0x69147c
mov eax, 0x10
sub eax, 0x69147c
mov dword [ebp - 0x68], eax
mov eax, 0x14
sub eax, 0x69147c
mov dword [ebp - 0x6c], eax
nop dword [eax]
mov ecx, dword [esi + 0x88]
lea edx, [ebx + 0x69147c]
mov eax, dword [edi + 0x691478]
add edx, edi
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x88]
mov eax, dword [edi + 0x69147c]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi + 0x88]
mov eax, dword [edi + 0x691480]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [esi + 0x88]
lea edx, [eax + 0x69147c]
mov eax, dword [edi + 0x691484]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [esi + 0x88]
lea edx, [eax + 0x69147c]
mov eax, dword [edi + 0x691488]
add edx, edi
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [esi + 0x88]
lea edx, [eax + 0x69147c]
mov eax, dword [edi + 0x69148c]
add edx, edi
add edi, 0x18
mov dword [edx + ecx], eax
cmp edi, 0x48
jl 0x599ab0
mov eax, 8
sub eax, 0x6914c4
mov dword [ebp - 0x6c], eax
mov eax, 0xc
sub eax, 0x6914c4
xor edi, edi
mov dword [ebp - 0x68], eax
nop dword [eax]
mov ebx, 0x40
nop word [eax + eax]
mov ecx, dword [esi + 0x8c]
lea edx, [edi + 0x6914c4]
mov eax, dword [edx - 4]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [edx]
mov dword [edi + ecx + 4], eax
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0x8c]
add ecx, edx
mov edx, dword [ebp - 0x6c]
mov dword [ecx + edx], eax
lea edx, [edi + 0x6914c4]
mov ecx, dword [esi + 0x8c]
add edi, 0x10
mov eax, dword [edx + 8]
add ecx, edx
mov edx, dword [ebp - 0x68]
mov dword [ecx + edx], eax
sub ebx, 1
jne 0x599b70
cmp edi, 0x1000
jl 0x599b60
xor ecx, ecx
mov dword [ebp - 0x64], ecx
nop dword [eax + eax]
lea eax, [ebx + 1]
mov edi, dword [esi + 0x88]
cdq
add edi, ecx
idiv dword [ebp - 0x60]
movzx eax, byte [ebp + ebx - 0x50]
shl eax, 8
movzx ecx, byte [ebp + edx - 0x50]
or ecx, eax
lea eax, [ebx + 2]
cdq
idiv dword [ebp - 0x60]
shl ecx, 8
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv dword [ebp - 0x60]
shl ecx, 8
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
lea eax, [ebx + 4]
cdq
idiv dword [ebp - 0x60]
xor dword [edi], ecx
mov ecx, dword [ebp - 0x64]
mov ebx, edx
add ecx, 4
mov dword [ebp - 0x64], ecx
cmp ecx, 0x48
jl 0x599bd0
mov dword [ebp - 0x60], 0
xor edi, edi
mov dword [ebp - 0x64], 0
nop dword [eax]
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00598cf0
mov ecx, dword [esi + 0x88]
mov eax, dword [ebp - 0x60]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x88]
mov eax, dword [ebp - 0x64]
mov dword [ecx + edi + 4], eax
add edi, 8
cmp edi, 0x48
jl 0x599c40
xor edi, edi
mov ebx, 0x80
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00598cf0
mov ecx, dword [esi + 0x8c]
mov eax, dword [ebp - 0x60]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [ebp - 0x64]
mov dword [edi + ecx + 4], eax
add edi, 8
sub ebx, 1
jne 0x599c77
cmp edi, 0x1000
jl 0x599c72
lea ecx, [ebp - 0x5c]
call fcn.004482f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b34c8
mov esp, ebp
pop ebp
ret 0x10