Function at 0x77d12ba4
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
xor esi, esi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
je 0x77d12c9e
cmp dword [ebp + 0x18], edi
je 0x77d12c9e
call fcn.77c9f7b5
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x77d12fe8
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x77d12c0d
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
mov dword [ebp - 0x14], eax
jbe 0x77d12c19
mov byte [eax], 0
mov byte [eax + ecx - 1], 0
jmp 0x77d12c19
cmp dword [ebp + 0x14], edi
jbe 0x77d12c19
mov dword [ebp - 4], 0x57
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x77d12c26
push esi
call ebx
inc eax
jmp 0x77d12c2b
mov eax, 0x105
mov dword [ebp - 8], eax
add eax, eax
push eax
push 0x215
push 0x77ce208c
call fcn.77c9e393
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x77d12c53
mov dword [ebp - 4], 0xe
jmp 0x77d12fe8
cmp esi, edi
je 0x77d12c5c
cmp word [esi], di
jne 0x77d12c69
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x77d12c73
push esi
push dword [ebp - 8]
push eax
call fcn.77c9e187
push dword [ebp - 0x18]
call ebx
push edi
push edi
push edi
push edi
push dword [ebp + 0xc]
lea esi, [eax + eax + 2]
mov dword [ebp - 0x20], esi
call fcn.77ca027e
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x77d12ca5
mov dword [ebp - 4], 0x1068
jmp 0x77d12fe8
mov dword [ebp - 4], 0x57
cmp dword [ebp - 4], edi
jne 0x77d12fe8
push dword [0x77d1a104]
lea eax, [esi + 0x90]
mov dword [ebp - 8], eax
call ebx
lea eax, [eax + eax + 9]
and eax, 0xfffffff8
add eax, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
cmp esi, eax
jae 0x77d12fc0
lea esi, [eax + 7]
and esi, 0xfffffff8
cmp eax, esi
ja 0x77d12fc0
mov eax, 0x2000
cmp esi, eax
jae 0x77d12cf0
mov esi, eax
push esi
push 0x23a
mov ebx, 0x77ce208c
push ebx
mov dword [ebp - 8], eax
call fcn.77c9e393
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 0x23b
push ebx
call fcn.77c9e393
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
je 0x77d12fc0
cmp eax, edi
je 0x77d12fc0
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
mov esi, dword [ecx + 8]
lea edi, [eax + 0x38]
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]
lea ebx, [eax + 0x48]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
call fcn.77d11f03
push dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x20]
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.77c9e1f9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.77d11f2b
test eax, eax
mov dword [ebp - 4], eax
jne 0x77d12fc7
xor edx, edx
xor ecx, ecx
cmp dword [ebp - 0x24], edx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x20], edx
jbe 0x77d12f00
cmp ecx, dword [ebp - 0x1c]
jae 0x77d12f00
mov eax, dword [ebp - 0x14]
lea esi, [eax + ecx]
mov eax, dword [esi + 4]
add eax, ecx
cmp eax, dword [ebp - 0x1c]
ja 0x77d12ef9
mov eax, dword [esi + 4]
add ecx, eax
cmp eax, 0x48
mov dword [ebp - 0x28], ecx
jbe 0x77d12ee0
mov eax, dword [esi + 0x60]
cmp eax, edx
jne 0x77d12ec1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x28], 2
mov ebx, 0x90
jne 0x77d12e33
mov esi, dword [esi + 0x68]
cmp esi, 0xffffffff
jne 0x77d12e1f
inc dword [ebp + 0xc]
jmp 0x77d12ed5
cmp esi, edx
jbe 0x77d12ed5
mov dword [ebp - 4], 0x1073
jmp 0x77d12ed5
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x77d12ef0
cmp eax, edx
jbe 0x77d12ed5
cmp dword [esi + 0x64], ebx
jbe 0x77d12ed5
push 1
push dword [esi + 0x6c]
lea edi, [ebx + esi]
push dword [edi + 4]
lea eax, [edi + 8]
push eax
push dword [ebp - 0xc]
call fcn.77d129d2
test eax, eax
je 0x77d12eb3
mov eax, dword [ebp - 0xc]
inc dword [ebp + 0xc]
test byte [eax + 0x28], 2
je 0x77d12eb3
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
add ecx, eax
cmp dword [ebp + 0x10], 0
je 0x77d12ea7
cmp dword [ebp + 8], ecx
ja 0x77d12ea7
cmp eax, ecx
ja 0x77d12ea7
cmp ecx, dword [ebp + 0x14]
ja 0x77d12ea7
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
add eax, ecx
push edi
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x77d12eae
mov dword [ebp - 4], 8
mov eax, dword [edi]
add dword [ebp + 8], eax
add ebx, dword [edi]
cmp ebx, dword [esi + 0x64]
jb 0x77d12e50
mov ecx, dword [ebp - 0x28]
xor edx, edx
jmp 0x77d12ed5
cmp dword [ebp - 4], edx
jne 0x77d12eda
cmp eax, 8
mov dword [ebp - 4], eax
jne 0x77d12ed5
mov dword [ebp - 4], 0xe
cmp dword [ebp - 4], edx
je 0x77d12ee0
cmp dword [ebp - 4], 8
jne 0x77d12f00
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jae 0x77d12f00
jmp 0x77d12dc8
mov dword [ebp - 4], 0x1073
jmp 0x77d12f00
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x28], 6
jne 0x77d12f5e
cmp dword [ebp + 0xc], edx
jbe 0x77d12f5e
inc dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
lea edi, [ecx + eax]
je 0x77d12f52
cmp ecx, edi
jae 0x77d12f52
cmp eax, edi
ja 0x77d12f52
cmp edi, dword [ebp + 0x14]
ja 0x77d12f52
mov edx, dword [ebp + 0x10]
lea esi, [ecx + edx]
and dword [esi + 4], 0
mov dword [esi], eax
mov eax, dword [0x77d1a104]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
add esi, 8
push esi
call fcn.77c9e187
jmp 0x77d12f59
mov dword [ebp - 4], 8
mov dword [ebp + 8], edi
xor edx, edx
cmp dword [ebp - 4], edx
je 0x77d12f6b
cmp dword [ebp - 4], 8
jne 0x77d12fc7
xor edx, edx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
sub eax, edx
je 0x77d12faa
dec eax
dec eax
je 0x77d12f94
dec eax
dec eax
je 0x77d12f86
dec eax
dec eax
je 0x77d12f94
sub eax, 6
jne 0x77d12fb0
cmp dword [ebp + 0xc], edx
jne 0x77d12fb9
mov dword [ebp - 4], 0x1069
jmp 0x77d12fc7
cmp dword [ebp + 0xc], edx
jne 0x77d12fa0
mov dword [ebp - 4], 0x1069
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x77d12fc7
cmp dword [ebp + 0xc], 1
jbe 0x77d12f86
mov dword [ebp - 4], 0x1073
jmp 0x77d12fc7
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x77d12fc7
mov dword [ebp - 4], 0xe
push dword [ebp - 0x10]
mov esi, 0x77ce208c
push 0x2e6
push esi
call fcn.77c9e3db
push dword [ebp - 0x14]
push 0x2e7
push esi
call fcn.77c9e3db
push dword [ebp - 0x18]
push 0x2ea
push 0x77ce208c
call fcn.77c9e3db
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14