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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x294
mov dword [esp], str.TMPDIR
call sym.libglib_2.0_0.dll_g_getenv_utf8
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_strdup
test eax, eax
mov dword [0x686a43a0], eax
je 0x6861eb60
mov dword [esp], str.HOME
call sym.libglib_2.0_0.dll_g_getenv_utf8
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_strdup
test eax, eax
mov dword [0x686a43a4], eax
je 0x6861e8fd
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_path_is_absolute
test eax, eax
jne 0x6861eab1
mov eax, dword [0x686a43a4]
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_free
xor ecx, ecx
mov dword [0x686a43a4], ecx
mov dword [esp], str.USERPROFILE
call sym.libglib_2.0_0.dll_g_getenv_utf8
test eax, eax
je 0x6861ec09
mov dword [esp], str.USERPROFILE
call sym.libglib_2.0_0.dll_g_getenv_utf8
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_strdup
mov dword [0x686a43a4], eax
test eax, eax
jne 0x6861e950
mov eax, 0x28
call sym._get_special_folder
test eax, eax
mov dword [0x686a43a4], eax
jne 0x6861e950
call sym._get_windows_directory_root
mov dword [0x686a43a4], eax
nop
lea esi, [esi]
lea eax, [ebp - 0xc]
lea ebx, [ebp - 0x276]
mov dword [ebp - 0xc], 0x101
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._GetUserNameW_8
sub esp, 8
test eax, eax
jne 0x6861eb10
mov ecx, dword [0x686a43a8]
test ecx, ecx
je 0x6861ebf3
mov edx, dword [0x686a43ac]
test edx, edx
je 0x6861ebdd
lea eax, [ebp - 0x10]
lea ebx, [ebp - 0x74]
mov dword [ebp - 0x10], 0x64
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._GetComputerNameA_8
mov edx, str.localhost
sub esp, 8
test eax, eax
je 0x6861e9ba
mov edx, ebx
mov dword [esp], edx
xor ebx, ebx
call sym.libglib_2.0_0.dll_g_strdup
xor ecx, ecx
mov edx, 0xffffffff
mov dword [esp + 0xc], ebx
xor ebx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [0x686a43b0], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [0x686a43a0]
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_locale_from_utf8
xor ecx, ecx
mov edx, 0xffffffff
mov dword [esp + 0xc], ebx
xor ebx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [0x686a4398], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [0x686a43a8]
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_locale_from_utf8
xor ecx, ecx
mov edx, 0xffffffff
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [0x686a43b4], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [0x686a43ac]
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_locale_from_utf8
mov dword [0x686a43b8], eax
mov eax, dword [0x686a4398]
test eax, eax
je 0x6861ebc7
mov ebx, dword [0x686a43b4]
test ebx, ebx
je 0x6861ebb1
mov ecx, dword [0x686a43b8]
test ecx, ecx
je 0x6861eb4a
mov eax, dword [0x686a43a4]
test eax, eax
je 0x6861eb00
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov edx, 0xffffffff
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_locale_from_utf8
mov ebx, dword [ebp - 4]
mov dword [0x686a43bc], eax
leave
ret
mov eax, dword [0x686a43a4]
mov ebx, 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_file_test_utf8
test eax, eax
je 0x6861e8e8
mov ebx, dword [0x686a43a4]
test ebx, ebx
jne 0x6861eae3
jmp 0x6861e8fd
mov byte [eax], 0x5c
mov edx, 0x2f
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym._strchr
test eax, eax
jne 0x6861eae0
jmp 0x6861e950
xor ebx, ebx
mov dword [0x686a43bc], ebx
mov ebx, dword [ebp - 4]
leave
ret
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], eax
mov eax, 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.libglib_2.0_0.dll_g_utf16_to_utf8
mov dword [0x686a43a8], eax
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_strdup
mov dword [0x686a43ac], eax
jmp 0x6861e977
mov dword [esp], str.Unknown
call sym.libglib_2.0_0.dll_g_strdup
mov dword [0x686a43b8], eax
jmp 0x6861ea77
mov dword [esp], 0x6869944e
call sym.libglib_2.0_0.dll_g_getenv_utf8
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_strdup
test eax, eax
mov dword [0x686a43a0], eax
jne 0x6861e8bb
mov dword [esp], str.TEMP
call sym.libglib_2.0_0.dll_g_getenv_utf8
mov dword [esp], eax
call sym.libglib_2.0_0.dll_g_strdup
test eax, eax
mov dword [0x686a43a0], eax
jne 0x6861e8bb
call sym._get_windows_directory_root
mov dword [0x686a43a0], eax
jmp 0x6861e8bb
mov dword [esp], str.somebody
call sym.libglib_2.0_0.dll_g_strdup
mov dword [0x686a43b4], eax
jmp 0x6861ea69
mov dword [esp], 0x686993fe
call sym.libglib_2.0_0.dll_g_strdup
mov dword [0x686a4398], eax
jmp 0x6861ea5b
mov dword [esp], str.Unknown
call sym.libglib_2.0_0.dll_g_strdup
mov dword [0x686a43ac], eax
jmp 0x6861e993
mov dword [esp], str.somebody
call sym.libglib_2.0_0.dll_g_strdup
mov dword [0x686a43a8], eax
jmp 0x6861e985
mov eax, dword [0x686a43a4]
jmp 0x6861e92a