Function at 0x56d450
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, 0x10
sub esi, 0x7d89d4
push edi
mov edi, ecx
mov dword [esp + 0x10], esi
mov ecx, 8
mov edx, 0xc
mov esi, 0x14
xor eax, eax
sub ecx, 0x7d89d4
sub edx, 0x7d89d4
sub esi, 0x7d89d4
mov dword [esp + 0x14], esi
nop
mov ebx, dword [eax + 0x7d89d0]
mov esi, dword [edi]
mov dword [eax + esi], ebx
mov ebx, dword [eax + 0x7d89d4]
mov esi, dword [edi]
mov dword [eax + esi + 4], ebx
mov ebp, dword [eax + 0x7d89d8]
mov ebx, dword [edi]
lea esi, [ecx + eax + 0x7d89d4]
mov dword [esi + ebx], ebp
mov ebp, dword [eax + 0x7d89dc]
mov ebx, dword [edi]
lea esi, [edx + eax + 0x7d89d4]
mov dword [esi + ebx], ebp
mov ebp, dword [eax + 0x7d89e0]
mov esi, dword [esp + 0x10]
mov ebx, dword [edi]
lea esi, [esi + eax + 0x7d89d4]
mov dword [esi + ebx], ebp
mov esi, dword [esp + 0x14]
mov ebp, dword [eax + 0x7d89e4]
mov ebx, dword [edi]
lea esi, [esi + eax + 0x7d89d4]
add eax, 0x18
cmp eax, 0x48
mov dword [esi + ebx], ebp
jl 0x56d490
mov eax, 8
sub eax, 0x7d8a1c
mov dword [esp + 0x14], eax
xor eax, eax
nop
lea ecx, [eax + 0xc]
mov edx, 0x40
jmp 0x56d520
mov ebx, dword [eax + 0x7d8a18]
mov esi, dword [edi + 4]
mov dword [eax + esi], ebx
mov ebx, dword [eax + 0x7d8a1c]
mov esi, dword [edi + 4]
mov dword [eax + esi + 4], ebx
mov esi, dword [esp + 0x14]
mov ebx, dword [edi + 4]
mov ebp, dword [eax + 0x7d8a20]
lea esi, [esi + eax + 0x7d8a1c]
mov dword [esi + ebx], ebp
mov ebx, dword [eax + 0x7d8a24]
mov esi, dword [edi + 4]
mov dword [ecx + esi], ebx
add eax, 0x10
add ecx, 0x10
sub edx, 1
jne 0x56d520
cmp eax, 0x1000
jl 0x56d510
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ebx, 0xc
mov eax, dword [edi]
lea edx, [ebx + eax - 0xc]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
mov eax, dword [esp + 0x10]
add eax, 3
shl edx, 8
mov dword [esp + 0x20], edx
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax - 8]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax - 4]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax + 4]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax + 8]
mov dword [esp + 0x1c], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0x10], ebp
add ebx, 0x18
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
cmp ebx, 0x54
mov ebp, edx
mov dword [esp + 0x10], ebp
jl 0x56d581
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
xor esi, esi
mov edi, edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0056cbf0
mov edx, dword [edi]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
mov dword [esi + ecx + 4], edx
add esi, 8
cmp esi, 0x48
jl 0x56d7f0
xor esi, esi
mov edi, edi
mov ebx, 0x80
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0056cbf0
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov dword [esi + edx], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x1c]
mov dword [esi + ecx + 4], edx
add esi, 8
sub ebx, 1
jne 0x56d825
cmp esi, 0x1000
jl 0x56d820
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8