Function at 0x100132f0
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 0x100369a6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x680
mov eax, dword [0x10055674]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x688], xmm0
mov dword [ebp - method.lirpc::RPCClient.virtual_0], vtable.lirpc::RPCClient.0
movups xmmword [ebp - 0x678], 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 - 0x67c], 0xffffffff
mov dword [ebp - 0x678], 0
mov byte [ebp - 0x674], 1
mov dword [ebp - 0x670], 0x40000
mov dword [ebp - 0x66c], 0
lea ecx, [ebp - 0x688]
mov dword [ebp - 4], 0
call fcn.10015a40
test al, al
jne 0x100133ca
push str.fail_to_connect
push 0x100463e4
push 0x13
push str.lilib::lisps_set_except_wm
push 0x28
call fcn.10011a70
add esp, 0x14
mov byte [ebp - 0x689], 0
jmp 0x100136ed
push 0x202
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.1001c680
add esp, 0xc
mov dword [ebp - 0x668], 0x101
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x10013430
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.fail_to_GetUserNameW__LE_lu
push 0x100463e4
push 0x1d
push str.lilib::lisps_set_except_wm
push 0x28
call fcn.10011a70
add esp, 0x18
mov byte [ebp - 0x689], 0
jmp 0x100136ed
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.1001c680
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push 0
push eax
call fcn.1001c680
add esp, 0xc
mov dword [ebp - 0x634], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x634]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
push dword [ebp - 0x634]
lea eax, [ebp - 0x220]
push str.EXWM_U__lu
push 0xffffffffffffffff
push 0x104
push eax
call fcn.10010280
add esp, 0x14
lea eax, [ebp - 0x630]
push eax
push str.EXWM_S__s
push 0xffffffffffffffff
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.10010280
xor eax, eax
mov dword [ebp - 0x64c], 0
add esp, 0x14
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 7
mov word [ebp - 0x64c], ax
mov dword [ebp - 0x664], eax
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x650], 7
mov word [ebp - 0x664], ax
lea eax, [ebp - 0x64c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x688]
call fcn.10016810
cmp dword [ebp - 0x638], 8
lea eax, [ebp - 0x64c]
cmovae eax, dword [ebp - 0x64c]
push eax
lea eax, [ebp - 0x220]
push eax
push str.get_user_key___s___s
push 0x10047574
push 0x2f
push str.lilib::lisps_set_except_wm
push 0xa
call fcn.10011b70
add esp, 0x1c
lea ecx, [ebp - 0x64c]
push 0x10047a28
call fcn.10013b50
test al, al
je 0x100135d9
push 4
push ecx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x688]
call fcn.10016090
lea eax, [ebp - 0x428]
push eax
push 0x10047a2c
push 0x10047574
push 0x34
push str.lilib::lisps_set_except_wm
push 0xa
call fcn.10011b70
add esp, 0x18
lea eax, [ebp - 0x664]
lea ecx, [ebp - 0x688]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10016770
cmp dword [ebp - 0x650], 8
lea eax, [ebp - 0x664]
mov ecx, 0x37
mov edx, str.pop_user_key___s___s
cmovae eax, dword [ebp - 0x664]
jmp 0x100135f7
cmp dword [ebp - 0x638], 8
lea eax, [ebp - 0x64c]
mov ecx, 0x3b
mov edx, str.get_NONE__s___s
cmovae eax, dword [ebp - 0x64c]
push eax
lea eax, [ebp - 0x220]
push eax
push edx
push 0x10047574
push ecx
push str.lilib::lisps_set_except_wm
push 0xa
call fcn.10011b70
add esp, 0x1c
push str.succeed_to_lisps_set_except_wm__
push 0x10047574
push 0x3e
push str.lilib::lisps_set_except_wm
push 0xa
call fcn.10011b70
mov edx, dword [ebp - 0x650]
add esp, 0x14
mov byte [ebp - 0x689], 1
cmp edx, 8
jb 0x10013677
mov ecx, dword [ebp - 0x664]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001366d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001371a
push edx
push ecx
call fcn.1001aa24
add esp, 8
mov edx, dword [ebp - 0x638]
xor eax, eax
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 7
mov word [ebp - 0x664], ax
cmp edx, 8
jb 0x100136d0
mov ecx, dword [ebp - 0x64c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100136c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001371a
push edx
push ecx
call fcn.1001aa24
add esp, 8
xor eax, eax
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 7
mov word [ebp - 0x64c], ax
lea ecx, [ebp - 0x688]
call fcn.10015960
mov al, byte [ebp - 0x689]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001a6c7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002637a
int3