Function at 0x1077bc1
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
movzx eax, byte [ebp + 8]
mov dword [0x10d73c0], eax
movzx eax, byte [ebp + 0x10]
mov dword [0x10d73c4], eax
mov eax, dword [0x10ceff4]
cmp eax, 0xffffffff
mov dword [ebp - 4], 0xff
jne 0x1077dad
and dword [0x10d7364], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push 0x10d733c
call esi
push 0x10d73a4
call esi
xor eax, eax
mov ebx, 0x10d72f8
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, 0x10d7324
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, 0x10d738c
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, 0x10d730c
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, 0x10d72a8
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, 0x10d72c8
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, 0x10d737c
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, 0x10d736c
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, 0x10d7354
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, 0x10d72e8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor edi, edi
push edi
mov esi, 0x10102d0
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.010749b1
cmp eax, 0xffffffff
mov dword [0x10ceff4], eax
je 0x1077daa
cmp byte [ebp + 0xc], 0
jne 0x1077ccd
push 0x10ceff8
push eax
call sub.NTMSAPI.dll_BeginNtmsDeviceChangeDetection
mov eax, dword [0x10ceff4]
push esi
push eax
call fcn.01075bec
cmp eax, edi
mov dword [0x10d7364], eax
je 0x1077cf0
cmp byte [ebp + 8], 0
je 0x1077ce8
call fcn.0107307e
or eax, 0xffffffff
jmp 0x1077daa
call fcn.010707f3
push ebx
push esi
push dword [0x10ceff4]
call fcn.01072892
call fcn.010707fd
push dword [0x10ceff4]
call fcn.010719d8
cmp byte [ebp + 8], 0
je 0x1077d23
push dword [0x10ceff4]
call fcn.010731eb
cmp dword [0x10d73c4], edi
je 0x1077d36
push dword [0x10ceff4]
call fcn.01071bc8
call fcn.01070634
call fcn.0106fb12
jmp 0x1077d54
push esi
push dword [0x10ceff4]
call fcn.01075914
push esi
call fcn.0106fb23
mov esi, eax
cmp esi, edi
jne 0x1077d42
call fcn.01074f3f
call fcn.01074ffd
call fcn.010750bb
call fcn.01075d1f
cmp byte [ebp + 0xc], 0
jne 0x1077d79
call fcn.01077b8c
call fcn.010706cc
mov esi, 0x10020dc
push esi
push 1
push 1
push edi
push dword [0x10ceff4]
call sub.NTMSAPI.dll_SetNtmsUIOptionsW
push esi
push 1
push 2
push edi
push dword [0x10ceff4]
call sub.NTMSAPI.dll_SetNtmsUIOptionsW
mov eax, dword [0x10ceff4]
pop edi
pop esi
pop ebx
leave
ret 0xc