Function at 0x5277e0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5506c8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5f5618]
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.004618a0
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.004ebc40
cmp eax, 0x40
jbe 0x527881
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00516320
test eax, eax
je 0x52787f
push 0x40
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00516320
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00420f60
add esp, 0xc
jmp 0x5278b4
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00516320
test eax, eax
je 0x5278b4
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.004ebc40
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00516320
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00420f60
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x5278c6
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x5278e7
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 + 0x5f4400]
mov dword [ecx + edx*4], eax
jmp 0x5278bd
mov dword [ebp - 0x10], 0
jmp 0x5278f9
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x527943
mov dword [ebp - 0x78], 0
jmp 0x527911
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x100
jge 0x527941
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 + 0x5f4448]
mov dword [ecx + edx*4], eax
jmp 0x527908
jmp 0x5278f0
mov ecx, dword [ebp - 0x80]
movzx edx, byte [ecx + 0x8c]
test edx, edx
je 0x527a48
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x10], 0
jmp 0x52796e
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x527a43
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 0x527965
jmp 0x527b33
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x10], 0
jmp 0x527a61
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x12
jge 0x527b33
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 0x527a58
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx + 0x8c]
test eax, eax
je 0x527c1f
mov dword [ebp - 0x10], 0
jmp 0x527b65
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x12
jge 0x527ba2
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00527d60
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 0x527b5c
mov dword [ebp - 0x10], 0
jmp 0x527bb4
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x527c1a
mov dword [ebp - 0x78], 0
jmp 0x527bcc
mov ecx, dword [ebp - 0x78]
add ecx, 2
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0x100
jge 0x527c18
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.00527d60
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 0x527bc3
jmp 0x527bab
jmp 0x527ce6
mov dword [ebp - 0x10], 0
jmp 0x527c31
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x527c6e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.00528560
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 0x527c28
mov dword [ebp - 0x10], 0
jmp 0x527c80
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x527ce6
mov dword [ebp - 0x78], 0
jmp 0x527c98
mov edx, dword [ebp - 0x78]
add edx, 2
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x100
jge 0x527ce4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.00528560
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 0x527c8f
jmp 0x527c77
cmp dword [ebp + 0x10], 0
je 0x527d2e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 3
je 0x527cfe
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 4
jne 0x527d2e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.004ebc40
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.00516320
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x484
call fcn.005075e0
mov byte [ebp - 0x79], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00461950
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.00541cc8
mov esp, ebp
pop ebp
ret 0x10