Function at 0x100193a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bf2c
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x10086e84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], ecx
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x418], eax
call fcn.10019030
mov esi, dword [ebp - 0x44c]
test esi, esi
mov dword [ebp - 4], 0
jne 0x10019404
mov esi, 0x10070adc
push 0x10070ae0
push esi
call fcn.1003f2a1
add esp, 8
test eax, eax
je 0x10019419
lea esi, [eax + 2]
test esi, esi
jne 0x1001943e
mov dword [ebp - 0x414], esi
mov eax, dword [ebx]
cmp eax, esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 1
je 0x1001947e
push eax
call edi
test esi, esi
jne 0x1001945b
xor eax, eax
jmp 0x1001946a
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [ebp - 0x414], esi
jne 0x10019423
push 0x8007000e
call fcn.100011df
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test esi, esi
mov dword [ebx], eax
je 0x1001947e
test eax, eax
jne 0x1001947e
push 0x8007000e
call fcn.100011df
push esi
mov byte [ebp - 4], 0
call edi
cmp dword [ebp - 0x44c], 0
je 0x100194a3
mov eax, dword [ebp - 0x448]
test eax, eax
jne 0x100194b2
lea ecx, [ebp - 0x44c]
call fcn.100137f0
mov eax, dword [ebp - 0x448]
test eax, eax
jne 0x100194b2
mov eax, 0x10070adc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [ebp - 0x414], esi
jne 0x100194cf
push 0x8007000e
call fcn.100011df
mov ebx, dword [ebp - 0x418]
mov eax, dword [ebx]
cmp eax, esi
mov byte [ebp - 4], 2
je 0x1001950d
push eax
call edi
test esi, esi
jne 0x100194ea
xor eax, eax
jmp 0x100194f9
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test esi, esi
mov dword [ebx], eax
je 0x1001950d
test eax, eax
jne 0x1001950d
push 0x8007000e
call fcn.100011df
push esi
mov byte [ebp - 4], 0
call edi
push 0x3fe
lea edx, [ebp - 0x40e]
push 0
push edx
mov word [ebp - 0x410], 0
call fcn.10042010
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x410]
push ecx
push 1
mov dword [ebp - 0x41c], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea edx, [ebp - 0x410]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [ebp - 0x418], esi
jne 0x10019576
push 0x8007000e
call fcn.100011df
mov ebx, dword [ebp - 0x420]
mov eax, dword [ebx]
cmp eax, esi
mov byte [ebp - 4], 3
je 0x100195a8
push eax
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [ebx], eax
jne 0x100195a8
push 0x8007000e
call fcn.100011df
push esi
call edi
lea ecx, [ebp - 0x44c]
call fcn.10016430
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041ffa
mov esp, ebp
pop ebp
ret