Function at 0x437991
Capabilities:
Terminate process

Disassembly:
push 0x21c
mov eax, 0x4e1ad2
call fcn.004c1f48
lea eax, [ebp - 0x228]
push eax
call fcn.00433c41
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x52e050], 2
mov edi, 0x52e074
mov esi, 0x52df68
jne 0x437a3d
push ebx
push 0x10
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00474ac0
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
mov byte [ebp - 4], 1
push dword [eax]
push str.Encryption_Pwd_:_querying_user._PwdHash_s
push ecx
call fcn.0046d760
add esp, 0xc
call fcn.00433dd5
pop ecx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0042201a
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
call fcn.00424ec9
lea ecx, [ebp - 0x228]
call fcn.004308a4
cmp eax, ebx
jne 0x437a3d
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str._Failed_entering_proper_encryption_password._Quitting.
push eax
call fcn.0046d760
pop ecx
pop ecx
call fcn.00433dd5
pop ecx
push 0xfffffffffffffffe
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x52e050], 3
jne 0x437c6d
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Pwd.ini
mov dword [ebp - 0x10], eax
call fcn.004247f7
mov eax, dword [ebp - 0x10]
push 1
push eax
call fcn.0047e910
add esp, 0x18
call fcn.0046fe10
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x437c3b
lea eax, [ebp - 0x38]
push eax
call fcn.0042b785
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push str.Encryption_CreatePwd_:_password_info_exists
push eax
mov byte [ebp - 4], 2
call fcn.0046d760
pop ecx
pop ecx
call fcn.00433dd5
pop ecx
lea eax, [ebp - 0x38]
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Pwd.ini
mov dword [ebp - 0x10], eax
call fcn.004247f7
mov eax, dword [ebp - 0x10]
inc ebx
push ebx
push eax
call fcn.0047e910
add esp, 0x18
call fcn.00475b80
pop ecx
pop ecx
push str.EncryptionPwdKey
lea ecx, [ebp - 0x10]
call fcn.004247f7
push 0
push 0x10
push 0x52e064
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
lea ebx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.0042b7bb
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004247e2
mov ecx, dword [ebp - 0x14]
call fcn.00474db0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042201a
push str.EncryptionPwdHash
lea ecx, [ebp - 0x10]
call fcn.004247f7
push 0
push 0x10
push edi
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.0042b7bb
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004247e2
xor ecx, ecx
inc ecx
call fcn.00474db0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042201a
push str.EncryptionPwdSalt
lea ecx, [ebp - 0x10]
call fcn.004247f7
push 0
push 0x14
push 0x52e084
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov byte [ebp - 4], 5
inc edi
call fcn.0042b7bb
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004247e2
mov ecx, edi
call fcn.00474db0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042201a
push str.EncryptionPwdIV
lea ecx, [ebp - 0x10]
call fcn.004247f7
push 0
push 0x10
push 0x52e098
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 6
call fcn.0042b7bb
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004247e2
mov ecx, edi
call fcn.00474db0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042201a
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push esi
call fcn.00424ec9
lea ecx, [ebp - 0x228]
call fcn.004308a4
test eax, eax
jne 0x437c2c
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
jmp 0x437a22
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0
call fcn.0042b89d
jmp 0x437c6d
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str.Encryption_CreatePwd_:_first_user_launch
push eax
call fcn.0046d760
pop ecx
pop ecx
call fcn.00433dd5
mov dword [ebp - 0x18], esp
mov ecx, esp
push esi
call fcn.00424ec9
lea esi, [ebp - 0x228]
call fcn.004308f3
cmp eax, ebx
je 0x437c21
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
push eax
call fcn.00433d5c
call fcn.004c2020
ret