Function at 0x140004500
Capabilities:
Get user security identifier
List user accounts
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x7d0
mov qword [rsp + 0x260], 0xfffffffffffffffe
mov rax, qword [0x140051080]
xor rax, rsp
mov qword [rsp + 0x7c0], rax
lea rax, [rsp + 0x5b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x5b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400045b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x2e0]
call fcn.140003c40
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.1400081b0
mov rdx, rax
lea rcx, str.GetModuleFileName_failed__err:__s
call fcn.140003ac0
nop
lea rcx, [rsp + 0x2e0]
call fcn.1400082c0
jmp 0x14000511e
mov dx, 0x5c
lea rcx, [rsp + 0x5b0]
call fcn.140001410
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
je 0x1400045e6
xor eax, eax
mov rcx, qword [rsp + 0xf0]
mov word [rcx], ax
lea rax, [rsp + 0x3a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea r8, [rsp + 0x5b0]
mov edx, 0x104
lea rcx, [rsp + 0x3a0]
call fcn.14001fe24
lea r8, str.Config.ini
mov edx, 0x104
lea rcx, [rsp + 0x3a0]
call fcn.14001fe8c
lea rcx, [rsp + 0x60]
call fcn.1400018f0
mov r8, rax
mov edx, 0x8000
lea rcx, [rsp + 0xd8]
call fcn.140007ff0
nop
lea rcx, [rsp + 0xd8]
call fcn.140007f80
mov qword [rsp + 0x1f8], rax
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140007f50
lea r9, [rsp + 0x3a0]
mov rcx, qword [rsp + 0x1f8]
mov r8d, ecx
mov rdx, rax
lea rcx, str.Groups
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140007f50
mov qword [rsp + 0x40], rax
jmp 0x1400046f9
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x90], 0xffffffffffffffff
inc qword [rsp + 0x90]
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x90]
cmp word [rax + rcx*2], 0
jne 0x1400046c3
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
test eax, eax
je 0x1400047ea
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
inc qword [rsp + 0x98]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x98]
cmp word [rax + rcx*2], 0
jne 0x140004722
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x100], rax
mov dx, 0x3d
mov rcx, qword [rsp + 0x40]
call fcn.1400013e0
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x140004790
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x100], rax
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x300]
call fcn.1400083d0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x7e0]
call fcn.140007c60
nop
lea rcx, [rsp + 0x300]
call fcn.1400082c0
jmp 0x1400046aa
lea rcx, [rsp + 0xd8]
call fcn.140007f80
mov qword [rsp + 0x148], rax
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140007f50
mov rdi, rax
xor eax, eax
mov rcx, qword [rsp + 0x148]
rep stosb byte [rdi], al
lea rcx, [rsp + 0xd8]
call fcn.140007f80
mov qword [rsp + 0x150], rax
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140007f50
lea r9, [rsp + 0x3a0]
mov rcx, qword [rsp + 0x150]
mov r8d, ecx
mov rdx, rax
lea rcx, str.Users
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea rcx, [rsp + 0xc8]
call fcn.1400078e0
nop
xor edx, edx
lea rcx, [rsp + 0xd8]
call fcn.140007f50
mov qword [rsp + 0x58], rax
jmp 0x1400048d7
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0xa0], 0xffffffffffffffff
inc qword [rsp + 0xa0]
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0xa0]
cmp word [rax + rcx*2], 0
jne 0x1400048a1
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
test eax, eax
je 0x140004a70
mov dword [rsp + 0x6c], 1
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x88]
cmp word [rax + rcx*2], 0
jne 0x140004908
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x108], rax
mov dx, 0x3d
mov rcx, qword [rsp + 0x58]
call fcn.1400013e0
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
je 0x14000498e
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xb8]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0xb8]
add rax, 2
mov rcx, rax
call fcn.14001fdf8
mov dword [rsp + 0x6c], eax
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x2a0]
call fcn.1400083d0
nop
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x2a0]
call fcn.140008250
mov qword [rsp + 0x168], rax
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x2a0]
call fcn.1400081e0
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x2a0]
call fcn.140008250
lea rcx, [0x1400208ac]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x168]
mov r9, qword [rcx]
mov rcx, qword [rsp + 0x170]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x218]
call fcn.140010390
cmp dword [rsp + 0x6c], 0
je 0x140004a3b
mov dword [rsp + 0x70], 1
jmp 0x140004a43
mov dword [rsp + 0x70], 0
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0xc8]
call fcn.1400078a0
mov ecx, dword [rsp + 0x70]
mov dword [rax], ecx
lea rcx, [rsp + 0x2a0]
call fcn.1400082c0
jmp 0x140004888
lea rcx, [rsp + 0x48]
call fcn.1400076a0
lea r9, [rsp + 0x3a0]
mov r8d, 1
lea rdx, str.EnumUser
lea rcx, str.Config
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
jne 0x140004ab2
jmp 0x140004d1c
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xa8], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
lea r9, [rsp + 0x80]
mov r8d, 2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserEnum]
test eax, eax
je 0x140004b80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x320]
call fcn.140003c40
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.1400081b0
mov rdx, rax
lea rcx, str.NetUserEnum_failed__err___s
call fcn.140003ac0
nop
lea rcx, [rsp + 0x320]
call fcn.1400082c0
jmp 0x140004d1c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x64], 0
jmp 0x140004bb8
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0xc0]
add rax, 8
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x64], eax
jae 0x140004ced
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x280]
call fcn.140008380
nop
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x280]
call fcn.140008250
mov qword [rsp + 0x188], rax
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x280]
call fcn.1400081e0
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x280]
call fcn.140008250
lea rcx, [0x1400208ac]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x188]
mov r9, qword [rcx]
mov rcx, qword [rsp + 0x190]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x238]
call fcn.140010390
lea r8, [rsp + 0x280]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0xc8]
call fcn.1400076c0
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0xc8]
call fcn.1400077a0
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140007620
movzx eax, al
test eax, eax
je 0x140004cc0
lea rcx, [rsp + 0x280]
call fcn.1400082c0
jmp 0x140004b9a
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0xc8]
call fcn.1400078a0
mov dword [rax], 1
lea rcx, [rsp + 0x280]
call fcn.1400082c0
jmp 0x140004b9a
cmp qword [rsp + 0x80], 0
je 0x140004d12
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov qword [rsp + 0x80], 0
xor eax, eax
test eax, eax
jne 0x140004a7a
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xc8]
call fcn.140007800
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x140004d45
lea rcx, [rsp + 0x48]
call fcn.140007660
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0xc8]
call fcn.1400077a0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140007620
movzx eax, al
test eax, eax
je 0x1400050f9
lea rcx, [rsp + 0x48]
call fcn.140007680
cmp dword [rax + 0x20], 0
jne 0x140004d84
jmp 0x140004d3b
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
call fcn.140007680
mov rcx, rax
call fcn.1400081b0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
cmp dword [rsp + 0x50], 0
ja 0x140004e6a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x340]
call fcn.140003c40
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov rcx, qword [rsp + 0x1a0]
call fcn.1400081b0
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x48]
call fcn.140007680
mov rcx, rax
call fcn.1400081b0
mov rcx, qword [rsp + 0x1a8]
mov r8, rcx
mov rdx, rax
lea rcx, str.LookupAccountName__s__failed__err___s
call fcn.140003ac0
nop
lea rcx, [rsp + 0x340]
call fcn.1400082c0
jmp 0x140004d3b
lea rcx, [rsp + 0x61]
call fcn.1400018f0
mov ecx, dword [rsp + 0x50]
mov r8, rax
mov edx, ecx
lea rcx, [rsp + 0x110]
call fcn.140007a30
nop
lea rcx, [rsp + 0x62]
call fcn.1400018f0
mov ecx, dword [rsp + 0x68]
mov r8, rax
mov edx, ecx
lea rcx, [rsp + 0x200]
call fcn.140007ff0
nop
xor edx, edx
lea rcx, [rsp + 0x200]
call fcn.140007f50
mov qword [rsp + 0x1b0], rax
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.140007960
mov qword [rsp + 0x1b8], rax
lea rcx, [rsp + 0x48]
call fcn.140007680
mov rcx, rax
call fcn.1400081b0
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x1b0]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
mov rcx, qword [rsp + 0x1b8]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x140004fcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x360]
call fcn.140003c40
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rcx, qword [rsp + 0x1c8]
call fcn.1400081b0
mov qword [rsp + 0x1d0], rax
lea rcx, [rsp + 0x48]
call fcn.140007680
mov rcx, rax
call fcn.1400081b0
mov rcx, qword [rsp + 0x1d0]
mov r8, rcx
mov rdx, rax
lea rcx, str.LookupAccountName__s__failed__err___s
call fcn.140003ac0
nop
lea rcx, [rsp + 0x360]
call fcn.1400082c0
nop
lea rcx, [rsp + 0x200]
call fcn.140007fc0
nop
lea rcx, [rsp + 0x110]
call fcn.140007a00
jmp 0x140004d3b
mov qword [rsp + 0x40], 0
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.140007960
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
jne 0x14000506f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x380]
call fcn.140003c40
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.1400081b0
mov rdx, rax
lea rcx, str.ConvertSidToStringSid_failed__err___s
call fcn.140003ac0
nop
lea rcx, [rsp + 0x380]
call fcn.1400082c0
nop
lea rcx, [rsp + 0x200]
call fcn.140007fc0
nop
lea rcx, [rsp + 0x110]
call fcn.140007a00
jmp 0x140004d3b
cmp qword [rsp + 0x40], 0
jne 0x140005097
lea rcx, [rsp + 0x200]
call fcn.140007fc0
nop
lea rcx, [rsp + 0x110]
call fcn.140007a00
jmp 0x140004d3b
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x2c0]
call fcn.140008380
nop
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x7e0]
call fcn.140007c60
nop
lea rcx, [rsp + 0x2c0]
call fcn.1400082c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x200]
call fcn.140007fc0
nop
lea rcx, [rsp + 0x110]
call fcn.140007a00
jmp 0x140004d3b
lea rcx, [rsp + 0xc8]
call fcn.1400073c0
nop
lea rcx, [rsp + 0xd8]
call fcn.140007fc0
xor eax, eax
test eax, eax
jne 0x14000452b
mov rcx, qword [rsp + 0x7c0]
xor rcx, rsp
call fcn.140017790
add rsp, 0x7d0
pop rdi
ret