Function at 0x180001299
Capabilities:
Impersonate user

Disassembly:
jmp 0x180001570
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
lea rdi, [rsp + 0x30]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x220]
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x18000cb88]
xor ecx, ecx
call sub.NETAPI32.dll_NetUserGetInfo
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x18000179b
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9d, 2
lea r8, [0x18000cb90]
lea rdx, [0x18000cb84]
lea rcx, [0x18000cb88]
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
je 0x18000161e
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000178c
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, str.The__1_user_exists__but_the_password_is_incorrect
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Cored.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64__int_]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov dl, 0x20
lea rcx, [rsp + 0x90]
call fcn.180001181
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx eax, word [rax]
mov word [rsp + 0xb8], ax
movzx eax, word [rsp + 0xb8]
mov word [rsp + 0xba], ax
lea rax, [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea rdx, [0x18000cd04]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.cpncfg.dll_class_QString___cdecl_CfgTransform::applicationName_class_QString_]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
movzx eax, word [rsp + 0xba]
mov word [rsp + 0x20], ax
xor r9d, r9d
mov r8, qword [rsp + 0x180]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.Qt5Cored.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.Qt5Cored.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x48]
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x180001a96
cmp dword [rsp + 0x54], 0x8ad
jne 0x180001922
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, str.The__1_user_has_not_been_created
lea rcx, [rsp + 0xc0]
call qword [sym.imp.Qt5Cored.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64__int_]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov dl, 0x20
lea rcx, [rsp + 0xd8]
call fcn.180001181
movzx edx, byte [rax]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx eax, word [rax]
mov word [rsp + 0x100], ax
movzx eax, word [rsp + 0x100]
mov word [rsp + 0x102], ax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea rdx, [0x18000cdc4]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.cpncfg.dll_class_QString___cdecl_CfgTransform::applicationName_class_QString_]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
movzx eax, word [rsp + 0x102]
mov word [rsp + 0x20], ax
xor r9d, r9d
mov r8, qword [rsp + 0x1c0]
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.Qt5Cored.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.Qt5Cored.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xc0]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x180001a96
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, str.An_error_occurred_while_checking_for_the_existence_of_the__1_user
lea rcx, [rsp + 0x108]
call qword [sym.imp.Qt5Cored.dll_public:_static_class_QString___cdecl_QObject::tr_char_const____ptr64__char_const____ptr64__int_]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov dl, 0x20
lea rcx, [rsp + 0x120]
call fcn.180001181
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx eax, word [rax]
mov word [rsp + 0x148], ax
movzx eax, word [rsp + 0x148]
mov word [rsp + 0x14a], ax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea rdx, [0x18000ce34]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0x1e8], rax
mov rdx, qword [rsp + 0x1e8]
lea rcx, [rsp + 0x138]
call qword [sym.imp.cpncfg.dll_class_QString___cdecl_CfgTransform::applicationName_class_QString_]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x200], rax
movzx eax, word [rsp + 0x14a]
mov word [rsp + 0x20], ax
xor r9d, r9d
mov r8, qword [rsp + 0x200]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x1e0]
call qword [sym.imp.Qt5Cored.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov qword [rsp + 0x208], rax
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.Qt5Cored.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x140]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x138]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x108]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, byte [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18000d190]
call fcn.18000122b
mov eax, edi
add rsp, 0x210
pop rdi
ret