Function at 0x10814cb
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10de03c]
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
mov dword [0x10e6c08], eax
movzx eax, byte [ebp + 0xc]
mov dword [0x10e6c0c], eax
movzx eax, byte [ebp + 0x14]
mov dword [0x10e6c10], eax
mov eax, dword [0x10de044]
cmp eax, 0xffffffff
mov dword [ebp - 0x208], 0xff
jne 0x10816d3
and dword [0x10e6bac], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push 0x10e6b84
call esi
push 0x10e6bec
call esi
xor eax, eax
mov ebx, 0x10e6b40
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6b6c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6bd4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6b54
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6af0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6b10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6bc4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6bb4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6b9c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x10e6b30
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor edi, edi
push edi
mov esi, 0x1010330
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.0107da32
cmp eax, 0xffffffff
mov dword [0x10de044], eax
je 0x10816d0
cmp byte [ebp + 0x10], 0
jne 0x10815f0
push 0x10de048
push eax
call sub.NTMSAPI.dll_BeginNtmsDeviceChangeDetection
mov eax, dword [0x10de044]
push esi
mov ecx, eax
call fcn.0107ef8b
cmp eax, edi
mov dword [0x10e6bac], eax
je 0x1081614
cmp byte [ebp + 8], 0
je 0x108160c
call fcn.0107bd1b
or eax, 0xffffffff
jmp 0x10816d0
call fcn.01078ce1
mov edx, dword [0x10de044]
push esi
mov ecx, ebx
call fcn.0107b2e6
call fcn.01078cf0
mov ecx, dword [0x10de044]
call fcn.0107a1eb
cmp byte [ebp + 8], 0
je 0x1081648
push dword [0x10de044]
call fcn.0107bea2
cmp dword [0x10e6c10], edi
je 0x108165b
mov ecx, dword [0x10de044]
call fcn.0107a45a
call fcn.01078b06
call fcn.01077d84
jmp 0x108167a
mov edx, dword [0x10de044]
mov ecx, esi
call fcn.0107eb8d
push esi
call fcn.01077d9a
mov esi, eax
cmp esi, edi
jne 0x1081667
call fcn.0107e0c4
call fcn.0107e187
call fcn.0107e24a
call fcn.0107f0f8
cmp byte [ebp + 0x10], 0
jne 0x108169f
call fcn.0108148d
call fcn.01078b9f
mov esi, 0x100205c
push esi
push 1
push 1
push edi
push dword [0x10de044]
call sub.NTMSAPI.dll_SetNtmsUIOptionsW
push esi
push 1
push 2
push edi
push dword [0x10de044]
call sub.NTMSAPI.dll_SetNtmsUIOptionsW
mov eax, dword [0x10de044]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.01075bbb
leave
ret 0x10