Function at 0x4e4720
Capabilities:
Get hostname
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x3ec
push esi
mov esi, ecx
mov dword [ebp - 0xd4], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2e8]
push 0x104
push 0
push eax
mov dword [ebp - 0x28], 1
call fcn.004359b0
mov dword [ebp - 0x2c], 1
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x18], 0xbef68cd1
mov dword [ebp - 0x14], 0xf94094b2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x40]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
xorps xmm1, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x40], xmm1
mov dword [ebp - 0x18], 0xabe89ac6
mov dword [ebp - 0x14], 0xba1c97be
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x18], 0x18c9e093
mov dword [ebp - 0x14], 0x7b9b3290
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x18], 0xb63d1dc9
mov dword [ebp - 0x14], 0xb4aa9575
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x18], 0xdc1c15b4
mov dword [ebp - 0x14], 0xeca2320a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x18], 0x86794b9a
mov dword [ebp - 0x14], 0x22ddbbc7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x18], 0xb4ab5bda
mov dword [ebp - 0x14], 0x7c661e97
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x18], 0x2e622a49
mov dword [ebp - 0x14], 0x7442b965
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x18], 0x227dac2c
mov dword [ebp - 0x14], 0x53bfeed8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], 0xdf9be395
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd94f69a7
mov dword [ebp - 0x14], 0xc0cfc619
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xae7946e8
mov dword [ebp - 0x14], 0x89c15b7c
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xe52d17e9
mov dword [ebp - 0x14], 0x7eadd2b7
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd5d93a8a
mov dword [ebp - 0x14], 0x19127bfa
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x2e62593b
mov dword [ebp - 0x14], 0x7442b965
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x18], 0x227dac2c
mov dword [ebp - 0x14], 0x53bfeed8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x80]
xorps xmm1, xmmword [ebp - 0xd0]
movaps xmmword [ebp - 0x80], xmm1
movaps xmm1, xmmword [ebp - 0x70]
xorps xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x60]
xorps xmm1, xmmword [ebp - 0xb0]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x1c]
movaps xmmword [ebp - 0x60], xmm1
movaps xmm1, xmmword [ebp - 0x50]
mov dword [ebp - 0x94], ecx
xorps xmm1, xmmword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x2e8]
movaps xmmword [ebp - 0x50], xmm1
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1ffff
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x80]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x4e4aa8
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 0x1e5], al
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e4a90
sub ecx, edx
lea eax, [ebp - 0x2e8]
push ecx
push eax
mov ecx, esi
call fcn.00416130
cmp dword [esi + 0x10], 0
ja 0x4e4bad
push 0x104
lea eax, [ebp - 0x3f0]
push 0
push eax
call fcn.004359b0
add esp, 0xc
mov dword [ebp - 0x1c], 0x104
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3f0]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
je 0x4e4b08
lea ecx, [ebp - 0x3f0]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e4af0
sub ecx, edx
lea eax, [ebp - 0x3f0]
push ecx
push eax
mov ecx, esi
call fcn.00416130
cmp dword [esi + 0x10], 0
ja 0x4e4bad
push 0x104
lea eax, [ebp - 0x1e0]
push 0
push eax
call fcn.004359b0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push 1
push 0x587684
push 0
call dword [sym.imp.ADVAPI32.dll_LsaOpenPolicy]
test eax, eax
js 0x4e4b85
lea eax, [ebp - 0x20]
push eax
push 0xc
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_LsaQueryInformationPolicy]
test eax, eax
js 0x4e4b7c
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x4e4b5e
add eax, 8
push eax
lea eax, [ebp - 0x1e0]
push 0x565de4
push eax
call fcn.00403440
add esp, 0xc
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_LsaFreeMemory]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_LsaClose]
lea eax, [ebp - 0x1e0]
mov byte [ebp - 0xdd], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e4b95
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.00416130
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret