Function at 0x68928870
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x658
cmp dword [ebp + 0x14], 0
jne 0x6892888b
mov eax, 0x57
jmp 0x68928c28
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 0x689288ab
mov eax, dword [ebp + 0xc]
mov dword [eax], 3
cmp dword [ebp + 0x10], 0
je 0x689288b7
cmp dword [ebp - 0xc], 0x58
jae 0x689288c1
mov eax, 0xea
jmp 0x68928c28
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 0x689289b1
mov eax, 0xea
jmp 0x68928c28
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 0x68928a07
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 0x68928a1c
mov eax, 0xea
jmp 0x68928c28
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 0x68928a6b
mov eax, dword [ebp - 8]
jmp 0x68928c28
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 0x68928ad3
mov dword [ebp - 8], 0
jmp 0x68928bf3
cmp dword [ebp - 8], 0
je 0x68928adb
jmp 0x68928a72
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.68927e90
add esp, 0xc
test eax, eax
jne 0x68928afe
jmp 0x68928a72
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.68927590
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 0x68928b3a
jmp 0x68928bf3
cmp dword [ebp - 8], 0
jne 0x68928bee
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [0x6893c030]
movzx eax, byte [edx]
and eax, 8
je 0x68928bc1
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 0x68928b75
mov dword [ebp - 0x1c], 0x12
jmp 0x68928b7c
mov dword [ebp - 0x1c], 0x21
push 0x68938310
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 [0x6893c030]
push ecx
push 3
call fcn.68933a40
add esp, 0x18
cmp eax, 0xffffffff
je 0x68928bc1
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.68933ab0
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 0x68928a72
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.68924510
cmp dword [ebp - 8], 0
jne 0x68928c25
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