Function at 0x401ece
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x1f4
mov dword [ebp - 0x58], 0x101
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x159]
mov dword [esp], eax
call sym._GetUserNameA_8
sub esp, 8
lea eax, [ebp - 0x52]
mov ecx, eax
call fcn.00404bd4
lea eax, [ebp - 0x174]
lea edx, [ebp - 0x52]
mov dword [esp + 4], edx
lea edx, [ebp - 0x159]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x52]
mov ecx, eax
call sym.std::allocator_char_::allocator__
mov dword [esp], 0
call sym._time
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x178]
mov dword [esp], eax
call sym._localtime
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x41020f
mov dword [esp + 4], 0x50
lea eax, [ebp - 0x1c8]
mov dword [esp], eax
call sym._strftime
lea eax, [ebp - 0x51]
mov ecx, eax
call fcn.00404bd4
lea eax, [ebp - 0x1e0]
lea edx, [ebp - 0x51]
mov dword [esp + 4], edx
lea edx, [ebp - 0x1c8]
mov dword [esp], edx
mov ecx, eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
sub esp, 8
lea eax, [ebp - 0x51]
mov ecx, eax
call sym.std::allocator_char_::allocator__
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x174]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x41021c
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x410226
lea edx, [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x1e0]
mov dword [esp + 8], edx
lea edx, [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std::allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov eax, dword [ebp + 8]
mov dword [esp + 8], str..wav
lea edx, [ebp - 0x50]
mov dword [esp + 4], edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea eax, [ebp - 0x50]
mov ecx, eax
call fcn.00404ad4
lea eax, [ebp - 0x38]
mov ecx, eax
call fcn.00404ad4
lea eax, [ebp - 0x20]
mov ecx, eax
call fcn.00404ad4
nop
lea eax, [ebp - 0x1e0]
mov ecx, eax
call fcn.00404ad4
lea eax, [ebp - 0x174]
mov ecx, eax
call fcn.00404ad4
jmp 0x4020c1
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret