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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x50], 0
test byte [0x71060078], 8
jne 0x710524c0
lea eax, [ebp - 0x54]
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 0x710524af
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x71052380
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
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 0x71052508
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.oleaut32.dll_VariantInit]
lea edi, [ebp - 0x4c]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
call esi
mov dword [ebp - 0x4c], 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 0x710525c8
lea eax, [ebp - 0x48]
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, 8
xor edx, edx
sub esp, 4
lea edi, [ebp - 0x28]
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 - 0x50]
test eax, eax
je 0x71052690
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x71052528
mov edx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x13
mov dword [esp + 8], 0
mov dword [esp + 4], 0x7106572a
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 - 0x48]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x54]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp + 0x14]
sub esp, 4
test eax, eax
je 0x7105249d
mov eax, edi
test al, al
je 0x7105249d
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x710524af
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], 0x710656d3
mov dword [esp + 8], str.process_get_owner
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0x71060078
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], 3
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
call sym._wine_dbg_log.constprop.0_3
jmp 0x7105231d
mov eax, dword [ebp - 0x54]
mov ebx, esi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax]
lea ecx, [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], ecx
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 0x71052598
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
mov edx, dword [eax]
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], ecx
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 0x71052598
mov eax, dword [ebp - 0x50]
jmp 0x71052429
lea eax, [ebp - 0x48]
mov dword [esp], eax
call esi
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x54]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x7105249d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], edx
mov dword [esp], 0
dec eax
mov dword [esp + 4], eax
mov eax, dword [sym.imp.oleaut32.dll_SysAllocStringLen]
mov dword [ebp - 0x60], eax
call eax
mov dword [ebp - 0x40], eax
sub esp, 8
test eax, eax
je 0x710523cd
mov dword [esp + 4], edi
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x710523cd
mov esi, 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x48], si
mov esi, dword [sym.imp.kernel32.dll_GetComputerNameW]
mov dword [esp + 4], edi
mov dword [esp], 0
call esi
mov edx, dword [ebp - 0x5c]
sub esp, 8
cmp dword [edx + 0x34], 0x6f
jne 0x710523cd
mov eax, dword [ebp - 0x4c]
mov dword [esp], 0
dec eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
call eax
mov dword [ebp - 0x30], eax
sub esp, 8
test eax, eax
je 0x710523cd
mov dword [esp + 4], edi
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
je 0x710523cd
mov ecx, 8
mov esi, dword [sym.imp.oleaut32.dll_VariantClear]
xor eax, eax
xor edx, edx
mov word [ebp - 0x38], cx
jmp 0x710523f0
mov edi, 1
jmp 0x71052459