Function at 0x1400c845c
Capabilities:
List user accounts

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
mov r13, r9
mov rdi, rdx
mov r15, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov edx, 0x678
mov r8d, 0xf0
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, rdi
test rax, rax
je 0x1400c8509
mov edx, 0x672
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea edx, [rbx + 1]
call qword [sym.imp.USER32.dll_EnableWindow]
mov esi, 0x674
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
lea edx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
lea edx, [rsi - 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
jmp 0x1400c87a5
mov edx, 0x673
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov esi, 0x674
mov r8d, 0x146
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
test rax, rax
jne 0x1400c8760
mov dword [rbp - 0x21], ebx
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x1d], ebx
mov qword [rbp - 0x11], rbx
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
lea r9, [rbp - 0x11]
mov edx, 3
xor ecx, ecx
lea r8d, [rdx - 1]
call sub.NETAPI32.dll_NetUserEnum
test eax, eax
jne 0x1400c8743
lea rcx, [rbp + 0x17]
call fcn.140120d54
nop
lea rcx, [rbp + 7]
call fcn.140120d54
nop
lea rcx, [rbp - 9]
call fcn.140120d54
nop
mov r14d, ebx
cmp dword [rbp - 0x21], ebx
jbe 0x1400c86b0
xor r13d, r13d
mov eax, r14d
imul rbx, rax, 0xb8
mov rax, qword [rbp - 0x11]
test byte [rbx + rax + 0x28], 2
jne 0x1400c869f
mov rax, qword [rbx + rax]
test rax, rax
je 0x1400c869f
cmp word [rax], r13w
je 0x1400c869f
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x143
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rax, qword [rbp - 0x11]
cmp dword [rbx + rax + 0x14], 2
jne 0x1400c8660
lea rcx, [rbp + 0x17]
call fcn.140120ef0
test al, al
jne 0x1400c8637
mov rdx, qword [rbp - 0x11]
cmp dword [rbx + rdx + 0x98], 0x1f4
jne 0x1400c8637
lea rcx, [rbp + 0x17]
jmp 0x1400c8692
lea rcx, [rbp + 7]
call fcn.140120ef0
test al, al
jne 0x1400c869f
lea rcx, [r15 + 0x70]
mov rdx, qword [rbp - 0x11]
mov rdx, qword [rbx + rdx]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400c869f
lea rcx, [rbp + 7]
jmp 0x1400c868e
lea rcx, [rbp - 9]
call fcn.140120ef0
test al, al
jne 0x1400c869f
mov rdx, qword [rbp - 0x11]
cmp dword [rbx + rdx + 0x14], 1
jne 0x1400c869f
lea rcx, [r15 + 0x70]
mov rdx, qword [rbx + rdx]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400c869f
lea rcx, [rbp - 9]
mov rdx, qword [rbp - 0x11]
or r8, 0xffffffffffffffff
mov rdx, qword [rbx + rdx]
call fcn.140121718
inc r14d
cmp r14d, dword [rbp - 0x21]
jb 0x1400c85bf
mov r13, qword [rbp + 0x77]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x1400c871a
lea rcx, [rbp + 0x17]
call fcn.140120ef0
test al, al
je 0x1400c86db
lea rcx, [rbp + 0x17]
jmp 0x1400c86ff
lea rcx, [rbp + 7]
call fcn.140120ef0
test al, al
je 0x1400c86ee
lea rcx, [rbp + 7]
jmp 0x1400c86ff
lea rcx, [rbp - 9]
call fcn.140120ef0
test al, al
je 0x1400c8708
lea rcx, [rbp - 9]
xor edx, edx
call fcn.140121ccc
jmp 0x1400c870c
lea rax, [r15 + 0x70]
mov r8, rax
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rbp - 0x11]
call sub.NETAPI32.dll_NetApiBufferFree
nop
lea rcx, [rbp - 9]
call fcn.140120ddc
nop
lea rcx, [rbp + 7]
call fcn.140120ddc
nop
lea rcx, [rbp + 0x17]
call fcn.140120ddc
jmp 0x1400c8760
lea rax, [r15 + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x143
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x672
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x675
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
cmp r13, 0x679
jne 0x1400c87cb
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret