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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, 0xc
sub ebx, 0x43f3fc
mov dword [esp + 4], ebx
mov ebx, 0x10
sub ebx, 0x43f3fc
push ebp
mov dword [esp + 0x10], ebx
push esi
mov edx, 8
mov esi, eax
sub edx, 0x43f3fc
mov ebx, 0x14
xor eax, eax
sub ebx, 0x43f3fc
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
jmp 0x40b2b4
mov edx, dword [esp + 0x10]
mov ebp, dword [eax + 0x43f3f8]
mov ebx, dword [edi]
mov dword [eax + ebx], ebp
mov ebp, dword [eax + 0x43f3fc]
mov ebx, dword [edi]
mov dword [eax + ebx + 4], ebp
mov ebp, dword [eax + 0x43f400]
mov ebx, dword [edi]
lea edx, [edx + eax + 0x43f3fc]
mov dword [edx + ebx], ebp
mov ebp, dword [eax + 0x43f404]
mov ebx, dword [edi]
mov edx, dword [esp + 0xc]
lea edx, [edx + eax + 0x43f3fc]
mov dword [edx + ebx], ebp
mov ebp, dword [eax + 0x43f408]
mov edx, dword [esp + 0x14]
mov ebx, dword [edi]
lea edx, [edx + eax + 0x43f3fc]
mov dword [edx + ebx], ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [eax + 0x43f40c]
mov ebx, dword [edi]
lea edx, [edx + eax + 0x43f3fc]
add eax, 0x18
cmp eax, 0x48
mov dword [edx + ebx], ebp
jl 0x40b2b0
mov eax, 8
sub eax, 0x43f444
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0x40b340
lea edx, [eax + 0xc]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x40
nop
mov ebx, dword [eax + 0x43f440]
mov edx, dword [edi + 4]
mov dword [eax + edx], ebx
mov ebx, dword [eax + 0x43f444]
mov edx, dword [edi + 4]
mov dword [eax + edx + 4], ebx
mov ebp, dword [eax + 0x43f448]
mov edx, dword [esp + 0x18]
mov ebx, dword [edi + 4]
lea edx, [edx + eax + 0x43f444]
mov dword [edx + ebx], ebp
mov edx, dword [esp + 0x10]
mov ebp, dword [eax + 0x43f44c]
mov ebx, dword [edi + 4]
mov dword [edx + ebx], ebp
add edx, 0x10
add eax, 0x10
sub dword [esp + 0xc], 1
mov dword [esp + 0x10], edx
jne 0x40b350
cmp eax, 0x1000
jl 0x40b340
xor ebp, ebp
mov dword [esp + 0xc], ebp
mov ebx, 0xc
mov eax, dword [edi]
lea edx, [ebx + eax - 0xc]
mov dword [esp + 0x14], 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 + 0x18], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x18]
or edx, eax
mov eax, dword [esp + 0xc]
add eax, 3
shl edx, 8
mov dword [esp + 0x18], edx
cdq
idiv ecx
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
mov eax, dword [esp + 0xc]
add eax, 4
cdq
idiv ecx
mov eax, dword [edi]
mov ebp, edx
lea edx, [ebx + eax - 8]
mov dword [esp + 0x14], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0xc], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
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 + 0x14], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0xc], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
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 + 0x14], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0xc], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
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 + 0x14], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0xc], ebp
movzx eax, byte [edx + esi]
movzx edx, byte [esi + ebp]
shl edx, 8
or eax, edx
shl eax, 8
mov dword [esp + 0x18], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
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 + 0x14], edx
lea eax, [ebp + 1]
cdq
idiv ecx
mov dword [esp + 0xc], 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 + 0x18], eax
lea eax, [ebp + 2]
cdq
idiv ecx
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x18]
or edx, eax
shl edx, 8
mov dword [esp + 0x18], edx
mov eax, ebp
add eax, 3
cdq
idiv ecx
mov eax, dword [esp + 0x18]
movzx edx, byte [edx + esi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x14]
xor dword [eax], edx
mov eax, ebp
add eax, 4
cdq
idiv ecx
cmp ebx, 0x54
mov ebp, edx
mov dword [esp + 0xc], ebp
jl 0x40b3b3
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
xor esi, esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov eax, edi
call fcn.0040aa00
mov edx, dword [edi]
mov eax, dword [esp + 0xc]
mov dword [esi + edx], eax
mov ecx, dword [edi]
mov edx, dword [esp + 0x10]
mov dword [esi + ecx + 4], edx
add esi, 8
cmp esi, 0x48
jl 0x40b620
xor esi, esi
mov edi, edi
mov ebx, 0x80
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov eax, edi
call fcn.0040aa00
mov edx, dword [edi + 4]
mov eax, dword [esp + 0xc]
mov dword [esi + edx], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [esi + ecx + 4], edx
add esi, 8
sub ebx, 1
jne 0x40b655
cmp esi, 0x1000
jl 0x40b650
pop esi
pop ebp
pop ebx
add esp, 0x10
ret