Function at 0x51ecb9
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
push 0x48
push 0x519740
mov eax, dword [ebp + 8]
push eax
call fcn.0051de46
add esp, 0xc
push 0x400
push 0x519788
mov ecx, dword [ebp + 8]
add ecx, 0x48
push ecx
call fcn.0051de46
add esp, 0xc
push 0x400
push 0x519b88
mov edx, dword [ebp + 8]
add edx, 0x448
push edx
call fcn.0051de46
add esp, 0xc
push 0x400
push 0x519f88
mov eax, dword [ebp + 8]
add eax, 0x848
push eax
call fcn.0051de46
add esp, 0xc
push 0x400
push 0x51a388
mov ecx, dword [ebp + 8]
add ecx, 0xc48
push ecx
call fcn.0051de46
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x51ed57
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x51edbd
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x51ed76
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x51eda6
mov ecx, dword [ebp - 0x18]
shl ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
xor eax, eax
mov al, byte [edx]
or ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp + 0x10]
mov dword [ebp - 8], edx
jmp 0x51ed6d
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4], ecx
jmp 0x51ed4e
push 8
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0051de12
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x51eddf
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x51ee85
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0051deed
add esp, 8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
shl ecx, 0x18
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx + 1]
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx + 2]
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx + 3]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [edx]
shl eax, 0x18
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx + 1]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx + 2]
shl edx, 8
or eax, edx
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx + 3]
or eax, edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x51edd6
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x48
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0051eef0
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x448
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0051eef0
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x848
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0051eef0
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xc48
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0051eef0
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret