Function at 0x1084273
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10e607c]
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
mov dword [0x10ef3dc], eax
movzx eax, byte [ebp + 0xc]
mov dword [0x10ef3e0], eax
movzx eax, byte [ebp + 0x14]
mov dword [0x10ef3e4], eax
mov eax, dword [0x10e6084]
cmp eax, 0xffffffff
mov dword [ebp - 0x208], 0xff
jne 0x1084475
and dword [0x10ef380], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push 0x10ef358
call esi
push 0x10ef3c0
call esi
xor eax, eax
mov ebx, 0x10ef314
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, 0x10ef340
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, 0x10ef3a8
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, 0x10ef328
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, 0x10ef2c4
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, 0x10ef2e4
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, 0x10ef398
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, 0x10ef388
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, 0x10ef370
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, 0x10ef304
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, 0x1009b90
push esi
lea eax, [ebp - 0x204]
push eax
call fcn.0108067f
cmp eax, 0xffffffff
mov dword [0x10e6084], eax
je 0x1084472
cmp byte [ebp + 0x10], 0
jne 0x1084398
push 0x10e6088
push eax
call sub.NTMSAPI.dll_BeginNtmsDeviceChangeDetection
mov eax, dword [0x10e6084]
push esi
mov ecx, eax
call fcn.01081cee
cmp eax, edi
mov dword [0x10ef380], eax
je 0x10843bc
cmp byte [ebp + 8], 0
je 0x10843b4
call fcn.0107e62d
or eax, 0xffffffff
jmp 0x1084472
call fcn.0107b7cc
mov edx, dword [0x10e6084]
push esi
mov ecx, ebx
call fcn.0107dbbf
call fcn.0107b7db
mov ecx, dword [0x10e6084]
call fcn.0107f3d1
push dword [0x10e6084]
call fcn.0107e7b4
cmp dword [0x10ef3e4], edi
je 0x10843fd
mov ecx, dword [0x10e6084]
call fcn.0107cc4b
call fcn.0107b5e8
call fcn.0107aa2c
jmp 0x108441c
mov edx, dword [0x10e6084]
mov ecx, esi
call fcn.010818f0
push esi
call fcn.0107aa42
mov esi, eax
cmp esi, edi
jne 0x1084409
call fcn.01080d21
call fcn.01080de4
call fcn.01080ea7
call fcn.01081e5b
cmp byte [ebp + 0x10], 0
jne 0x1084441
call fcn.01084235
call fcn.0107b681
mov esi, 0x100210c
push esi
push 1
push 1
push edi
push dword [0x10e6084]
call sub.NTMSAPI.dll_SetNtmsUIOptionsW
push esi
push 1
push 2
push edi
push dword [0x10e6084]
call sub.NTMSAPI.dll_SetNtmsUIOptionsW
mov eax, dword [0x10e6084]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.01078836
leave
ret 0x10