Function at 0x401320
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x41d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x14], ecx
mov ecx, 0x12
mov esi, 0x4161d0
mov edi, dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
push 0x1000
push 0x416218
mov eax, dword [ebp - 0x14]
add eax, 0x48
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004012e0
add esp, 8
mov ecx, eax
mov eax, dword [ebp + 0xc]
cdq
idiv ecx
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00403fc0
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
jmp 0x4013ad
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x2c]
jge 0x40141b
mov eax, dword [ebp - 0x18]
shl eax, 2
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov cl, byte [eax + edx]
mov byte [ebp - 5], cl
mov edx, dword [ebp - 0x18]
lea eax, [edx*4 + 1]
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov cl, byte [eax + edx]
mov byte [ebp - 6], cl
mov edx, dword [ebp - 0x18]
lea eax, [edx*4 + 2]
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov cl, byte [eax + edx]
mov byte [ebp - 7], cl
mov edx, dword [ebp - 0x18]
lea eax, [edx*4 + 3]
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov cl, byte [eax + edx]
mov byte [ebp - 8], cl
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov dword [eax + edx*4], ecx
jmp 0x4013a4
mov dword [ebp - 0x1c], 0
jmp 0x40142d
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x12
jge 0x40145a
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4]
xor ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
jmp 0x401424
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004063a0
add esp, 4
cmp dword [ebp - 0x30], 0
jne 0x40147b
mov dword [ebp - 0x3c], 0
jmp 0x401488
mov dword [ebp - 0x20], 0x8123
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
jmp 0x4014a8
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 9
jge 0x4014dd
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00401190
mov ecx, dword [ebp - 0x24]
shl ecx, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x24]
shl ecx, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 4], eax
jmp 0x40149f
mov dword [ebp - 0x28], 0
jmp 0x4014ef
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x200
jge 0x401528
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00401190
mov ecx, dword [ebp - 0x28]
shl ecx, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x48], eax
mov ecx, dword [ebp - 0x28]
shl ecx, 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x4c], eax
jmp 0x4014e6
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004063c0
mov esp, ebp
pop ebp
ret 8