Function at 0x180001ac0
Capabilities:
Delete user account

Disassembly:
jmp 0x180001ac0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rdi, [rsp + 0x30]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x110]
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
mov edx, 1
lea rcx, [0x18000cb88]
call fcn.180002ac0
movzx eax, al
test eax, eax
je 0x180001b7e
mov qword [rsp + 0x68], 0
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x180001b74
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USERENV.dll_DeleteProfileW]
test eax, eax
je 0x180001b69
lea rdx, [0x18000cb88]
xor ecx, ecx
call sub.NETAPI32.dll_NetUserDel
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x180001b64
cmp dword [rsp + 0x74], 0x8ad
jne 0x180001b69
mov byte [rsp + 0x30], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call fcn.1800029b0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x180001cf9
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, str.An_error_occurred_while_deleting_the__1_user
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 + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], 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, [0x18000ce68]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.Qt5Cored.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.cpncfg.dll_class_QString___cdecl_CfgTransform::applicationName_class_QString_]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
movzx eax, word [rsp + 0xba]
mov word [rsp + 0x20], ax
xor r9d, r9d
mov r8, qword [rsp + 0xf0]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.Qt5Cored.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x110]
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]
movzx eax, byte [rsp + 0x30]
mov edi, eax
mov rcx, rsp
lea rdx, [0x18000d230]
call fcn.18000122b
mov eax, edi
add rsp, 0x100
pop rdi
ret