Function at 0x1400e6de0
Capabilities:
Get session user name

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x420
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r14, qword [rsp + 0x470]
mov dword [rsp + 0x30], 0x80004001
lea r8, [rsp + 0x30]
lea rdx, str._Utils::SystemSchedulerXP::CreateTask_
lea rcx, [rsp + 0xe8]
call fcn.1400e5130
nop
mov rax, qword [rbx]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x38]
mov dword [rsp + 0x30], eax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov rax, qword [rbx]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [0x140234d38]
lea r8, [0x140234d58]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x40]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e6ea6
mov dword [rsp + 0x60], eax
lea rax, str.ITaskScheduler::NewWorkItem
mov qword [rsp + 0x68], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0x60]
call fcn.14012ccc0
nop
mov qword [rsp + 0x38], r15
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x140234d38]
call qword [rax]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e6eea
mov dword [rsp + 0x70], eax
lea rax, str.IUnknown::QueryInterface_ITask_
mov qword [rsp + 0x78], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0x70]
call fcn.14012ccc0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, qword [rdi]
call qword [rax + 0x100]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e6f2d
mov dword [rsp + 0x80], eax
lea rax, str.ITask::SetApplicationName
mov qword [rsp + 0x88], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0x80]
call fcn.14012ccc0
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x1400e6f7c
cmp word [rdx], 0
je 0x1400e6f7c
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x110]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e6f7c
mov dword [rsp + 0x90], eax
lea rax, str.ITask::SetParameters
mov qword [rsp + 0x98], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0x90]
call fcn.14012ccc0
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x1f0]
call fcn.1400e8100
nop
cmp qword [rsp + 0x200], 0
sete al
test al, al
jne 0x1400e6ff8
lea rdx, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 8
cmovae rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x120]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e6ff8
mov dword [rsp + 0xa0], eax
lea rax, str.ITask::SetWorkingDirectory
mov qword [rsp + 0xa8], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0xa0]
call fcn.14012ccc0
mov dword [rsp + 0x40], 0x200
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x210]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x210]
call qword [rax + 0xf0]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e705e
mov dword [rsp + 0xb0], eax
lea rax, str.ITask::SetAccountInformation
mov qword [rsp + 0xb8], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0xb0]
call fcn.14012ccc0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov edx, 0x2000
call qword [rax + 0xe0]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e70a3
mov dword [rsp + 0xc0], eax
lea rax, str.ITask::SetFlags
mov qword [rsp + 0xc8], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0xc0]
call fcn.14012ccc0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, str.Keeps_your_Speedbit_software_up_to_date._If_this_task_is_disabled_or_stopped__your_Speedbit_software_will_not_be_kept_up_to_date._This_task_uninstalls_itself_when_there_is_no_Speedbit_software_using_it.
call qword [rax + 0x90]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1400e70ea
mov dword [rsp + 0xd0], eax
lea rax, str.ITask::SetComment
mov qword [rsp + 0xd8], rax
lea rdx, [0x1402d5f30]
lea rcx, [rsp + 0xd0]
call fcn.14012ccc0
mov rax, qword [rsp + 0x38]
mov rcx, r15
mov qword [rsp + 0x38], rcx
mov qword [r14], rax
mov dword [rsp + 0x30], r15d
mov r8, qword [rsp + 0x208]
cmp r8, 8
jb 0x1400e712a
inc r8
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0x1f0]
call fcn.140007540
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x208], 7
mov qword [rsp + 0x200], r15
mov word [rsp + 0x1f0], r15w
test rcx, rcx
je 0x1400e7152
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], r15
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400e7168
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0xe8]
call fcn.1400e58f0
mov eax, ebx
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x420
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret