Function at 0x14007f180
Capabilities:
Get session user name

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x440
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r12, qword [rsp + 0x490]
mov dword [rsp + 0x30], 0x80004001
lea rdx, str._Utils::SystemSchedulerXP::CreateTask_
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
cmp qword [0x140260548], 0
je 0x14007f1f1
lea rcx, [rsp + 0x60]
call fcn.14007ed30
nop
mov rax, qword [rbx]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x38]
mov dword [rsp + 0x30], eax
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov rax, qword [rbx]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [0x1401d3df8]
lea r8, [0x1401d3e18]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x40]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14007f268
mov dword [rsp + 0x40], eax
lea rax, str.ITaskScheduler::NewWorkItem
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xa0], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0xa0]
call sub.MSVCR90.dll__CxxThrowException
nop
mov qword [rsp + 0x38], r13
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x1401d3df8]
call qword [rax]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14007f2bd
mov dword [rsp + 0x40], eax
lea rax, str.IUnknown::QueryInterface_ITask_
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x80], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0x80]
call sub.MSVCR90.dll__CxxThrowException
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 0x14007f308
mov dword [rsp + 0x40], eax
lea rax, str.ITask::SetApplicationName
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0xc0]
call sub.MSVCR90.dll__CxxThrowException
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14007f35f
cmp word [rdx], 0
je 0x14007f35f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14007f35f
mov dword [rsp + 0x40], eax
lea rax, str.ITask::SetParameters
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x100], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0x100]
call sub.MSVCR90.dll__CxxThrowException
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x200]
call fcn.14007efe0
nop
cmp qword [rsp + 0x218], 0
je 0x14007f3de
lea rdx, [rsp + 0x208]
cmp qword [rsp + 0x220], 8
cmovae rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x120]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14007f3de
mov dword [rsp + 0x40], eax
lea rax, str.ITask::SetWorkingDirectory
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xe0], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0xe0]
call sub.MSVCR90.dll__CxxThrowException
mov dword [rsp + 0x58], 0x200
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x230]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x230]
call qword [rax + 0xf0]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14007f44c
mov dword [rsp + 0x40], eax
lea rax, str.ITask::SetAccountInformation
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x90], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0x90]
call sub.MSVCR90.dll__CxxThrowException
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 0x14007f499
mov dword [rsp + 0x40], eax
lea rax, str.ITask::SetFlags
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xb0], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0xb0]
call sub.MSVCR90.dll__CxxThrowException
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 0x14007f4e8
mov dword [rsp + 0x40], eax
lea rax, str.ITask::SetComment
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xd0], xmm0
lea rdx, [0x1402523a8]
lea rcx, [rsp + 0xd0]
call sub.MSVCR90.dll__CxxThrowException
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], r13
mov qword [r12], rax
mov dword [rsp + 0x30], r13d
lea rcx, [rsp + 0x200]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14007f51a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007f52f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r13
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14007ee60
mov eax, ebx
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140155650
add rsp, 0x440
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret