Function at 0x660287ea
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 0x66045903
mov eax, dword [eax - 4]
shr eax, 1
mov dword [ebp - 8], eax
je 0x66045903
mov edi, dword [ebp + 0x10]
cmp edi, esi
jne 0x6604590d
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
call dword [0x6610ed68]
cmp eax, esi
jl 0x66045b0b
push esi
push esi
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
lea eax, [ebp - 4]
push eax
push 0x6601a178
push 5
lea eax, [ebp - 0x28]
push esi
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x66045aea
push esi
push edi
call fcn.6601d35f
mov eax, dword [ebp - 4]
lea edx, [ebp + 0xc]
push edx
push 0x6602f180
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x66045ab8
mov eax, dword [ebp - 4]
lea edx, [ebp + 0x10]
push edx
push 0x6602f190
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x66045ad1
cmp edi, esi
jl 0x66045ae1
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x6602f1d0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x66045b29
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.66024fdc
mov eax, dword [edi - 4]
shr eax, 1
mov dword [ebp + 0x10], eax
je 0x66028819
cmp dword [0x66110cc0], esi
mov ebx, 0x66110ca0
jne 0x6604595d
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 0x6604595d
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 [0x66110cc0], 1
cmp word [edi], 0x5c
mov eax, edi
jne 0x66045976
cmp word [eax + 2], si
lea ecx, [eax + 2]
je 0x66045976
mov eax, ecx
cmp word [eax], 0x5c
je 0x66045965
push eax
push ebx
call fcn.660ee381
pop ecx
test eax, eax
pop ecx
je 0x66028819
cmp dword [0x6610ed64], esi
je 0x66045b1f
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
call dword [0x6610ed68]
cmp eax, 0x800401f3
jne 0x660459ac
mov eax, 0x800a01cf
push esi
push eax
call fcn.6601d35f
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], 0x6601a178
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], 0x6602f1d0
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], 0x6602f180
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], 0x6602f190
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
call dword [0x6610ed64]
mov edi, eax
cmp edi, esi
jl 0x66045a71
push esi
push edi
call fcn.6601d35f
cmp dword [ebp - 0x58], esi
jl 0x66045a38
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 0x66045a56
cmp dword [ebp - 0x58], esi
jge 0x66045a4d
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 0x66045a8e
cmp dword [ebp - 0x64], esi
jl 0x66045a68
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.660dd31d
test eax, eax
jne 0x66045a18
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], edi
push eax
mov word [ebp - 0x48], si
call fcn.66024702
cmp dword [ebp - 0x64], esi
jge 0x66045aa1
mov eax, dword [ebp - 0x74]
mov word [ebp - 0x18], 0xd
jmp 0x660288c2
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 0x660288c2
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 0x6602888f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ebp + 0x10]
jmp 0x66045ac6
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x48]
push eax
call fcn.660dd31d
test eax, eax
jne 0x66028856
lea eax, [ebp - 0x48]
mov dword [ebp - 0x2c], edi
push eax
mov word [ebp - 0x48], si
call fcn.66024702
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.660dde3a
cmp eax, esi
jge 0x66028897
push 0x1ad
call fcn.66024fdc
mov eax, dword [ebp - 4]
mov word [ebp - 0x18], 0xd
jmp 0x660288c2