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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push str.TMPDIR
call sym.glib_2.0.dll_g_getenv_utf8
add esp, 4
push eax
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe914], eax
cmp dword [0x100fe914], 0
jne 0x1000f392
push 0x100d3b44
call sym.glib_2.0.dll_g_getenv_utf8
add esp, 4
push eax
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe914], eax
cmp dword [0x100fe914], 0
jne 0x1000f3b6
push str.TEMP
call sym.glib_2.0.dll_g_getenv_utf8
add esp, 4
push eax
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe914], eax
cmp dword [0x100fe914], 0
jne 0x1000f3c9
call fcn.1000f240
mov dword [0x100fe914], eax
push str.HOME
call sym.glib_2.0.dll_g_getenv_utf8
add esp, 4
push eax
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe920], eax
cmp dword [0x100fe920], 0
je 0x1000f42d
mov eax, dword [0x100fe920]
push eax
call sym.glib_2.0.dll_g_path_is_absolute
add esp, 4
test eax, eax
je 0x1000f414
push 4
mov ecx, dword [0x100fe920]
push ecx
call sym.glib_2.0.dll_g_file_test_utf8
add esp, 8
test eax, eax
jne 0x1000f42d
mov edx, dword [0x100fe920]
push edx
call sym.glib_2.0.dll_g_free
add esp, 4
mov dword [0x100fe920], 0
cmp dword [0x100fe920], 0
je 0x1000f458
push 0x2f
mov eax, dword [0x100fe920]
push eax
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x1000f458
mov ecx, dword [ebp - 0x74]
mov byte [ecx], 0x5c
jmp 0x1000f436
cmp dword [0x100fe920], 0
jne 0x1000f48d
push 0x100d3b58
call sym.glib_2.0.dll_g_getenv_utf8
add esp, 4
test eax, eax
je 0x1000f48d
push str.USERPROFILE
call sym.glib_2.0.dll_g_getenv_utf8
add esp, 4
push eax
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe920], eax
cmp dword [0x100fe920], 0
jne 0x1000f4a5
push 0x28
call fcn.1000d2f0
add esp, 4
mov dword [0x100fe920], eax
cmp dword [0x100fe920], 0
jne 0x1000f4b8
call fcn.1000f240
mov dword [0x100fe920], eax
mov dword [ebp - 0x78], 0x101
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1000f504
push 0
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x280]
push ecx
call sym.glib_2.0.dll_g_utf16_to_utf8
add esp, 0x14
mov dword [0x100fe918], eax
mov edx, dword [0x100fe918]
push edx
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe91c], eax
cmp dword [0x100fe918], 0
jne 0x1000f51f
push 0x100d3b70
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe918], eax
cmp dword [0x100fe91c], 0
jne 0x1000f53a
push str.Unklxc
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe91c], eax
mov dword [ebp - 0x284], 0x64
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x288], eax
je 0x1000f570
mov dword [ebp - 0x28c], 0x100d3b84
jmp 0x1000f579
lea edx, [ebp - 0x70]
mov dword [ebp - 0x28c], edx
mov eax, dword [ebp - 0x28c]
push eax
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe924], eax
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x100fe914]
push ecx
call sym.glib_2.0.dll_g_locale_from_utf8
add esp, 0x14
mov dword [0x100fe928], eax
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [0x100fe918]
push edx
call sym.glib_2.0.dll_g_locale_from_utf8
add esp, 0x14
mov dword [0x100fe92c], eax
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [0x100fe91c]
push eax
call sym.glib_2.0.dll_g_locale_from_utf8
add esp, 0x14
mov dword [0x100fe930], eax
cmp dword [0x100fe928], 0
jne 0x1000f5fb
push 0x100d3b90
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe928], eax
cmp dword [0x100fe92c], 0
jne 0x1000f616
push str.somebody
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe92c], eax
cmp dword [0x100fe930], 0
jne 0x1000f631
push str.Unknown
call sym.glib_2.0.dll_g_strdup
add esp, 4
mov dword [0x100fe930], eax
cmp dword [0x100fe920], 0
je 0x1000f658
push 0
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [0x100fe920]
push ecx
call sym.glib_2.0.dll_g_locale_from_utf8
add esp, 0x14
mov dword [0x100fe934], eax
jmp 0x1000f662
mov dword [0x100fe934], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001000
mov esp, ebp
pop ebp
ret