Function at 0x180af4f7
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xb4], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x9c], ebx
mov edi, ecx
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x20], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x20]
call fcn.180076af
cmp byte [ebp + 0x14], bl
je 0x180af6dc
mov dword [ebp - 0xc], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0xc]
call fcn.180076af
cmp byte [ebp + 0x10], bl
jne 0x180af5ff
mov eax, dword [ebp - 0xc]
mov esi, 0x101
xor edx, edx
mov dword [ebp - 0x98], esi
inc edx
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, esi
or edx, ecx
jge 0x180af598
push esi
lea ecx, [ebp - 0xc]
lfence
call fcn.1800773c
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x98]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.18009ed8
test esi, esi
jne 0x180af5c5
call fcn.1801bab5
mov ecx, dword [ebp - 0xc]
mov ebx, eax
jmp 0x180af915
push str.__UserId__n
lea eax, [ebp - 0xc]
push eax
push str._______UserId_
lea ecx, [ebp - 0xa8]
call fcn.180074fa
mov edx, eax
lea ecx, [ebp - 0xa4]
call fcn.1802af2e
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.18009ca1
pop ecx
push 0xe
pop ecx
jmp 0x180af612
push 0x18176bdc
lea ecx, [ebp - 0x9c]
call fcn.180074fa
xor ecx, ecx
inc ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1800a0da
push str.______LogonTrigger__n
mov edx, str._____LogonTrigger__n_______Enabled_true__Enabled__n
lea ecx, [ebp - 0x14]
lea esi, [eax + 0x10]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], esi
push eax
call fcn.18009c52
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.18009ca1
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.18009e8a
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [esi - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x10]
test al, 8
je 0x180af692
mov ecx, dword [ebp - 0xa0]
and eax, 0xfffffff7
mov dword [ebp - 0x10], eax
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x10]
test al, 4
je 0x180af6aa
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x10], eax
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x10]
test al, 2
je 0x180af6bf
mov ecx, dword [ebp - 0xa8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x10]
test al, 1
je 0x180af6d1
mov ecx, dword [ebp - 0x9c]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov dword [ebp - 0x14], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x14]
call fcn.180076af
cmp byte [ebp + 0x18], bl
je 0x180af708
mov esi, str._____Repetition__n_______Interval_PT1H__Interval__n_______Duration_P1D__Duration__n______Repetition__n
push esi
call fcn.1813b4f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.180075ed
mov dword [ebp - 0xc], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0xc]
call fcn.180076af
mov dword [ebp - 0x10], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x10]
call fcn.180076af
lea eax, [ebp - 0x94]
cmp byte [ebp + 0x10], bl
je 0x180af793
push 0x12
push 1
push 0x181a18c4
push eax
call fcn.1800a532
add esp, 0x10
lea ecx, [ebp - 0x94]
call fcn.1801773f
mov esi, eax
test esi, esi
jne 0x180af75c
mov eax, ebx
jmp 0x180af763
push esi
call fcn.1813b4f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc]
call fcn.180075ed
lea ecx, [ebp - 0x94]
call fcn.1800a61b
mov esi, str._RunLevel_HighestAvailable__RunLevel__n
push esi
call fcn.1813b4f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.180075ed
jmp 0x180af82f
push 0x60
push ebx
push eax
mov dword [ebp - 0x30], 0x181a1928
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.181374a0
add esp, 0xc
lea ecx, [ebp - 0x94]
call fcn.1800a4b4
push ebx
push 0x20008
lea ecx, [ebp - 0x30]
call fcn.1800bad8
push ecx
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x30]
call fcn.1801024b
lea ecx, [ebp - 0x94]
call fcn.1801773f
mov esi, eax
test esi, esi
jne 0x180af7ee
mov eax, ebx
jmp 0x180af7f5
push esi
call fcn.1813b4f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xc]
call fcn.180075ed
mov esi, str._LogonType_InteractiveToken__LogonType__n
push esi
call fcn.1813b4f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.180075ed
lea ecx, [ebp - 0x94]
call fcn.1800a61b
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0x181a1928
call fcn.1800bba0
mov dword [ebp - 0x18], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x18]
call fcn.180076af
cmp byte [ebp + 0x1c], bl
je 0x180af862
mov esi, str._____WnfStateChangeTrigger__n_______StateName_7510bca323028b41__StateName__n_______Data_01__Data__n_______DataOffset_0__DataOffset__n______WnfStateChangeTrigger__n
push esi
call fcn.1813b4f0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.180075ed
mov eax, 0x181c1f70
jmp 0x180af867
mov eax, 0x181c1590
push eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
call fcn.180074fa
mov dword [ebp - 0x1c], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x1c]
call fcn.180076af
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0x98]
push dword [eax]
mov eax, dword [ebp - 0xb0]
push dword [edi]
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push edi
push dword [ebp - 0x14]
push dword [eax]
mov eax, dword [ebp - 0xb4]
push dword [ebp - 0x20]
push dword [eax]
lea eax, [ebp - 0x1c]
push dword [0x181dc054]
push esi
push str.__xml_version_1.0__encoding_UTF_16____n_Task_version__s__n__xmlns_http:__schemas.microsoft.com_windows_2004_02_mit_task___n___RegistrationInfo__n_____Version__s__Version__n_____Description__s__Description__n____RegistrationInfo__n___Triggers__n_s_____CalendarTrigger__n_______StartBoundary__s__StartBoundary__n_s_______ScheduleByDay__n_________DaysInterval_1__DaysInterval__n________ScheduleByDay__n______CalendarTrigger__n_s____Triggers__n___Principals__n_____Principal__n_______UserId__s__UserId__n_______s_n______Principal__n____Principals__n___Settings__n_____MultipleInstancesPolicy_IgnoreNew__MultipleInstancesPolicy__n_____DisallowStartIfOnBatteries_false__DisallowStartIfOnBatteries__n_____StartWhenAvailable_true__StartWhenAvailable__n_____RunOnlyIfNetworkAvailable_false__RunOnlyIfNetworkAvailable__n_____Enabled_true__Enabled__n_____RunOnlyIfIdle_false__RunOnlyIfIdle__n_____WakeToRun_false__WakeToRun__n_____ExecutionTimeLimit_PT72H__ExecutionTimeLimit__n_____Priority_4__Priority__n____Settings__n___Actions__n_____Exec__n_______Command__s__Command__n_______Arguments__s__Arguments__n______Exec__n____Actions__n__Task__n
push eax
call fcn.18016b2d
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x1c]
add esp, 0x34
push eax
call fcn.18009e8a
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [esi - 0x10]
call fcn.18006f72
lea ecx, [edi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181227f8
leave
ret