Function at 0x77d1e4ee
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
je 0x77d1e5e5
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x77d1e5e5
call fcn.77ca4cf1
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x77d1e912
mov eax, dword [ebp + 0x10]
cmp eax, ebx
mov dword [esi], ebx
je 0x77d1e54c
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
mov dword [ebp - 0x14], eax
jbe 0x77d1e558
mov byte [eax], bl
mov byte [eax + ecx - 1], bl
jmp 0x77d1e558
cmp dword [ebp + 0x14], ebx
jbe 0x77d1e558
mov dword [ebp - 4], 0x57
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x77d1e569
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
jmp 0x77d1e56e
mov eax, 0x105
mov dword [ebp - 8], eax
add eax, eax
push eax
push 0x200
push 0x77cf058c
call fcn.77ca96e5
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x77d1e598
mov dword [ebp - 4], 0xe
jmp 0x77d1e912
cmp edi, ebx
je 0x77d1e5a1
cmp word [edi], bx
jne 0x77d1e5ae
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x77d1e5b8
push edi
push dword [ebp - 8]
push esi
call fcn.77cac425
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x18], eax
call fcn.77ca4f4d
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x77d1e5ec
mov dword [ebp - 4], 0x1068
jmp 0x77d1e912
mov dword [ebp - 4], 0x57
cmp dword [ebp - 4], ebx
jne 0x77d1e912
mov esi, dword [ebp - 0x18]
push dword [0x77d26104]
lea eax, [esi + 0x90]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 9]
and eax, 0xfffffff8
add eax, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
cmp esi, eax
jae 0x77d1e8ea
lea esi, [eax + 7]
and esi, 0xfffffff8
cmp eax, esi
ja 0x77d1e8ea
mov eax, 0x2000
cmp esi, eax
jae 0x77d1e63e
mov esi, eax
push esi
push 0x225
mov edi, 0x77cf058c
push edi
mov dword [ebp - 8], eax
call fcn.77ca96e5
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 0x226
push edi
call fcn.77ca96e5
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
je 0x77d1e8ea
cmp eax, ebx
je 0x77d1e8ea
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
lea edi, [eax + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [eax + 0xc], 1
mov dword [eax], 5
lea ebx, [eax + 0x48]
lea edi, [eax + 0x38]
mov eax, ecx
mov esi, dword [eax + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
call fcn.77d1d84b
push dword [ebp - 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x48]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x18], 3
mov dword [ebx + 0x20], 0x48
mov dword [ebx + 0x24], eax
push eax
add ebx, 0x48
push ebx
call fcn.77ca4bd4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.77d1d873
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x77d1e8f1
mov ebx, dword [ebp - 0x14]
xor esi, esi
cmp dword [ebp - 0x1c], edi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x18], edi
jbe 0x77d1e82f
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x24]
ja 0x77d1e828
mov eax, dword [ebx + 0x60]
cmp eax, edi
jne 0x77d1e7eb
mov eax, dword [ebp - 0xc]
test byte [eax + 0x28], 2
mov eax, dword [ebx + 0x68]
mov edi, 0x90
jne 0x77d1e763
cmp eax, 0xffffffff
jne 0x77d1e74f
inc dword [ebp + 0xc]
jmp 0x77d1e7ff
test eax, eax
jbe 0x77d1e7ff
mov dword [ebp - 4], 0x1073
jmp 0x77d1e7ff
cmp eax, 0xffffffff
je 0x77d1e81f
test eax, eax
jbe 0x77d1e7ff
cmp dword [ebx + 0x64], edi
jbe 0x77d1e7ff
push 1
push dword [ebx + 0x6c]
lea esi, [edi + ebx]
push dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp - 0xc]
call fcn.77d1e31c
test eax, eax
je 0x77d1e7df
mov eax, dword [ebp - 0xc]
inc dword [ebp + 0xc]
test byte [eax + 0x28], 2
je 0x77d1e7df
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
add ecx, eax
cmp dword [ebp + 0x10], 0
je 0x77d1e7d3
mov edx, dword [ebp + 8]
cmp edx, ecx
ja 0x77d1e7d3
cmp eax, ecx
ja 0x77d1e7d3
cmp ecx, dword [ebp + 0x14]
ja 0x77d1e7d3
push eax
mov eax, dword [ebp + 0x10]
add edx, eax
push esi
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x77d1e7da
mov dword [ebp - 4], 8
mov eax, dword [esi]
add dword [ebp + 8], eax
add edi, dword [esi]
cmp edi, dword [ebx + 0x64]
jb 0x77d1e77d
mov esi, dword [ebp + 8]
jmp 0x77d1e7ff
cmp dword [ebp - 4], edi
jne 0x77d1e806
cmp eax, 8
mov dword [ebp - 4], eax
jne 0x77d1e7ff
mov dword [ebp - 4], 0xe
xor edi, edi
cmp dword [ebp - 4], edi
je 0x77d1e80c
cmp dword [ebp - 4], 8
jne 0x77d1e82f
add ebx, dword [ebx + 4]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jae 0x77d1e82f
jmp 0x77d1e71a
mov dword [ebp - 4], 0x1073
jmp 0x77d1e82f
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xc]
xor edx, edx
cmp dword [eax + 0x28], 6
jne 0x77d1e88b
cmp dword [ebp + 0xc], edx
jbe 0x77d1e88b
mov ecx, dword [ebp + 0x10]
inc dword [ebp + 0xc]
cmp ecx, edx
mov eax, dword [ebp - 0x28]
lea ebx, [eax + esi]
je 0x77d1e87d
cmp esi, ebx
jae 0x77d1e87d
cmp eax, ebx
ja 0x77d1e87d
cmp ebx, dword [ebp + 0x14]
ja 0x77d1e87d
add esi, ecx
and dword [esi + 4], edx
mov dword [esi], eax
mov eax, dword [0x77d26104]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
add esi, 8
push esi
call fcn.77cac425
jmp 0x77d1e884
mov dword [ebp - 4], 8
mov dword [ebp + 8], ebx
mov esi, ebx
xor edx, edx
cmp dword [ebp - 4], edx
je 0x77d1e896
cmp dword [ebp - 4], 8
jne 0x77d1e8f1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
sub eax, edx
je 0x77d1e8e2
dec eax
dec eax
je 0x77d1e8cf
dec eax
dec eax
je 0x77d1e8ba
dec eax
dec eax
je 0x77d1e8cf
sub eax, 6
je 0x77d1e8ba
mov dword [ebp - 4], 0x1073
jmp 0x77d1e8f1
cmp dword [ebp + 0xc], edx
jne 0x77d1e8c8
mov dword [ebp - 4], 0x1069
jmp 0x77d1e8f1
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x77d1e8f1
cmp dword [ebp + 0xc], edx
jne 0x77d1e8db
mov dword [ebp - 4], 0x1069
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
jmp 0x77d1e8f1
cmp dword [ebp + 0xc], 1
jbe 0x77d1e8ba
jmp 0x77d1e8b1
mov dword [ebp - 4], 0xe
push dword [ebp - 0x10]
mov esi, 0x77cf058c
push 0x2cb
push esi
call fcn.77ca972d
push dword [ebp - 0x14]
push 0x2cc
push esi
call fcn.77ca972d
push dword [ebp - 0x20]
push 0x2cf
push 0x77cf058c
call fcn.77ca972d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14