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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc0dd
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x68cc00]
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 + 0x10]
lea ecx, [ebp - 0x5c]
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
push str.initCrypt_blowfish
push eax
mov dword [ebp - 0x74], ebx
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], 0
call fcn.00447ef0
mov eax, dword [ebx + 0x10]
cdq
and edx, 7
mov dword [ebp - 4], 0
add eax, edx
sar eax, 3
push 0x40
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebx + 0x14]
call fcn.00402f10
lea ecx, [ebx + 0x14]
cmp eax, 0x40
jbe 0x5956ec
call fcn.00438b90
test eax, eax
je 0x595713
push 0x40
jmp 0x5956fe
call fcn.00438b90
test eax, eax
je 0x595713
lea ecx, [ebx + 0x14]
call fcn.00402f10
push eax
lea ecx, [ebx + 0x14]
call fcn.00438b90
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040de00
add esp, 0xc
mov eax, 0xc
mov ebx, 8
sub eax, 0x68b474
xor edi, edi
mov dword [ebp - 0x68], eax
sub ebx, 0x68b474
mov eax, 0x10
sub eax, 0x68b474
mov dword [ebp - 0x60], eax
mov eax, 0x14
sub eax, 0x68b474
mov dword [ebp - 0x6c], eax
nop word [eax + eax]
mov eax, dword [edi + 0x68b470]
lea edx, [edi + 0x68b474]
mov ecx, dword [esi + 0x88]
mov dword [edi + ecx], eax
mov eax, dword [edx]
mov ecx, dword [esi + 0x88]
mov dword [edi + ecx + 4], eax
mov ecx, dword [esi + 0x88]
mov eax, dword [edx + 4]
add ecx, edx
mov dword [ecx + ebx], eax
mov eax, dword [edx + 8]
mov ecx, dword [esi + 0x88]
add ecx, edx
mov edx, dword [ebp - 0x68]
mov dword [ecx + edx], eax
lea edx, [edi + 0x68b474]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0x88]
add ecx, edx
mov edx, dword [ebp - 0x60]
mov dword [ecx + edx], eax
lea edx, [edi + 0x68b474]
mov ecx, dword [esi + 0x88]
add edi, 0x18
mov eax, dword [edx + 0x10]
add ecx, edx
mov edx, dword [ebp - 0x6c]
mov dword [ecx + edx], eax
cmp edi, 0x48
jl 0x595750
mov edx, 8
mov eax, 0xc
sub edx, 0x68b4bc
sub eax, 0x68b4bc
mov dword [ebp - 0x60], edx
xor edi, edi
mov dword [ebp - 0x6c], eax
mov ebx, 0x40
nop dword [eax + eax]
mov ecx, dword [esi + 0x8c]
lea edx, [edx + 0x68b4bc]
mov eax, dword [edi + 0x68b4b8]
add edx, edi
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [edi + 0x68b4bc]
mov dword [ecx + edi + 4], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [edi + 0x68b4c0]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [esi + 0x8c]
lea edx, [eax + 0x68b4bc]
mov eax, dword [edi + 0x68b4c4]
add edx, edi
add edi, 0x10
mov dword [edx + ecx], eax
mov edx, dword [ebp - 0x60]
sub ebx, 1
jne 0x5957f0
cmp edi, 0x1000
jl 0x5957e3
cmp byte [esi + 0x90], 0
je 0x5958d3
mov ebx, dword [ebp - 0x64]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], edx
nop dword [eax]
mov edi, dword [esi + 0x88]
lea eax, [ecx + 1]
add edi, edx
cdq
idiv ebx
movzx ecx, byte [ebp + edx - 0x50]
mov edx, dword [ebp - 0x60]
movzx eax, byte [ebp + edx - 0x50]
shl eax, 8
or ecx, eax
lea eax, [edx + 2]
cdq
idiv ebx
shl ecx, 8
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x60]
add eax, 3
shl ecx, 8
cdq
idiv ebx
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, dword [ebp - 0x60]
add eax, 4
xor dword [edi], ecx
cdq
idiv ebx
mov ecx, edx
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], edx
cmp edx, 0x48
jl 0x595870
jmp 0x595938
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x68], ecx
nop word [eax + eax]
lea eax, [ebx + 2]
mov edi, dword [esi + 0x88]
cdq
add edi, ecx
idiv dword [ebp - 0x64]
movzx eax, byte [ebp + ebx - 0x4d]
shl eax, 8
movzx ecx, byte [ebp + edx - 0x50]
or ecx, eax
lea eax, [ebx + 1]
cdq
idiv dword [ebp - 0x64]
shl ecx, 8
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
mov eax, ebx
cdq
idiv dword [ebp - 0x64]
shl ecx, 8
movzx eax, byte [ebp + edx - 0x50]
or ecx, eax
lea eax, [ebx + 4]
cdq
idiv dword [ebp - 0x64]
xor dword [edi], ecx
mov ecx, dword [ebp - 0x68]
mov ebx, edx
add ecx, 4
mov dword [ebp - 0x68], ecx
cmp ecx, 0x48
jl 0x5958e0
xor edi, edi
mov dword [ebp - 0x60], 0
cmp byte [esi + 0x90], 0
mov dword [ebp - 0x64], 0
je 0x5959c2
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00594dd0
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 [edi + ecx + 4], eax
add edi, 8
cmp edi, 0x48
jl 0x595951
xor edi, edi
mov ebx, 0x80
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00594dd0
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 0x595988
cmp edi, 0x1000
jl 0x595983
jmp 0x595a38
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00595210
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 [edi + ecx + 4], eax
add edi, 8
cmp edi, 0x48
jl 0x5959c2
xor edi, edi
mov ebx, 0x80
nop dword [eax]
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00595210
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 0x595a00
cmp edi, 0x1000
jl 0x5959f4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x595a72
mov edi, dword [ebp - 0x74]
mov eax, dword [edi + 8]
cmp eax, 3
je 0x595a4f
cmp eax, 4
jne 0x595a72
push dword [esi + 0x80]
lea ecx, [edi + 0x34]
call fcn.00402f10
push eax
lea ecx, [edi + 0x34]
call fcn.00438b90
push eax
lea ecx, [ebx + 0x484]
call fcn.00593c40
lea ecx, [ebp - 0x5c]
call fcn.00447ff0
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.005af5a8
mov esp, ebp
pop ebp
ret 0x10