Function at 0x40c31e
Capabilities:
Encode data using xor

Disassembly:
push 0x48
mov eax, 0x65996e
call fcn.005fe9c8
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
mov edi, dword [ebp - 0x44]
push edi
mov dword [ebp - 4], ebx
call fcn.00631510
pop ecx
mov esi, eax
push edi
push edi
mov dword [ebp - 0x4c], esi
call fcn.00631510
pop ecx
push eax
push str.DecryptNavicatPassword
push str._s___Entered_password___d___s
call fcn.00449974
push esi
push edi
call fcn.004497c4
add esp, 0x18
test eax, eax
je 0x40c4d1
mov edi, esi
lea ecx, [ebp - 0x40]
shr edi, 1
push ebx
push edi
mov dword [ebp - 0x50], edi
call fcn.004448b2
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xffffffff
push 0x70f560
push eax
mov dword [ebp - 0x14], 0xffffffff
call fcn.00448146
mov eax, esi
mov dword [ebp - 0x1c], ebx
shr eax, 4
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x40c441
mov esi, dword [ebp - 0x44]
mov edi, eax
lea eax, [ebp - 0x20]
push eax
push 0x10
push esi
call fcn.0044987a
push 8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.006269d0
push 1
lea eax, [ebp - 0x20]
push 0x70f560
push eax
call fcn.00447d66
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
xor edx, dword [ebp - 0x18]
add esp, 0x24
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x20], edx
cmovae eax, dword [ebp - 0x40]
add esi, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [eax + ebx*8], edx
mov dword [eax + ebx*8 + 4], ecx
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x14], eax
inc ebx
cmp ebx, edi
jb 0x40c3d0
mov esi, dword [ebp - 0x4c]
xor ebx, ebx
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
and esi, 0xf
je 0x40c498
lea ecx, [ebp - 0x28]
shl eax, 4
add eax, dword [ebp - 0x44]
xorps xmm0, xmm0
push ecx
push esi
push eax
movlpd qword [ebp - 0x28], xmm0
call fcn.0044987a
push 1
lea eax, [ebp - 0x18]
push 0x70f560
push eax
call fcn.00448146
add esp, 0x18
and edi, 7
jbe 0x40c498
mov edx, dword [ebp - 0x48]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov cl, byte [ebp + ebx - 0x28]
cmovae eax, dword [ebp - 0x40]
xor cl, byte [ebp + ebx - 0x18]
lea eax, [eax + edx*8]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, edi
jb 0x40c47a
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [ebp + 0x10]
push ebx
call fcn.006311ec
add esp, 0xc
push ebx
push ebx
call fcn.00631510
pop ecx
push eax
push str.DecryptNavicatPassword
push str._s___Success__Decrypted_password___d___s
call fcn.00449974
xor ebx, ebx
add esp, 0x10
inc ebx
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40c508
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
cmp eax, 0x1000
jb 0x40c4ff
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00443845
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x44]
push eax
push ecx
call fcn.005fe4f9
pop ecx
pop ecx
mov eax, ebx
call fcn.005fe977
ret