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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
and dword [ebp + 8], 0
push edi
push 1
mov dword [ebp - 4], 0x436748
lea ecx, [esi + 0x1000]
dec dword [ebp - 4]
pop ebx
sub ebx, ecx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
add ebx, ecx
movsx edi, word [ebp + 0x10]
mov eax, dword [ebx + eax]
mov dword [ebp - 0xc], eax
mov dword [ecx], eax
mov eax, dword [ebp + 8]
add dword [ebp + 8], 4
cdq
idiv edi
mov eax, dword [ebp + 0xc]
movzx edi, byte [edx + eax]
mov eax, ebx
movsx ebx, word [ebp + 0x10]
cdq
idiv ebx
mov eax, dword [ebp + 0xc]
shl edi, 0x18
xor edi, dword [ebp - 0xc]
mov dword [ecx], edi
movzx ebx, byte [edx + eax]
mov eax, dword [ebp - 8]
shl ebx, 0x10
xor ebx, edi
lea eax, [eax + ecx + 1]
movsx edi, word [ebp + 0x10]
cdq
idiv edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], ebx
mov ah, byte [edx + edi]
movsx edi, word [ebp + 0x10]
xor eax, ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ecx], eax
lea eax, [ebx + ecx + 2]
cdq
idiv edi
mov eax, dword [ebp + 0xc]
movzx eax, byte [edx + eax]
xor eax, dword [ebp - 0xc]
mov dword [ecx], eax
add ecx, 4
cmp dword [ebp + 8], 0x48
jl 0x4194f1
lea edi, [esi + 0x400]
mov ecx, 0x436790
mov dword [ebp + 0x10], edi
lea edi, [esi + 0x800]
sub dword [ebp + 0x10], esi
mov dword [ebp + 8], edi
sub dword [ebp + 8], esi
lea edi, [esi + 0xc00]
mov edx, 0x436b90
mov dword [ebp + 0xc], 0x436f90
sub dword [ebp + 0xc], esi
mov dword [ebp - 4], 0x437390
sub dword [ebp - 4], esi
mov dword [ebp - 8], edi
sub ecx, esi
sub edx, esi
sub dword [ebp - 8], esi
mov eax, esi
mov dword [ebp - 0xc], 0x100
mov edi, dword [ecx + eax]
mov ebx, dword [ebp + 0x10]
mov dword [eax], edi
mov edi, dword [edx + eax]
mov dword [ebx + eax], edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [edi + eax]
mov dword [ebx + eax], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov edi, dword [edi + eax]
mov dword [ebx + eax], edi
add eax, 4
dec dword [ebp - 0xc]
jne 0x4195c5
xor ecx, ecx
xor eax, eax
push 9
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
lea edi, [esi + 0x1000]
pop ebx
lea edx, [ebp - 0x10]
push esi
push edx
push ecx
push eax
call fcn.004196d3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x10
add edi, 8
dec ebx
jne 0x419606
mov ebx, pe_nt_image_headers32
mov edi, esi
mov dword [ebp + 0x10], ebx
lea edx, [ebp - 0x10]
push esi
push edx
push ecx
push eax
call fcn.004196d3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x10
add edi, 8
dec dword [ebp + 0x10]
jne 0x419630
lea edi, [esi + 0x400]
mov dword [ebp + 0x10], ebx
lea edx, [ebp - 0x10]
push esi
push edx
push ecx
push eax
call fcn.004196d3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x10
add edi, 8
dec dword [ebp + 0x10]
jne 0x41965b
lea edi, [esi + 0x800]
mov dword [ebp + 0x10], ebx
lea edx, [ebp - 0x10]
push esi
push edx
push ecx
push eax
call fcn.004196d3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x10
add edi, 8
dec dword [ebp + 0x10]
jne 0x419686
lea edi, [esi + 0xc00]
lea edx, [ebp - 0x10]
push esi
push edx
push ecx
push eax
call fcn.004196d3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi], eax
mov dword [edi + 4], ecx
add esp, 0x10
add edi, 8
dec ebx
jne 0x4196ae
pop edi
pop esi
pop ebx
leave
ret