Function at 0x5f31c0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6161b8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x70635c]
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.004f53f0
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.00598070
cmp eax, 0x40
jbe 0x5f3261
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005d1d10
test eax, eax
je 0x5f325f
push 0x40
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005d1d10
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00511630
add esp, 0xc
jmp 0x5f3294
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005d1d10
test eax, eax
je 0x5f3294
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.00598070
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.005d1d10
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00511630
add esp, 0xc
mov dword [ebp - 0x10], 0
jmp 0x5f32a6
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x5f32c7
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 + 0x7051c8]
mov dword [ecx + edx*4], eax
jmp 0x5f329d
mov dword [ebp - 0x10], 0
jmp 0x5f32d9
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x5f3323
mov dword [ebp - 0x78], 0
jmp 0x5f32f1
mov edx, dword [ebp - 0x78]
add edx, 1
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x100
jge 0x5f3321
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 + 0x705210]
mov dword [ecx + edx*4], eax
jmp 0x5f32e8
jmp 0x5f32d0
mov ecx, dword [ebp - 0x80]
movzx edx, byte [ecx + 0x8c]
test edx, edx
je 0x5f3428
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x10], 0
jmp 0x5f334e
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x5f3423
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 0x5f3345
jmp 0x5f3513
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x10], 0
jmp 0x5f3441
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x12
jge 0x5f3513
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 0x5f3438
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx + 0x8c]
test eax, eax
je 0x5f35ff
mov dword [ebp - 0x10], 0
jmp 0x5f3545
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x12
jge 0x5f3582
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.005f3740
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 0x5f353c
mov dword [ebp - 0x10], 0
jmp 0x5f3594
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x5f35fa
mov dword [ebp - 0x78], 0
jmp 0x5f35ac
mov ecx, dword [ebp - 0x78]
add ecx, 2
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0x100
jge 0x5f35f8
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x80]
call fcn.005f3740
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 0x5f35a3
jmp 0x5f358b
jmp 0x5f36c6
mov dword [ebp - 0x10], 0
jmp 0x5f3611
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x5f364e
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.005f3f40
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 0x5f3608
mov dword [ebp - 0x10], 0
jmp 0x5f3660
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
jge 0x5f36c6
mov dword [ebp - 0x78], 0
jmp 0x5f3678
mov edx, dword [ebp - 0x78]
add edx, 2
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x100
jge 0x5f36c4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x80]
call fcn.005f3f40
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 0x5f366f
jmp 0x5f3657
cmp dword [ebp + 0x10], 0
je 0x5f370e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 3
je 0x5f36de
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 4
jne 0x5f370e
mov edx, dword [ebp - 0x80]
mov eax, dword [edx + 0x80]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.00598070
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x30
call fcn.005d1d10
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x484
call fcn.005c2ef0
mov byte [ebp - 0x79], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004f54a0
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.00606c9e
mov esp, ebp
pop ebp
ret 0x10