Function at 0x2687af37
Capabilities:
Get hostname

Disassembly:
mov eax, 0x268efab0
call fcn.268eb4dc
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
cmp word [ebx], di
je 0x2687af77
push 0x269115f0
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x2687af77
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x26912d54
push ebx
call esi
test eax, eax
pop ecx
pop ecx
jne 0x2687af7c
xor edi, edi
inc edi
jmp 0x2687afa5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x14], 0xf
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x2687afa5
lea eax, [ebp - 0x40]
push ebx
push eax
call esi
mov edi, eax
neg edi
pop ecx
sbb edi, edi
pop ecx
inc edi
mov esi, dword [ebp + 0xc]
push ebx
call fcn.268a4a0c
test edi, edi
jne 0x2687b076
and dword [ebp - 0x10], edi
and dword [ebp - 4], edi
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push ebx
lea edi, [ebp - 0x10]
call fcn.268633af
xor eax, eax
push 0x26912d50
inc eax
mov ecx, edi
call fcn.2686bc08
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.268a4670
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.2687b28c
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x2687b006
call fcn.268e5db4
and dword [ebp - 0x14], 0
mov ecx, dword [0x2692af68]
test ecx, ecx
mov eax, dword [ebp - 0x10]
mov word [ebp - 0x1c], 0x10
mov dword [ebp - 0x20], eax
je 0x2687b043
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
je 0x2687b037
mov ecx, dword [eax]
push eax
call dword [ecx + 0x354]
mov ecx, dword [0x2692af68]
mov edx, dword [ecx]
lea esi, [ebp - 0x20]
push esi
push 0x1a
push eax
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x2687b057
call fcn.268e5db4
and dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x18]
cmp word [eax + 4], 0x10
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, 0x4e4
jne 0x2687b0ce
call fcn.268e6198
jmp 0x2687b105
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x18]
push eax
call fcn.268a4670
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
jne 0x2687b094
mov eax, dword [0x269292ac]
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.268ac9fe
or dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x2687b0b2
call fcn.268e5db4
and dword [ebp + 0x18], 0
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.268a4d50
test eax, eax
jne 0x2687b185
jmp 0x2687b17d
mov eax, dword [eax]
test eax, eax
je 0x2687b0d9
mov esi, dword [eax - 4]
jmp 0x2687b0db
xor esi, esi
lea eax, [esi + esi + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.268eb500
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], esp
inc esi
push esi
push dword [ebp - 0x14]
push 0xffffffffffffffff
call fcn.268e618c
push eax
push 0
push ebx
call edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
cmp word [eax + 4], 0x10
jne 0x2687b11b
call fcn.268e6198
mov ebx, eax
jmp 0x2687b152
mov eax, dword [eax]
test eax, eax
je 0x2687b126
mov esi, dword [eax - 4]
jmp 0x2687b128
xor esi, esi
lea eax, [esi + esi + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.268eb500
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x18], esp
inc esi
push esi
push dword [ebp + 0x18]
push 0xffffffffffffffff
call fcn.268e618c
push eax
push 0
push ebx
call edi
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov esi, eax
call fcn.268e6afb
mov eax, dword [edi]
push edi
push ebx
push dword [ebp - 0x14]
push dword [ebp + 0x14]
push edi
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.268a505b
test eax, eax
jne 0x2687b182
or eax, 0xffffffff
jmp 0x2687b1ca
mov edi, dword [ebp + 8]
cmp dword [ebp + 0x10], 3
mov eax, dword [edi]
push edi
jne 0x2687b1a9
call dword [eax + 0x3c]
mov eax, dword [ebp + 0xc]
call fcn.268a4854
jmp 0x2687b1ca
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0xc]
push eax
push 0
call fcn.268a492e
test eax, eax
jne 0x2687b19b
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.268a4858
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x18