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

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, 0x10
sub esi, 0x45f1c4
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, 8
mov edx, 0xc
mov esi, 0x14
xor eax, eax
sub ecx, 0x45f1c4
sub edx, 0x45f1c4
push edi
sub esi, 0x45f1c4
mov dword [esp + 0x10], esi
push ebx
nop
mov edi, dword [eax + 0x45f1c0]
mov esi, dword [ebp]
mov dword [eax + esi], edi
mov edi, dword [eax + 0x45f1c4]
mov esi, dword [ebp]
mov dword [eax + esi + 4], edi
mov ebx, dword [eax + 0x45f1c8]
mov edi, dword [ebp]
lea esi, [ecx + eax + 0x45f1c4]
mov dword [esi + edi], ebx
mov ebx, dword [eax + 0x45f1cc]
mov edi, dword [ebp]
lea esi, [edx + eax + 0x45f1c4]
mov dword [esi + edi], ebx
mov ebx, dword [eax + 0x45f1d0]
mov esi, dword [esp + 0x10]
mov edi, dword [ebp]
lea esi, [esi + eax + 0x45f1c4]
mov dword [esi + edi], ebx
mov esi, dword [esp + 0x14]
mov ebx, dword [eax + 0x45f1d4]
mov edi, dword [ebp]
lea esi, [esi + eax + 0x45f1c4]
add eax, 0x18
cmp eax, 0x48
mov dword [esi + edi], ebx
jl 0x403ca0
mov eax, 8
sub eax, 0x45f20c
mov dword [esp + 0x14], eax
xor eax, eax
jmp 0x403d30
lea ecx, [eax + 0xc]
mov edx, 0x40
jmp 0x403d40
mov edi, dword [eax + 0x45f208]
mov esi, dword [ebp + 4]
mov dword [eax + esi], edi
mov edi, dword [eax + 0x45f20c]
mov esi, dword [ebp + 4]
mov dword [eax + esi + 4], edi
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 4]
mov ebx, dword [eax + 0x45f210]
lea esi, [esi + eax + 0x45f20c]
mov dword [esi + edi], ebx
mov edi, dword [eax + 0x45f214]
mov esi, dword [ebp + 4]
mov dword [ecx + esi], edi
add eax, 0x10
add ecx, 0x10
dec edx
jne 0x403d40
cmp eax, 0x1000
jl 0x403d30
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov ecx, 0xc
nop
mov eax, dword [ebp]
lea edx, [ecx + eax - 0xc]
mov dword [esp + 0x1c], edx
lea eax, [ebx + 1]
cdq
idiv esi
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebx + 2]
cdq
idiv esi
movzx eax, byte [edx + edi]
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 esi
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
xor ebx, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax - 8]
mov dword [esp + 0x1c], edx
lea eax, [ebx + 1]
cdq
idiv esi
mov dword [esp + 0x10], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebx + 2]
cdq
idiv esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebx
add eax, 3
cdq
idiv esi
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
xor ebx, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax - 4]
mov dword [esp + 0x1c], edx
lea eax, [ebx + 1]
cdq
idiv esi
mov dword [esp + 0x10], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebx + 2]
cdq
idiv esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebx
add eax, 3
cdq
idiv esi
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
xor ebx, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax]
mov dword [esp + 0x1c], edx
lea eax, [ebx + 1]
cdq
idiv esi
mov dword [esp + 0x10], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebx + 2]
cdq
idiv esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebx
add eax, 3
cdq
idiv esi
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
xor ebx, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax + 4]
mov dword [esp + 0x1c], edx
lea eax, [ebx + 1]
cdq
idiv esi
mov dword [esp + 0x10], ebx
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebx + 2]
cdq
idiv esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebx
add eax, 3
cdq
idiv esi
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
xor ebx, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv esi
mov eax, dword [ebp]
mov ebx, edx
lea edx, [ecx + eax + 8]
mov dword [esp + 0x1c], edx
lea eax, [ebx + 1]
cdq
idiv esi
mov dword [esp + 0x10], ebx
add ecx, 0x18
movzx eax, byte [edx + edi]
mov ah, byte [ebx + edi]
shl eax, 8
mov dword [esp + 0x20], eax
lea eax, [ebx + 2]
cdq
idiv esi
movzx eax, byte [edx + edi]
mov edx, dword [esp + 0x20]
or edx, eax
shl edx, 8
mov dword [esp + 0x20], edx
mov eax, ebx
add eax, 3
cdq
idiv esi
mov eax, dword [esp + 0x20]
movzx edx, byte [edx + edi]
or eax, edx
mov edx, eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
xor ebx, edx
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
add eax, 4
cdq
idiv esi
cmp ecx, 0x54
mov ebx, edx
mov dword [esp + 0x10], ebx
jl 0x403da0
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
xor esi, esi
pop ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.004034e0
mov edx, dword [ebp]
mov eax, dword [esp + 0x1c]
mov dword [esi + edx], eax
mov ecx, dword [ebp]
mov edx, dword [esp + 0x18]
mov dword [esi + ecx + 4], edx
add esi, 8
cmp esi, 0x48
jl 0x404012
xor esi, esi
mov edi, 0x80
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.004034e0
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x1c]
mov dword [esi + edx], eax
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x18]
mov dword [esi + ecx + 4], edx
add esi, 8
dec edi
jne 0x404047
cmp esi, 0x1000
jl 0x404042
pop edi
pop esi
pop ebp
add esp, 8
ret 8