Function at 0x6e8000
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x88d798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
push 0x12345678
mov esi, ecx
push str.Set_password_option
call fcn.006eacc0
push esi
lea ecx, [esp + 0x10]
call fcn.006e6860
mov edx, dword [esp + 0x10]
xor ebx, ebx
cmp edx, ebx
mov dword [esp + 0x5c], ebx
jne 0x6e8081
push 0x12345678
push str.result_lock_SetPwdOpt_fail___lock_failed__
mov ecx, esi
call fcn.006eacc0
mov eax, dword [esp + 0x14]
mov dword [esi + 4], 0x8005
cmp eax, ebx
mov dword [esp + 0xc], 0x8af620
je 0x6e813f
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x6e812c
jmp 0x6e8122
cmp dword [esi + 8], 2
je 0x6e80bd
push 0x12345678
push str.result_SetPwdOpt_fail___m_nLogonStatus___UKEY_LOGON_MANAGER_
mov ecx, esi
mov dword [esi + 4], 1
call fcn.006eacc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0x8af620
cmp eax, ebx
je 0x6e813f
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x6e812c
jmp 0x6e8122
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push 0x3c
push ebx
push edx
call fcn.006e99c0
cmp eax, ebx
mov dword [esi + 4], eax
je 0x6e8155
push 0x12345678
push str.result__ReadHeader_error_
mov ecx, esi
call fcn.006eacc0
push 0x12345678
push str.result_SetPwdOpt_fail_____ReadHeader_
mov ecx, esi
call fcn.006eacc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0x8af620
cmp eax, ebx
je 0x6e813f
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x6e812c
push ecx
call fcn.00741630
mov eax, dword [esp + 0x14]
mov esi, eax
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x6e813c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esi + 0x48], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
add esp, 0x54
ret 8
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x1c]
mov edi, 0x23
mov dword [ecx], edx
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov cl, byte [esp + 0x31]
mov eax, 1
mov dl, cl
cmp edi, eax
jle 0x6e8190
xor dl, byte [esp + eax + 0x31]
inc eax
cmp eax, edi
jl 0x6e8187
mov al, byte [esp + 0x30]
mov edi, 0xfe
cmp dl, al
je 0x6e81a2
mov dword [esi + 0x10], edi
jmp 0x6e81b2
mov edx, dword [esp + 0x31]
and edx, 0xff
shr edx, 4
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x32]
and eax, 0xff
mov edx, eax
shr eax, 4
mov dword [esi + 0x18], eax
mov al, cl
and al, 0xf
and edx, 0xf
neg al
sbb eax, eax
mov dword [esi + 0x14], edx
neg eax
mov dword [esi + 0x1c], eax
mov al, byte [esp + 0x64]
mov edx, dword [esp + 0x33]
and al, 0xf
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov dword [esi + 0x20], edx
setne al
and cl, 0xf0
mov edx, 0x23
add al, cl
mov ecx, 1
cmp edx, ecx
mov byte [esp + 0x31], al
jle 0x6e8210
xor al, byte [esp + ecx + 0x31]
inc ecx
cmp ecx, edx
jl 0x6e8207
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x30], al
mov dword [ecx], edx
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x18]
push ecx
call fcn.006e7c40
mov cl, byte [esp + 0x34]
add esp, 4
cmp al, cl
je 0x6e824c
mov dword [esi + 0x10], edi
jmp 0x6e825c
mov edx, dword [esp + 0x31]
and edx, 0xff
shr edx, 4
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x32]
mov dl, byte [esp + 0x31]
and eax, 0xff
and dl, 0xf
mov ecx, eax
and ecx, 0xf
shr eax, 4
neg dl
sbb edx, edx
mov dword [esi + 0x14], ecx
neg edx
lea ecx, [esp + 0x18]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x10]
push ecx
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x37]
push 0x3c
push ebx
push edx
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.006e9aa0
mov edi, eax
cmp edi, ebx
mov dword [esi + 4], edi
je 0x6e82b8
push 0x12345678
push str.result__WriteHeader_error_
mov ecx, esi
call fcn.006eacc0
xor eax, eax
cmp edi, ebx
sete al
mov edi, eax
mov ecx, esi
push edi
push str.Set_password_option_end__BOOL_
call fcn.006eacc0
lea ecx, [esp + 0xc]
call fcn.006e6970
mov ecx, dword [esp + 0x54]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 8