Function at 0x54415c
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x6c0bc0]
xor eax, dword [ebp + 4]
mov dword [ebp - 0xc], eax
push esi
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 8]
cdq
push 8
pop ecx
idiv ecx
mov dword [ebp - 0x54], eax
push 0x40
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.0058ee10
add esp, 0xc
mov ecx, dword [ebp - 0x68]
add ecx, 0x14
call fcn.004d1628
cmp eax, 0x40
jbe 0x5441cb
mov ecx, dword [ebp - 0x68]
add ecx, 0x14
call fcn.0055420c
test eax, eax
je 0x5441c9
push 0x40
mov ecx, dword [ebp - 0x68]
add ecx, 0x14
call fcn.0055420c
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0058e7b0
add esp, 0xc
jmp 0x5441fe
mov ecx, dword [ebp - 0x68]
add ecx, 0x14
call fcn.0055420c
test eax, eax
je 0x5441fe
mov ecx, dword [ebp - 0x68]
add ecx, 0x14
call fcn.004d1628
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x14
call fcn.0055420c
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0058e7b0
add esp, 0xc
and dword [ebp - 4], 0
jmp 0x54420b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x544228
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx*4 + 0x6bcf70]
mov dword [eax + ecx*4], edx
jmp 0x544204
and dword [ebp - 4], 0
jmp 0x544235
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x544277
and dword [ebp - 0x64], 0
jmp 0x544248
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x100
jge 0x544275
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov edx, dword [ebp - 0x68]
add ecx, dword [edx + 4]
mov edx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x64]
mov eax, dword [eax + esi*4 + 0x6bcfb8]
mov dword [ecx + edx*4], eax
jmp 0x544241
jmp 0x54422e
and dword [ebp - 0x64], 0
and dword [ebp - 4], 0
jmp 0x544288
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x54434e
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x64]
movzx eax, byte [ebp + eax - 0x50]
and eax, 0xff
shl eax, 0x18
mov ecx, dword [ebp - 8]
and ecx, 0xffffff
or ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x64]
inc eax
cdq
idiv dword [ebp - 0x54]
movzx eax, byte [ebp + edx - 0x50]
and eax, 0xff
shl eax, 0x10
mov ecx, dword [ebp - 8]
and ecx, 0xff00ffff
or ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x64]
inc eax
inc eax
cdq
idiv dword [ebp - 0x54]
movzx eax, byte [ebp + edx - 0x50]
and eax, 0xff
shl eax, 8
mov ecx, dword [ebp - 8]
and ecx, 0xffff00ff
or ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x64]
add eax, 3
cdq
idiv dword [ebp - 0x54]
movzx eax, byte [ebp + edx - 0x50]
and eax, 0xff
mov ecx, dword [ebp - 8]
and ecx, 0xffffff00
or ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
xor eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
mov edx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x64]
add eax, 4
cdq
idiv dword [ebp - 0x54]
mov dword [ebp - 0x64], edx
jmp 0x544281
and dword [ebp - 0x5c], 0
and dword [ebp - 0x58], 0
and dword [ebp - 4], 0
jmp 0x544364
mov eax, dword [ebp - 4]
inc eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x544399
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00543348
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x58]
mov dword [eax + ecx*4 + 4], edx
jmp 0x54435c
and dword [ebp - 4], 0
jmp 0x5443a6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x544402
and dword [ebp - 0x64], 0
jmp 0x5443ba
mov eax, dword [ebp - 0x64]
inc eax
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x100
jge 0x544400
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00543348
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp - 0x68]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp - 0x68]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x58]
mov dword [eax + ecx*4 + 4], edx
jmp 0x5443b2
jmp 0x54439f
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp + 4]
call fcn.0058cc82
pop esi
leave
ret