Function at 0x10012b50
Capabilities:
Get hostname
Get session user name

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x68
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x48], 0
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x50], edi
test byte [0x10021078], 8
jne 0x10012d28
lea eax, [ebp - 0x4c]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GetOwner
mov dword [esp + 4], str.Win32_Process
mov dword [esp], 0
call sym._create_signature
mov ebx, eax
test eax, eax
jne 0x10012d15
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x10012be9
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x3c]
sub esp, 0xc
mov esi, eax
test eax, eax
jne 0x10012d68
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.oleaut32.dll_VariantInit]
lea edi, [ebp - 0x44]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call esi
mov dword [ebp - 0x44], 0
mov esi, dword [sym.imp.advapi32.dll_GetUserNameW]
sub esp, 4
mov dword [esp + 4], edi
mov dword [esp], 0
call esi
sub esp, 8
mov edx, dword fs:[0x18]
cmp dword [edx + 0x34], 0x7a
je 0x10012e30
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, 8
xor edx, edx
sub esp, 4
lea edi, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp], 0x13
call sym._set_variant
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10012ef0
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10012d90
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x13
mov dword [esp + 8], 0
mov dword [esp + 4], 0x100267ee
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
test eax, eax
mov ebx, eax
sete al
mov edi, eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x4c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov esi, dword [ebp - 0x50]
sub esp, 4
test esi, esi
je 0x10012d03
mov eax, edi
test al, al
je 0x10012d03
mov eax, dword [ebp - 0x48]
mov dword [esi], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10012d15
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10026797
mov dword [esp + 8], str.process_get_owner
mov dword [esp + 4], 0x10021078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x10012b86
mov eax, dword [ebp - 0x4c]
mov ebx, esi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov edx, dword [eax]
lea ebx, [ebp - 0x40]
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 8
mov dword [esp + 8], 0
mov dword [esp + 4], str.User
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x10012e00
mov eax, dword [ebp - 0x48]
lea ebx, [ebp - 0x30]
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 8
mov dword [esp + 8], 0
mov dword [esp + 4], str.Domain
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x10012e00
mov eax, dword [ebp - 0x48]
jmp 0x10012c92
lea eax, [ebp - 0x40]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x30]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x4c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10012d03
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], edx
mov dword [esp], 0
dec eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.oleaut32.dll_SysAllocStringLen]
mov dword [ebp - 0x58], eax
call eax
mov dword [ebp - 0x38], eax
sub esp, 8
test eax, eax
je 0x10012c36
mov dword [esp + 4], edi
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x10012c36
mov esi, 8
mov dword [ebp - 0x44], 0
mov word [ebp - 0x40], si
mov esi, dword [sym.imp.kernel32.dll_GetComputerNameW]
mov dword [esp + 4], edi
mov dword [esp], 0
call esi
mov edx, dword [ebp - 0x54]
sub esp, 8
cmp dword [edx + 0x34], 0x6f
jne 0x10012c36
mov eax, dword [ebp - 0x44]
mov dword [esp], 0
dec eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
call eax
mov dword [ebp - 0x28], eax
sub esp, 8
test eax, eax
je 0x10012c36
mov dword [esp + 4], edi
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x10012c36
mov ecx, 8
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
xor eax, eax
xor edx, edx
mov word [ebp - 0x30], cx
jmp 0x10012c59
mov edi, 1
jmp 0x10012cc2