Function at 0x556c40
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x68de04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0x68], ecx
call fcn.00424f40
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x68]
mov byte [eax], 1
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 0x38]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x54], eax
push 0x40
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.00592e70
add esp, 0xc
mov ecx, dword [ebp - 0x68]
add ecx, 0x10
call fcn.00410340
cmp eax, 0x40
jbe 0x556cbf
mov ecx, dword [ebp - 0x68]
add ecx, 0x10
call fcn.004c2de0
test eax, eax
je 0x556cbd
push 0x40
mov ecx, dword [ebp - 0x68]
add ecx, 0x10
call fcn.004c2de0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00592ef0
add esp, 0xc
jmp 0x556cf2
mov ecx, dword [ebp - 0x68]
add ecx, 0x10
call fcn.004c2de0
test eax, eax
je 0x556cf2
mov ecx, dword [ebp - 0x68]
add ecx, 0x10
call fcn.00410340
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x10
call fcn.004c2de0
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00592ef0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x556d04
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x556d22
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x68a6d8]
mov dword [ecx + edx*4], eax
jmp 0x556cfb
mov dword [ebp - 4], 0
jmp 0x556d34
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 4
jge 0x556d7b
mov dword [ebp - 0x64], 0
jmp 0x556d4c
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0x100
jge 0x556d79
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 + 8]
mov edx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x64]
mov eax, dword [eax + esi*4 + 0x68a720]
mov dword [ecx + edx*4], eax
jmp 0x556d43
jmp 0x556d2b
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x556e75
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
jmp 0x556da0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x556e70
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x64]
movzx ecx, byte [ebp + eax - 0x50]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [ebp - 0xc]
and edx, 0xffffff
or edx, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x64]
add eax, 1
cdq
idiv dword [ebp - 0x54]
movzx eax, byte [ebp + edx - 0x50]
and eax, 0xff
shl eax, 0x10
mov ecx, dword [ebp - 0xc]
and ecx, 0xff00ffff
or ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x64]
add eax, 2
cdq
idiv dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x50]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xffff00ff
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x64]
add eax, 3
cdq
idiv dword [ebp - 0x54]
movzx ecx, byte [ebp + edx - 0x50]
and ecx, 0xff
mov edx, dword [ebp - 0xc]
and edx, 0xffffff00
or edx, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
xor ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
mov edx, dword [ebp - 4]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 0x64]
add eax, 4
cdq
idiv dword [ebp - 0x54]
mov dword [ebp - 0x64], edx
jmp 0x556d97
jmp 0x556f5a
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
jmp 0x556e8e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x556f5a
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x64]
movzx edx, byte [ebp + ecx - 0x4d]
and edx, 0xff
shl edx, 0x18
mov eax, dword [ebp - 0xc]
and eax, 0xffffff
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x64]
add eax, 2
cdq
idiv dword [ebp - 0x54]
movzx ecx, byte [ebp + edx - 0x50]
and ecx, 0xff
shl ecx, 0x10
mov edx, dword [ebp - 0xc]
and edx, 0xff00ffff
or edx, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x64]
add eax, 1
cdq
idiv dword [ebp - 0x54]
movzx eax, byte [ebp + edx - 0x50]
and eax, 0xff
shl eax, 8
mov ecx, dword [ebp - 0xc]
and ecx, 0xffff00ff
or ecx, eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x64]
cdq
idiv dword [ebp - 0x54]
movzx edx, byte [ebp + edx - 0x50]
and edx, 0xff
mov eax, dword [ebp - 0xc]
and eax, 0xffffff00
or eax, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
xor edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x64]
add eax, 4
cdq
idiv dword [ebp - 0x54]
mov dword [ebp - 0x64], edx
jmp 0x556e85
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x557034
mov dword [ebp - 4], 0
jmp 0x556f86
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x556fbd
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.00554080
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
mov dword [ecx + edx*4 + 4], eax
jmp 0x556f7d
mov dword [ebp - 4], 0
jmp 0x556fcf
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 4
jge 0x55702f
mov dword [ebp - 0x64], 0
jmp 0x556fe7
mov edx, dword [ebp - 0x64]
add edx, 2
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0x100
jge 0x55702d
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.00554080
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp - 0x68]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov edx, dword [ebp - 0x68]
add ecx, dword [edx + 8]
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x58]
mov dword [ecx + eax*4 + 4], edx
jmp 0x556fde
jmp 0x556fc6
jmp 0x5570ef
mov dword [ebp - 4], 0
jmp 0x557046
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x55707d
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.00554780
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x5c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x58]
mov dword [edx + eax*4 + 4], ecx
jmp 0x55703d
mov dword [ebp - 4], 0
jmp 0x55708f
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 4
jge 0x5570ef
mov dword [ebp - 0x64], 0
jmp 0x5570a7
mov eax, dword [ebp - 0x64]
add eax, 2
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x100
jge 0x5570ed
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.00554780
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp - 0x68]
add eax, dword [ecx + 8]
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp - 0x68]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x58]
mov dword [edx + ecx*4 + 4], eax
jmp 0x55709e
jmp 0x557086
mov ecx, dword [ebp - 0x68]
mov byte [ecx], 0
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f377
mov esp, ebp
pop ebp
ret