Function at 0x104ab12
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1076530]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push 0x4f6
push 0x10096bc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x34], eax
call fcn.01055826
xor eax, eax
push 7
mov word [ebp - 0x24], ax
pop ecx
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
xor esi, esi
stosw word es:[edi], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x70], 0x10
mov dword [ebp - 0x68], 0x1010420
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x30], esi
cmp eax, esi
je 0x104ac20
mov dword [eax], esi
mov eax, 0x502
mov dword [ebp - 0x5c], esi
mov word [ebp - 0x58], ax
mov eax, dword [0x1075318]
mov edi, 0x1075318
cmp eax, edi
je 0x104abb8
test dword [eax + 0x1c], 0x8000000
je 0x104abb8
push 0x1007ee0
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016edb
lea eax, [ebp - 0x28]
push eax
push 0x100e944
push 4
push esi
push 0x100e9b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x506
jl 0x104ac2c
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x507
jl 0x104ac2c
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x30], 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x104ac35
call fcn.0105d3b8
mov dword [ebp - 0x5c], eax
mov eax, 0x50a
jmp 0x104ac2c
mov dword [ebp - 0x5c], 0x80070057
mov eax, 0x502
mov word [ebp - 0x56], ax
jmp 0x104ace8
mov eax, 0x50a
mov word [ebp - 0x58], ax
mov eax, dword [ebx + 0x318]
mov dword [ebp - 0x5c], esi
mov eax, dword [eax]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x68]
call fcn.0106470b
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x50c
jl 0x104ac2c
push 0x5c
pop edx
lea ecx, [ebp - 0x68]
mov word [ebp - 0x58], ax
call fcn.01063962
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x68]
push eax
call dword [ecx + 0x4c]
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x50f
jl 0x104ac2c
lea edx, [ebp - 0x38]
push edx
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x68]
mov dword [ebp - 0x5c], eax
cmp eax, esi
mov eax, 0x510
jl 0x104ac2c
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x2c], esi
je 0x104ace1
xor ebx, ebx
inc ebx
mov eax, dword [0x1075318]
cmp eax, edi
je 0x104ace3
test dword [eax + 0x1c], 0x8000000
je 0x104ace3
push dword [ebp - 0x68]
push 0x1007ee0
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01016f01
jmp 0x104ace3
mov ebx, esi
mov eax, dword [ebp - 0x34]
mov dword [eax], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0105e9f1
cmp dword [ebp - 0x30], esi
je 0x104ad03
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov edi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
call fcn.010635b3
mov eax, dword [ebp - 0x28]
cmp eax, esi
je 0x104ad1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x5c]
call fcn.01055a3c
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01054fa7
leave
ret 8