Function at 0x7d715500
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x658
cmp dword [ebp + 0x14], 0
jne 0x7d71551b
mov eax, 0x57
jmp 0x7d7158b8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [ebp + 0xc], 0
je 0x7d71553b
mov eax, dword [ebp + 0xc]
mov dword [eax], 3
cmp dword [ebp + 0x10], 0
je 0x7d715547
cmp dword [ebp - 0xc], 0x58
jae 0x7d715551
mov eax, 0xea
jmp 0x7d7158b8
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, 2
imul edx, edx, 0
mov eax, 0x50
mov ecx, dword [ebp - 4]
mov word [ecx + edx], ax
mov edx, 2
shl edx, 0
mov eax, 0x45
mov ecx, dword [ebp - 4]
mov word [ecx + edx], ax
mov edx, 2
shl edx, 1
mov eax, 0x52
mov ecx, dword [ebp - 4]
mov word [ecx + edx], ax
mov edx, 2
imul edx, edx, 3
mov eax, 0x46
mov ecx, dword [ebp - 4]
mov word [ecx + edx], ax
mov edx, dword [ebp - 4]
mov dword [edx + 8], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x58
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x38
push ecx
call dword [sym.imp.ntext.dll_NtQueryPerformanceCounter]
mov edx, dword [ebp - 4]
add edx, 0x58
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0x58
mov ecx, dword [ebp - 0xc]
sub ecx, 0x58
shr ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], ecx
mov eax, dword [ebp - 4]
add eax, 0x50
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
call sym.kernelbase.dll_GetComputerNameExW
test eax, eax
jne 0x7d715641
mov eax, 0xea
jmp 0x7d7158b8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x50]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x50]
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x50]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x50]
and ecx, 7
je 0x7d715697
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x50]
and eax, 7
mov ecx, 8
sub ecx, eax
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x18]
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx + 0x18]
jae 0x7d7156ac
mov eax, 0xea
jmp 0x7d7158b8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
add eax, dword [edx + 0x18]
mov dword [ebp + 0x10], eax
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push 0
push str.SystemCurrentControlSetServices
push 0x80000002
call sym.kernelbase.dll_RegOpenKeyExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x7d7156fb
mov eax, dword [ebp - 8]
jmp 0x7d7158b8
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0x104
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call sym.kernelbase.dll_RegEnumKeyExW
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0x103
jne 0x7d715763
mov dword [ebp - 8], 0
jmp 0x7d715883
cmp dword [ebp - 8], 0
je 0x7d71576b
jmp 0x7d715702
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.7d714b20
add esp, 0xc
test eax, eax
jne 0x7d71578e
jmp 0x7d715702
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x658]
push edx
call fcn.7d714200
add esp, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x658]
push eax
call sym.kernelbase.dll_FreeLibrary
cmp dword [ebp - 8], 0xea
jne 0x7d7157ca
jmp 0x7d715883
cmp dword [ebp - 8], 0
jne 0x7d71587e
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x7d727a40]
movzx eax, byte [edx]
and eax, 8
je 0x7d715851
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ecx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c]
cmp edx, 0x2e
jne 0x7d715805
mov dword [ebp - 0x1c], 0x12
jmp 0x7d71580c
mov dword [ebp - 0x1c], 0x21
push 0x7d7242c0
push 0x7d6
push str.query_perf_data
mov eax, dword [ebp - 0x1c]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_reg.c
push eax
mov ecx, dword [0x7d727a40]
push ecx
push 3
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d715851
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
push str.Collect:_obj__TotalByteLength__u__collected_size__u_n
call fcn.7d71f960
add esp, 0xc
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], edx
jmp 0x7d715702
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.7d711170
cmp dword [ebp - 8], 0
jne 0x7d7158b5
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call sym.kernelbase.dll_GetSystemTime
mov eax, dword [ebp - 4]
add eax, 0x48
push eax
call sym.kernelbase.dll_GetSystemTimeAsFileTime
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret