Function at 0x7dde7945
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
push ebx
xor edi, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.7dde7224
push 1
push ebx
mov dword [ebp - 4], eax
call fcn.7dde7224
mov dword [ebp - 8], eax
cmp ebx, esi
je 0x7dde79b9
cmp dword [ebp + 0xc], esi
jne 0x7dde79b9
push ebx
call fcn.7dde734f
test eax, eax
jne 0x7dde79c3
mov edi, dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 4], esi
je 0x7dde79a2
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call edi
cmp dword [ebp - 8], esi
je 0x7dde79b9
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call edi
push 0x57
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0xc]
push eax
push esi
push 4
call fcn.7dd9c723
mov ebx, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
test eax, eax
jne 0x7dde7a4f
call fcn.7dd711c7
mov edi, eax
cmp edi, 0xea
jne 0x7dde7a4f
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
add edx, edx
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call ebx
mov edi, eax
mov dword [ebp + 0xc], edi
cmp edi, esi
jne 0x7dde7a14
push 8
pop edi
jmp 0x7dde7a4f
lea eax, [ebp - 0xc]
push eax
push edi
push 4
call fcn.7dd9c723
test eax, eax
je 0x7dde7a2e
push edi
call fcn.7dde72da
test eax, eax
jne 0x7dde7a37
call fcn.7dd711c7
mov edi, eax
jmp 0x7dde7a39
xor edi, edi
push dword [ebp + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
push 4
call fcn.7dde6e95
mov dword [ebp + 0xc], eax
cmp eax, esi
je 0x7dde7a88
push eax
call fcn.7dde72da
test eax, eax
jne 0x7dde7a70
call fcn.7dd711c7
mov edi, eax
jmp 0x7dde7a72
xor edi, edi
push dword [ebp + 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, esi
jne 0x7dde7b8f
lea eax, [ebp - 0x10]
push eax
push esi
push 7
call fcn.7dd9c723
test eax, eax
jne 0x7dde7b18
call fcn.7dd711c7
mov edi, eax
cmp edi, 0xea
jne 0x7dde7b14
call sub.KERNELBASE.dll_KernelBaseGetGlobalData
mov ecx, dword fs:[0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
add edx, edx
push edx
push eax
mov eax, dword [ecx + 0x30]
push dword [eax + 0x18]
call ebx
mov ebx, eax
cmp ebx, esi
jne 0x7dde7adb
push 8
pop edi
jmp 0x7dde7b8f
lea eax, [ebp - 0x10]
push eax
push ebx
push 7
call fcn.7dd9c723
test eax, eax
je 0x7dde7af5
push ebx
call fcn.7dde731e
test eax, eax
jne 0x7dde7afe
call fcn.7dd711c7
mov edi, eax
jmp 0x7dde7b00
xor edi, edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, esi
jne 0x7dde7b8f
push 7
call fcn.7dde6e95
mov ebx, eax
cmp ebx, esi
je 0x7dde7b52
push ebx
call fcn.7dde731e
test eax, eax
jne 0x7dde7b38
call fcn.7dd711c7
mov edi, eax
jmp 0x7dde7b3a
xor edi, edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp edi, esi
jne 0x7dde7b8f
push dword [ebp - 4]
push 5
call sym.KERNEL32.dll_SetComputerNameExW
test eax, eax
jne 0x7dde7b6b
call fcn.7dd711c7
mov edi, eax
cmp edi, esi
jne 0x7dde7b8f
push dword [ebp - 8]
push 6
call sym.KERNEL32.dll_SetComputerNameExW
test eax, eax
jne 0x7dde7b84
call fcn.7dd711c7
mov edi, eax
cmp edi, esi
jne 0x7dde7b8f
push esi
push dword [ebp + 8]
call sym.KERNEL32.dll_RemoveLocalAlternateComputerNameW
mov edi, eax
cmp dword [ebp - 4], esi
je 0x7dde7baa
push dword [ebp - 4]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebp - 8], esi
je 0x7dde7bc5
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
jmp 0x7dde79bc