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

Disassembly:
sub esp, 0x48
mov eax, dword [0x10043290]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov ebp, ecx
xor eax, eax
test esi, esi
push edi
mov dword [esp + 0x18], ebp
jle 0x1001b458
mov ecx, dword [esp + 0x5c]
sub ecx, 0x10043228
lea esp, [esp]
mov dl, byte [ecx + eax + 0x10043228]
xor dl, byte [eax + 0x10043228]
add eax, 1
cmp eax, esi
mov byte [esp + eax + 0x1b], dl
jl 0x1001b440
mov eax, 0x100421c8
lea ecx, [ebp + 4]
mov edx, dword [eax]
mov dword [ecx], edx
add eax, 4
add ecx, 4
cmp eax, 0x10042210
jl 0x1001b460
mov eax, 0x10042210
lea edx, [ebp + 0x4c]
lea esp, [esp]
mov edi, 0x100
mov ecx, dword [eax]
mov dword [edx], ecx
add eax, 4
add edx, 4
sub edi, 1
jne 0x1001b485
cmp eax, 0x10043210
jl 0x1001b480
lea edi, [ebp + 8]
xor ebx, ebx
mov ebp, 3
lea eax, [ebx + 1]
cdq
idiv esi
lea eax, [ebx + 2]
movzx ecx, byte [esp + edx + 0x1c]
movsx edx, byte [esp + ebx + 0x1c]
shl edx, 8
or ecx, edx
cdq
idiv esi
shl ecx, 8
movzx eax, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv esi
shl ecx, 8
lea eax, [ebx + 4]
movzx edx, byte [esp + edx + 0x1c]
or ecx, edx
cdq
idiv esi
xor dword [edi - 4], ecx
mov ebx, edx
lea eax, [ebx + 1]
cdq
idiv esi
lea eax, [ebx + 2]
movzx ecx, byte [esp + edx + 0x1c]
movsx edx, byte [esp + ebx + 0x1c]
shl edx, 8
or ecx, edx
cdq
idiv esi
shl ecx, 8
movzx eax, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv esi
shl ecx, 8
lea eax, [ebx + 4]
movzx edx, byte [esp + edx + 0x1c]
or ecx, edx
cdq
idiv esi
xor dword [edi], ecx
mov ebx, edx
lea eax, [ebx + 1]
cdq
idiv esi
lea eax, [ebx + 2]
movzx ecx, byte [esp + edx + 0x1c]
movsx edx, byte [esp + ebx + 0x1c]
shl edx, 8
or ecx, edx
cdq
idiv esi
shl ecx, 8
movzx eax, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv esi
shl ecx, 8
lea eax, [ebx + 4]
movzx edx, byte [esp + edx + 0x1c]
or ecx, edx
cdq
idiv esi
xor dword [edi + 4], ecx
mov ebx, edx
lea eax, [ebx + 1]
cdq
idiv esi
lea eax, [ebx + 2]
movzx ecx, byte [esp + edx + 0x1c]
movsx edx, byte [esp + ebx + 0x1c]
shl edx, 8
or ecx, edx
shl ecx, 8
cdq
idiv esi
add edi, 0x18
movzx eax, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv esi
shl ecx, 8
lea eax, [ebx + 4]
movzx edx, byte [esp + edx + 0x1c]
or ecx, edx
cdq
idiv esi
xor dword [edi - 0x10], ecx
mov ebx, edx
lea eax, [ebx + 1]
cdq
idiv esi
lea eax, [ebx + 2]
movzx ecx, byte [esp + edx + 0x1c]
movsx edx, byte [esp + ebx + 0x1c]
shl edx, 8
or ecx, edx
cdq
idiv esi
shl ecx, 8
movzx eax, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv esi
shl ecx, 8
lea eax, [ebx + 4]
movzx edx, byte [esp + edx + 0x1c]
or ecx, edx
cdq
idiv esi
xor dword [edi - 0xc], ecx
mov ebx, edx
lea eax, [ebx + 1]
cdq
idiv esi
lea eax, [ebx + 2]
movzx ecx, byte [esp + edx + 0x1c]
movsx edx, byte [esp + ebx + 0x1c]
shl edx, 8
or ecx, edx
cdq
idiv esi
shl ecx, 8
movzx eax, byte [esp + edx + 0x1c]
or ecx, eax
lea eax, [ebx + 3]
cdq
idiv esi
shl ecx, 8
lea eax, [ebx + 4]
movzx edx, byte [esp + edx + 0x1c]
or ecx, edx
cdq
idiv esi
xor dword [edi - 8], ecx
sub ebp, 1
mov ebx, edx
jne 0x1001b4a5
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea esi, [ecx + 8]
mov edi, 9
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.1001acb0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi - 4], eax
mov dword [esi], edx
add esi, 8
sub edi, 1
jne 0x1001b646
lea esi, [ecx + 0x50]
mov ebx, 4
mov edi, 0x80
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push edx
call fcn.1001acb0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi - 4], eax
mov dword [esi], edx
add esi, 8
sub edi, 1
jne 0x1001b677
sub ebx, 1
jne 0x1001b672
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001bfcb
add esp, 0x48
ret 8