Function at 0x43dec9
Capabilities:
Terminate process

Disassembly:
push 0x21c
mov eax, 0x4f434b
call fcn.004d37c4
lea eax, [ebp - 0x228]
push eax
call fcn.0043a0b1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x5473c0], 2
mov esi, 0x5473e4
mov edi, 0x5472d0
jne 0x43e018
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.CYO_ENCRYPTION_PWD
call fcn.00422827
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x104
call fcn.0047df50
pop ecx
pop ecx
push ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
push 0x10
push esi
lea eax, [ebp - 0x14]
push eax
jne 0x43df86
call fcn.0047eff0
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [eax]
push str.Encryption_Pwd_:_querying_user._PwdHash_s
push ecx
call fcn.004777e0
add esp, 0xc
call fcn.0043a245
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042001a
push ecx
mov dword [ebp - 0x10], esp
mov ecx, esp
push edi
call fcn.00422f20
lea ecx, [ebp - 0x228]
call fcn.00430c2d
mov dword [ebp - 0x14], eax
jmp 0x43dfe4
call fcn.0047eff0
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [eax]
push str.Encryption_Pwd_:_taking_from_environment_variable_CYO_ENCRYPTION_PWD._PwdHash_s
push ecx
call fcn.004777e0
add esp, 0xc
call fcn.0043a245
pop ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0042001a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.004242f2
mov byte [ebp - 4], 4
mov ecx, dword [eax]
call fcn.0043032e
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [ebp - 0x14], eax
call fcn.0042001a
cmp dword [ebp - 0x14], ebx
jne 0x43e00a
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str._Failed_entering_proper_encryption_password._Quitting.
push eax
call fcn.004777e0
pop ecx
pop ecx
call fcn.0043a245
pop ecx
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042001a
cmp dword [0x5473c0], 3
jne 0x43e244
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push ebx
push ebx
push ebx
push ecx
mov dword [ebp - 0x10], esp
mov ecx, esp
push str.Pwd.ini
mov dword [ebp - 0x10], eax
call fcn.00422827
mov eax, dword [ebp - 0x10]
push 1
push eax
call fcn.00489d60
add esp, 0x18
call fcn.0047a330
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x43e20e
lea eax, [ebp - 0x38]
push eax
call fcn.00429c3b
push ecx
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x10], esp
push str.Encryption_CreatePwd_:_password_info_exists
push eax
call fcn.004777e0
pop ecx
pop ecx
call fcn.0043a245
pop ecx
lea eax, [ebp - 0x38]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push ebx
push ebx
push ebx
push ecx
mov dword [ebp - 0x10], esp
mov ecx, esp
push str.Pwd.ini
mov dword [ebp - 0x10], eax
call fcn.00422827
mov eax, dword [ebp - 0x10]
inc ebx
push ebx
push eax
call fcn.00489d60
add esp, 0x18
call fcn.004800b0
pop ecx
pop ecx
push str.EncryptionPwdKey
lea ecx, [ebp - 0x14]
call fcn.00422827
push 0
push 0x10
mov byte [ebp - 4], 6
push 0x5473d4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
lea ebx, [ebp - 0x38]
call fcn.00429c71
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00422812
mov ecx, dword [ebp - 0x10]
call fcn.0047f2e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042001a
push str.EncryptionPwdHash
lea ecx, [ebp - 0x14]
call fcn.00422827
push 0
push 0x10
push esi
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 7
call fcn.00429c71
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00422812
xor ecx, ecx
inc ecx
call fcn.0047f2e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042001a
push str.EncryptionPwdSalt
lea ecx, [ebp - 0x14]
call fcn.00422827
push 0
push 0x14
push 0x5473f4
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov byte [ebp - 4], 8
inc esi
call fcn.00429c71
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00422812
mov ecx, esi
call fcn.0047f2e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042001a
push str.EncryptionPwdIV
lea ecx, [ebp - 0x14]
call fcn.00422827
push 0
push 0x10
push 0x547408
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 9
call fcn.00429c71
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00422812
mov ecx, esi
call fcn.0047f2e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042001a
push ecx
mov dword [ebp - 0x10], esp
mov ecx, esp
push edi
call fcn.00422f20
lea ecx, [ebp - 0x228]
call fcn.00430c2d
test eax, eax
je 0x43dfe9
mov eax, ebx
push eax
mov byte [ebp - 4], 0
call fcn.00429d53
jmp 0x43e244
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push str.Encryption_CreatePwd_:_first_user_launch
push eax
call fcn.004777e0
pop ecx
pop ecx
call fcn.0043a245
mov dword [ebp - 0x10], esp
mov ecx, esp
push edi
call fcn.00422f20
lea esi, [ebp - 0x228]
call fcn.00430c7c
cmp eax, ebx
je 0x43dfe9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
push eax
call fcn.0043a1cc
call fcn.004d389c
ret