Function at 0x6a682ee0
Capabilities:
Get hostname
Get process heap flags
Get process heap force flags
Get session user name

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
test byte [0x6a685018], 8
jne 0x6a682f80
test esi, esi
je 0x6a682f60
test edi, edi
je 0x6a682f60
cmp ebx, 8
je 0x6a683050
cmp ebx, 0x10
je 0x6a682fc0
cmp ebx, 5
je 0x6a6830a8
cmp ebx, 7
je 0x6a683110
test byte [0x6a685018], 1
jne 0x6a683020
mov dword [esi], 0
mov dword [edi], 0
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x6f8
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._p_0x_08lx__d__p__p_n
mov dword [esp + 8], str.WTSQuerySessionInformationW
mov dword [esp + 4], 0x6a685018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6a682f0b
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6a682f50
test byte [0x6a685018], 1
jne 0x6a683178
xor eax, eax
mov dword [esi], ebx
mov word [ebx], ax
mov eax, 1
mov dword [edi], 2
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Unimplemented_class__d_n
mov dword [esp + 8], str.WTSQuerySessionInformationW
mov dword [esp + 4], 0x6a685018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x6a682f44
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x6a682f50
mov dword [esi], eax
mov dword [eax], 0
mov eax, 1
mov dword [edi], 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [ebp - 0x1c], 0x101
mov dword [esp + 8], 0x202
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6a682f50
lea eax, [ebp - 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.advapi32.dll_GetUserNameW]
mov eax, dword [ebp - 0x1c]
mov dword [esi], ebx
sub esp, 8
add eax, eax
mov dword [edi], eax
mov eax, 1
jmp 0x6a682f52
mov dword [ebp - 0x1c], 0x10
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6a682f50
lea eax, [ebp - 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_GetComputerNameW]
mov eax, dword [ebp - 0x1c]
mov dword [esi], ebx
sub esp, 8
lea eax, [eax + eax + 2]
mov dword [edi], eax
mov eax, 1
jmp 0x6a682f52
mov dword [esp + 0xc], str.returning_0_protocol_type_n
mov dword [esp + 8], str.WTSQuerySessionInformationW
mov dword [esp + 4], 0x6a685018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x6a682fff