Function at 0x66028dd9
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x660456d8
mov eax, dword [eax - 4]
shr eax, 1
mov dword [ebp - 8], eax
je 0x660456d8
mov edi, dword [ebp + 0x10]
cmp edi, esi
jne 0x660456e2
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
call dword [0x6610fd84]
cmp eax, esi
jl 0x660458e0
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
lea eax, [ebp - 4]
push eax
push 0x6601a398
push 5
lea eax, [ebp - 0x28]
push esi
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x660458bf
push esi
push edi
call fcn.6601d62b
mov eax, dword [ebp - 4]
lea edx, [ebp + 0xc]
push edx
push 0x6602f1a8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x6604588d
mov eax, dword [ebp - 4]
lea edx, [ebp + 0x10]
push edx
push 0x6602f1b8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x660458a6
cmp edi, esi
jl 0x660458b6
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x6602f1f8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x660458fe
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov word [ebp - 0x18], 9
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0x1ad
call fcn.66025592
mov eax, dword [edi - 4]
shr eax, 1
mov dword [ebp + 0x10], eax
je 0x66028e08
cmp dword [0x66111cd8], esi
mov ebx, 0x66111cb8
jne 0x66045732
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x10
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x66045732
push 0x10
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [0x66111cd8], 1
cmp word [edi], 0x5c
mov eax, edi
jne 0x6604574b
cmp word [eax + 2], si
lea ecx, [eax + 2]
je 0x6604574b
mov eax, ecx
cmp word [eax], 0x5c
je 0x6604573a
push eax
push ebx
call fcn.660ef921
pop ecx
test eax, eax
pop ecx
je 0x66028e08
cmp dword [0x6610fd80], esi
je 0x660458f4
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
call dword [0x6610fd84]
cmp eax, 0x800401f3
jne 0x66045781
mov eax, 0x800a01cf
push esi
push eax
call fcn.6601d62b
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push 0x10
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x78], 0x6601a398
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], 0x6602f1f8
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0x6602f1a8
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x6602f1b8
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call dword [0x6610fd80]
mov edi, eax
cmp edi, esi
jl 0x66045846
push esi
push edi
call fcn.6601d62b
cmp dword [ebp - 0x58], esi
jl 0x6604580d
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x4c], esi
jl 0x6604582b
cmp dword [ebp - 0x58], esi
jge 0x66045822
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp edi, esi
jge 0x66045863
cmp dword [ebp - 0x64], esi
jl 0x6604583d
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x48]
push eax
call fcn.660de785
test eax, eax
jne 0x660457ed
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], edi
push eax
mov word [ebp - 0x48], si
call fcn.66024cb8
cmp dword [ebp - 0x64], esi
jge 0x66045876
mov eax, dword [ebp - 0x74]
mov word [ebp - 0x18], 0xd
jmp 0x66028eb1
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x68]
mov word [ebp - 0x18], 9
jmp 0x66028eb1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x66028e7e
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ebp + 0x10]
jmp 0x6604589b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x48]
push eax
call fcn.660de785
test eax, eax
jne 0x66028e45
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], edi
push eax
mov word [ebp - 0x48], si
call fcn.66024cb8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.660df2a2
cmp eax, esi
jge 0x66028e86
push 0x1ad
call fcn.66025592
mov eax, dword [ebp - 4]
mov word [ebp - 0x18], 0xd
jmp 0x66028eb1