Function at 0x18004a650
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x240
movaps xmmword [rax - 0x48], xmm6
xorps xmm1, xmm1
movaps xmmword [rax - 0x58], xmm7
mov ecx, 3
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
xorps xmm9, xmm9
call fcn.1800577c0
mov rbx, qword [0x180296cd0]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 2
movss xmm1, dword [rbx + 0x37e8]
lea rcx, [rbx + 0x4028]
movss xmm0, dword [rbx + 0x37ec]
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x58], xmm0
call fcn.18006bed0
xor r12d, r12d
xorps xmm1, xmm1
mov qword [rbx + 0x37e8], r12
lea ecx, [r12 + 4]
call fcn.1800577c0
xorps xmm1, xmm1
lea ecx, [r12 + 3]
call fcn.1800577c0
mov rbx, qword [0x180296cd0]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 2
movss xmm1, dword [rbx + 0x37e8]
lea rcx, [rbx + 0x4028]
movss xmm0, dword [rbx + 0x37ec]
movss dword [rsp + 0x54], xmm1
movss dword [rsp + 0x58], xmm0
call fcn.18006bed0
xorps xmm1, xmm1
mov qword [rbx + 0x37e8], r12
lea ecx, [r12 + 4]
call fcn.1800577c0
mov rcx, qword [0x180296cd0]
movaps xmm0, xmmword [0x1801242a0]
movups xmmword [rsp + 0x50], xmm0
mov rax, qword [rcx + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea0]
lea rcx, [rsp + 0x50]
movss xmm1, dword [0x180294df8]
movss xmm0, dword [0x180294dfc]
movsd xmm8, qword [rax + 0x18]
mov rdi, qword [rax + 0x288]
addss xmm1, xmm8
movsd qword [rbp + 0x188], xmm8
movss xmm7, dword [rbp + 0x18c]
addss xmm0, xmm7
movss dword [rbp + 0x190], xmm1
movss dword [rbp + 0x194], xmm0
call fcn.180056f70
mov r9d, eax
mov dword [rsp + 0x28], r12d
lea rdx, [rbp + 0x188]
movss dword [rsp + 0x20], xmm9
lea r8, [rbp + 0x190]
mov rcx, rdi
call fcn.1800703c0
movaps xmm0, xmmword [0x1801242a0]
lea rcx, [rsp + 0x50]
movss xmm1, dword [0x180294df8]
movaps xmm6, xmm8
addss xmm6, dword [0x180123cfc]
movups xmmword [rsp + 0x50], xmm0
movss xmm0, dword [0x180294dfc]
addss xmm1, xmm8
addss xmm0, xmm7
movss dword [rbp + 0x19c], xmm7
movss dword [rbp + 0x198], xmm6
movss dword [rbp + 0x190], xmm1
movss dword [rbp + 0x194], xmm0
call fcn.180056f70
mov dword [rsp + 0x28], r12d
lea r8, [rbp + 0x190]
movss dword [rsp + 0x20], xmm9
mov r9d, eax
lea rdx, [rbp + 0x198]
mov rcx, rdi
call fcn.1800703c0
movaps xmm0, xmmword [0x1801242a0]
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movss xmm0, dword [0x180294dfc]
movaps xmm1, xmm8
addss xmm1, dword [0x180123d00]
addss xmm0, xmm7
movss dword [rbp + 0x198], xmm6
movss dword [rbp + 0x19c], xmm7
movss dword [rbp + 0x190], xmm1
movss dword [rbp + 0x194], xmm0
call fcn.180056f70
mov r9d, eax
mov dword [rsp + 0x28], r12d
lea rdx, [rbp + 0x198]
movss dword [rsp + 0x20], xmm9
lea r8, [rbp + 0x190]
mov rcx, rdi
call fcn.1800703c0
movss xmm1, dword [0x180294dfc]
lea rcx, [rsp + 0x50]
movaps xmm0, xmmword [0x1801242a0]
addss xmm1, xmm7
movups xmmword [rsp + 0x50], xmm0
movss dword [rbp + 0x190], xmm6
movss dword [rbp + 0x198], xmm8
movaps xmm0, xmm1
subss xmm0, dword [0x180123c64]
subss xmm1, dword [0x180123c6c]
movss dword [rbp + 0x194], xmm0
movss dword [rbp + 0x19c], xmm1
call fcn.180056f70
mov r9d, eax
mov dword [rsp + 0x28], r12d
lea rdx, [rbp + 0x198]
movss dword [rsp + 0x20], xmm9
lea r8, [rbp + 0x190]
mov rcx, rdi
call fcn.1800703c0
lea ecx, [r12 + 1]
call fcn.180057840
movss xmm6, dword [0x180123bec]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x30], r12
movabs r15, 0xd1a66df72bd299e9
mov qword [rbp + 0x190], r15
movabs r14, 0x1a7911437ad82072
mov rax, qword [rbp + 0x190]
movabs rsi, 0xb4c2439245bdf5bf
mov qword [rbp - 0x70], rax
movabs rbx, 0x1a7911437ad82004
mov qword [rbp + 0x190], r14
movaps xmm2, xmm6
mov rax, qword [rbp + 0x190]
mov qword [rbp - 0x68], rax
mov qword [rbp + 0x190], rsi
mov rax, qword [rbp + 0x190]
mov qword [rbp - 0x30], rax
mov qword [rbp + 0x190], rbx
mov rax, qword [rbp + 0x190]
movdqa xmm0, xmmword [rbp - 0x70]
mov rcx, qword [0x180296a40]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x70]
pxor xmm0, xmmword [rbp - 0x30]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm9
movdqa xmmword [rbp - 0x70], xmm0
call fcn.1800730c0
mov qword [rbp + 0x190], r15
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x190], r14
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x190], rsi
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x190], rbx
lea rcx, [rsp + 0x70]
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x1801244a0]
movups xmmword [rsp + 0x70], xmm0
call fcn.180056f70
movss xmm0, dword [rbp + 0x188]
mov r8d, eax
movss xmm1, dword [0x180123cc8]
lea rbx, [r12 - 1]
mov rcx, qword [0x180296a40]
addss xmm0, dword [0x180123dc8]
subss xmm1, dword [rbp - 0x40]
mulss xmm1, dword [0x1801236b4]
addss xmm1, xmm0
movss xmm0, dword [rbp + 0x18c]
addss xmm0, dword [0x180123bd4]
movss dword [rbp - 0x80], xmm1
movss dword [rbp - 0x7c], xmm0
test eax, 0xff000000
je 0x18004ab4d
lea rdx, [rsp + 0x60]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rdx + rax], r12b
jne 0x18004aae0
lea rdx, [rsp + 0x60]
add rdx, rax
lea rax, [rsp + 0x60]
cmp rax, rdx
je 0x18004ab4d
test rcx, rcx
jne 0x18004ab08
mov rax, qword [rdi + 0x38]
mov rcx, qword [rax + 8]
movups xmm0, xmmword [rdi + 0x88]
mov byte [rsp + 0x48], r12b
lea rax, [rsp + 0x60]
movss dword [rsp + 0x40], xmm9
lea r9, [rbp - 0x80]
mov qword [rsp + 0x38], rdx
movaps xmm2, xmm6
mov qword [rsp + 0x30], rax
mov rdx, rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
movups xmmword [rsp + 0x70], xmm0
call fcn.1800732f0
lea rdx, [rbp + 0x180]
mov dword [rbp + 0x180], 0x101
lea rcx, [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rbp - 0x10]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0xf
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r12b
jne 0x18004ab80
mov r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x60]
call fcn.180051810
cmp qword [rbp - 0x48], 0x10
lea rax, [rbp - 0x60]
movss xmm2, dword [0x180123be0]
lea rdx, [rbp - 0x20]
cmovae rax, qword [rbp - 0x60]
mov rcx, qword [0x180296a60]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm9
call fcn.1800730c0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18004ac0e
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004ac09
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004ac09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f8c40
lea r11, [rsp + 0x240]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret