Function at 0x100128f0
Capabilities:
Get session user name

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100368d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3fc
mov eax, dword [0x10055674]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x244], xmm0
mov dword [ebp - method.lirpc::RPCClient.virtual_0], vtable.lirpc::RPCClient.0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - method.lirpc::RPCTransfer.virtual_0], vtable.lirpc::RPCTransfer.0
mov dword [ebp - method.lirpc::RPCPipe.virtual_0], vtable.lirpc::RPCPipe.0
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x230], 1
mov dword [ebp - 0x22c], 0x40000
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0
call fcn.10015a40
test al, al
jne 0x100129b5
push str.fail_to_connect
push 0x100463e4
push 0x1b
jmp 0x10012ba7
push 0x202
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.1001c680
add esp, 0xc
mov dword [ebp - 0x224], 0x101
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x10012a1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.fail_to_GetUserNameW__LE_lu
push 0x100463e4
push 0x25
push str.lilib::lisps_request_auth_to_srv
push 0x28
call fcn.10011a70
add esp, 0x18
mov byte [ebp - 0x409], 0
jmp 0x10012be1
mov esi, dword [ebp - 0x238]
lea eax, [ebp - 0x324]
push 0xdc
push 0
push eax
call fcn.1001c680
add esp, 0xc
lea eax, [ebp - 0x408]
push 0xe0
push 0
push eax
call fcn.1001c680
mov eax, dword [0x100562c0]
add esp, 0xc
mov dword [ebp - 0x328], 0x20
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x31c], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x10012ab2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x31c]
push str.fail_to_ProcessIdToSessionId__pid_lu__LE_lu
push 0x100463e4
push 0x13
push str.lirpc::argbuf_init_header
push 0x28
call fcn.10011a70
add esp, 0x1c
lea eax, [ebp - 0x220]
mov ecx, 0x100562dc
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.10015ee0
test al, al
jne 0x10012aef
push esi
push str.__p__fail_to_build_win_login_id
push 0x100463e4
push 0x1a
push str.lirpc::RPCClient::proc_auth
push 0x28
call fcn.10011a70
add esp, 0x18
jmp 0x10012b9b
lea edx, [ebp - 0x328]
mov ecx, esi
call fcn.10015780
push dword [ebp - 0x22c]
lea eax, [ebp - 0x408]
push dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x328]
push eax
push ecx
lea ecx, [ebp - 0x244]
call fcn.10015b90
test al, al
jne 0x10012b44
push esi
push str.__p__fail_to_send_arg_buf
push 0x100463e4
push 0x23
push str.lirpc::RPCClient::proc_auth
push 0x28
call fcn.10011a70
add esp, 0x18
jmp 0x10012b9b
lea edx, [ebp - 0x408]
mov ecx, esi
call fcn.10015780
lea eax, [ebp - 0x409]
mov byte [ebp - 0x409], 0
push eax
lea eax, [ebp - 0x408]
mov ecx, 0x100562e8
push eax
call fcn.10015fb0
test al, al
jne 0x10012b92
push esi
push str.__p__fail_to_parse_ret_val
push 0x100463e4
push 0x2d
push str.lirpc::RPCClient::proc_auth
push 0x28
call fcn.10011a70
add esp, 0x18
jmp 0x10012b9b
cmp byte [ebp - 0x409], 0
jne 0x10012bbf
push str.fail_to_proc_auth___
push 0x100463e4
push 0x2b
push str.lilib::lisps_request_auth_to_srv
push 0x28
call fcn.10011a70
add esp, 0x14
mov byte [ebp - 0x409], 0
jmp 0x10012be1
push str.succeed_to_lisps_auth_proc__
push 0x1004754c
push 0x2f
push str.lilib::lisps_request_auth_to_srv
push 0x14
call fcn.10011b70
add esp, 0x14
mov byte [ebp - 0x409], 1
lea ecx, [ebp - 0x244]
call fcn.10015960
mov al, byte [ebp - 0x409]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001a6c7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret