Function at 0x14012ec00
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14058f6b8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx], rbx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], rbx
call fcn.14007d020
nop
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14012ee43
mov dword [rsp + 0x38], 0x101
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
nop
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea rcx, [rbp - 0x78]
call fcn.14007d020
nop
mov ebx, 4
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x50]
call fcn.140128330
lea rax, [rbp - 0x78]
cmp rdi, rax
je 0x14012ece0
mov rcx, rdi
call fcn.14007cfc0
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rdi + 0x10], xmm1
lea rcx, [rbp - 0x78]
call fcn.14007d020
nop
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x78]
call fcn.14007cfc0
nop
mov dword [rsp + 0x50], 2
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.1401166d0
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012ed2c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozc_base_system_util.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x234
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea r14, [0x1404d34b0]
mov rdx, r14
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_31m]
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, str.LOG_
call fcn.14010ea90
mov rdx, qword [str.ERROR]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x140519184]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r14
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.OpenProcessToken_failed:
call fcn.14010ea90
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14010b1e0
mov rbx, rax
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x68]
call fcn.14007cfc0
nop
mov rdx, rbx
call fcn.140126770
jmp 0x14012f2b7
mov dword [rsp + 0x34], ebx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [rsp + 0x34]
call fcn.1403987c8
mov rsi, rax
mov qword [rsp + 0x50], rax
mov r9d, dword [rsp + 0x34]
test r9d, r9d
je 0x14012f0c4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov edx, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14012f0c4
lea rdx, [rsp + 0x48]
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
jne 0x14012f09c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x38], 0x101
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
nop
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea rcx, [rsp + 0x68]
call fcn.14007d020
nop
mov ebx, 0x100
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140128330
lea rax, [rsp + 0x68]
cmp rdi, rax
je 0x14012ef41
mov rcx, rdi
call fcn.14007cfc0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
lea rcx, [rsp + 0x68]
call fcn.14007d020
btr ebx, 8
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x68]
call fcn.14007cfc0
nop
mov dword [rbp - 0x78], 2
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.1401166d0
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012ef8e
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozc_base_system_util.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x249
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea r14, [0x1404d34b0]
mov rdx, r14
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_31m]
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, str.LOG_
call fcn.14010ea90
mov rdx, qword [str.ERROR]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x140519184]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r14
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.ConvertSidToStringSidW_failed:
call fcn.14010ea90
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14010b1e0
mov rbx, rax
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x68]
call fcn.14007cfc0
nop
jmp 0x14012f2a5
mov rdx, rdi
mov rcx, qword [rsp + 0x48]
call fcn.140128330
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14012f2ae
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x38], 0x101
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
nop
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea rcx, [rsp + 0x68]
call fcn.14007d020
nop
mov ebx, 0x20
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140128330
lea rax, [rsp + 0x68]
cmp rdi, rax
je 0x14012f150
mov rcx, rdi
call fcn.14007cfc0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rdi + 0x10], xmm1
lea rcx, [rsp + 0x68]
call fcn.14007d020
nop word [rax + rax]
and ebx, 0xffffffdf
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x68]
call fcn.14007cfc0
nop
mov dword [rbp - 0x78], 2
mov ecx, 0xe8
call fcn.1403982c8
mov qword [rsp + 0x38], rax
mov rcx, rax
call fcn.1401166d0
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140126190
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14012f19c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.14010fc80
lea rdx, [0x14051417c]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, str.C:codeWeChatPinYinwxkb01_mozc_base_system_util.cc
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051917c]
call fcn.14010ea90
mov edx, 0x241
mov rcx, rax
call fcn.14010b3a0
mov rcx, rax
lea rdx, [0x140528ca4]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea r14, [0x1404d34b0]
mov rdx, r14
cmp byte [rax + 0xc], 0
cmovne rdx, qword [str.e_31m]
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, str.LOG_
call fcn.14010ea90
mov rdx, qword [str.ERROR]
mov rcx, rax
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x140519184]
call fcn.14010ea90
mov rbx, rax
call fcn.140126a50
lea rdx, str.e_0m
cmp byte [rax + 0xc], 0
cmove rdx, r14
mov rcx, rbx
call fcn.14010ea90
mov rcx, rax
lea rdx, [0x14051417c]
call fcn.14010ea90
mov rcx, rax
lea rdx, str.OpenTokenInformation_failed:
call fcn.14010ea90
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14010b1e0
mov rbx, rax
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x68]
call fcn.14007cfc0
nop
mov rdx, rbx
call fcn.140126770
nop
mov rcx, rsi
call fcn.140398020
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140398000
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret