Function at 0x5b3ee0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d81c8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6a7c78]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
push str.initCrypt_blowfish
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00505810
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x68], eax
push 0x40
push 0
lea edx, [ebp - 0x64]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.004eff70
cmp eax, 0x40
jbe 0x5b3f81
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005a6d60
test eax, eax
je 0x5b3f7f
push 0x40
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005a6d60
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004cbb70
add esp, 0xc
jmp 0x5b3fb4
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005a6d60
test eax, eax
je 0x5b3fb4
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.004eff70
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005a6d60
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004cbb70
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x5b3fc6
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x5b3fe7
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x84]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x6b7d18]
mov dword [ecx + edx*4], eax
jmp 0x5b3fbd
mov dword [ebp - 0x10], 0
jmp 0x5b3ff9
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x5b4043
mov dword [ebp - 0x78], 0
jmp 0x5b4011
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x100
jge 0x5b4041
mov eax, dword [ebp - 0x10]
shl eax, 0xa
mov ecx, dword [ebp - 0x10]
shl ecx, 0xa
mov edx, dword [ebp - 0x80]
add ecx, dword [edx + 0x88]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x78]
mov eax, dword [eax + esi*4 + 0x6b7d60]
mov dword [ecx + edx*4], eax
jmp 0x5b4008
jmp 0x5b3ff0
mov ecx, dword [ebp - 0x80]
movzx edx, byte [ecx + 0x8c]
test edx, edx
je 0x5b4148
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x10], 0
jmp 0x5b406e
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x5b4143
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ebp + ecx - 0x64]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0x20]
and eax, 0xffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x78]
add eax, 1
cdq
idiv dword [ebp - 0x68]
movzx ecx, byte [ebp + edx - 0x64]
and ecx, 0xff
shl ecx, 0x10
mov edx, dword [ebp - 0x20]
and edx, 0xff00ffff
or edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x78]
add eax, 2
cdq
idiv dword [ebp - 0x68]
movzx eax, byte [ebp + edx - 0x64]
and eax, 0xff
shl eax, 8
mov ecx, dword [ebp - 0x20]
and ecx, 0xffff00ff
or ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x78]
add eax, 3
cdq
idiv dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x64]
and edx, 0xff
mov eax, dword [ebp - 0x20]
and eax, 0xffffff00
or eax, edx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx*4]
xor edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x84]
mov eax, dword [ebp - 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x78]
add eax, 4
cdq
idiv dword [ebp - 0x68]
mov dword [ebp - 0x78], edx
jmp 0x5b4065
jmp 0x5b4233
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x10], 0
jmp 0x5b4161
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x12
jge 0x5b4233
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x78]
movzx eax, byte [ebp + edx - 0x61]
and eax, 0xff
shl eax, 0x18
mov ecx, dword [ebp - 0x20]
and ecx, 0xffffff
or ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x78]
add eax, 2
cdq
idiv dword [ebp - 0x68]
movzx edx, byte [ebp + edx - 0x64]
and edx, 0xff
shl edx, 0x10
mov eax, dword [ebp - 0x20]
and eax, 0xff00ffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x78]
add eax, 1
cdq
idiv dword [ebp - 0x68]
movzx ecx, byte [ebp + edx - 0x64]
and ecx, 0xff
shl ecx, 8
mov edx, dword [ebp - 0x20]
and edx, 0xffff00ff
or edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x78]
cdq
idiv dword [ebp - 0x68]
movzx eax, byte [ebp + edx - 0x64]
and eax, 0xff
mov ecx, dword [ebp - 0x20]
and ecx, 0xffffff00
or ecx, eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x84]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + edx*4]
xor eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x84]
mov ecx, dword [ebp - 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x78]
add eax, 4
cdq
idiv dword [ebp - 0x68]
mov dword [ebp - 0x78], edx
jmp 0x5b4158
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx + 0x8c]
test eax, eax
je 0x5b431f
mov dword [ebp - 0x10], 0
jmp 0x5b4265
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x12
jge 0x5b42a2
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.005b4460
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 0x84]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x70]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x6c]
mov dword [eax + ecx*4 + 4], edx
jmp 0x5b425c
mov dword [ebp - 0x10], 0
jmp 0x5b42b4
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x5b431a
mov dword [ebp - 0x78], 0
jmp 0x5b42cc
mov ecx, dword [ebp - 0x78]
add ecx, 2
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0x100
jge 0x5b4318
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.005b4460
mov ecx, dword [ebp - 0x10]
shl ecx, 0xa
mov edx, dword [ebp - 0x80]
add ecx, dword [edx + 0x88]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x10]
shl eax, 0xa
mov ecx, dword [ebp - 0x80]
add eax, dword [ecx + 0x88]
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + edx*4 + 4], ecx
jmp 0x5b42c3
jmp 0x5b42ab
jmp 0x5b43e6
mov dword [ebp - 0x10], 0
jmp 0x5b4331
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x5b436e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.005b4c60
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x70]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x84]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x6c]
mov dword [ecx + edx*4 + 4], eax
jmp 0x5b4328
mov dword [ebp - 0x10], 0
jmp 0x5b4380
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x5b43e6
mov dword [ebp - 0x78], 0
jmp 0x5b4398
mov edx, dword [ebp - 0x78]
add edx, 2
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x100
jge 0x5b43e4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.005b4c60
mov edx, dword [ebp - 0x10]
shl edx, 0xa
mov eax, dword [ebp - 0x80]
add edx, dword [eax + 0x88]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x70]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 0xa
mov edx, dword [ebp - 0x80]
add ecx, dword [edx + 0x88]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x6c]
mov dword [ecx + eax*4 + 4], edx
jmp 0x5b438f
jmp 0x5b4377
cmp dword [ebp + 0x10], 0
je 0x5b442e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 3
je 0x5b43fe
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 4
jne 0x5b442e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.004eff70
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.005a6d60
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x484
call fcn.0059dc80
mov byte [ebp - 0x79], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.005058c0
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.004adf6a
mov esp, ebp
pop ebp
ret 0x10