Function at 0x4d5970
Capabilities:
Get hostname

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 0x55a821
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x110
mov byte [ebp - 0x19], 0
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x4d59bc
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4d59c0
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x18], 0x8bc8bac6
mov dword [ebp - 0x14], 0xba1cb79e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x18], 0x18c9e093
mov dword [ebp - 0x14], 0x7b9b3290
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x18], 0xb63d1dc9
mov dword [ebp - 0x14], 0xb4aa9575
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x18], 0xdc1c15b4
mov dword [ebp - 0x14], 0xeca2320a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x18], 0x885b4b9a
mov dword [ebp - 0x14], 0xdcbb5df
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x18], 0xd5d93a8a
mov dword [ebp - 0x14], 0x19127bfa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 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 - 0x80], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd94f69a7
mov dword [ebp - 0x14], 0xc0cfc619
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xae7946e8
mov dword [ebp - 0x14], 0x89c15b7c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xe52d17e9
mov dword [ebp - 0x14], 0x7eadd2b7
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd5d93a8a
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x14], 0x19127bfa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0xe0]
xorps xmm1, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0xe0], xmm1
movaps xmm1, xmmword [ebp - 0xd0]
xorps xmm1, xmmword [ebp - 0x70]
movaps xmmword [ebp - 0xd0], xmm1
movaps xmm1, xmmword [ebp - 0xc0]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
xorps xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0xc0], xmm1
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xe0]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4d5d2a
mov dword [ebp - 0x18], 0x8bc8bac6
mov dword [ebp - 0x14], 0xba1cb79e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x18], 0x18c9e093
mov dword [ebp - 0x14], 0x7b9b3290
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x18], 0xb63d1dc9
mov dword [ebp - 0x14], 0xb4aa9575
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x18], 0xdc1c15b4
mov dword [ebp - 0x14], 0xeca2320a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x18], 0xa77b4b9a
mov dword [ebp - 0x14], 0xbeaaad8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x18], 0xd5ad49ef
mov dword [ebp - 0x14], 0x19127bfa
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 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 - 0x80], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd94f69a7
mov dword [ebp - 0x14], 0xc0cfc619
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xae7946e8
mov dword [ebp - 0x14], 0x89c15b7c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xe52d17e9
mov dword [ebp - 0x14], 0x7eadd2b7
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xd5d93a8a
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x14], 0x19127bfa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0x110]
xorps xmm1, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x110], xmm1
movaps xmm1, xmmword [ebp - 0x100]
xorps xmm1, xmmword [ebp - 0x70]
movaps xmmword [ebp - 0x100], xmm1
movaps xmm1, xmmword [ebp - 0xf0]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
xorps xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0xf0], xmm1
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x110]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4d5d37
push dword [ebp - 0x20]
mov byte [ebp - 0x19], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x10
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x4d5f6c
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5d80
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00403040
mov dword [ebp - 4], 0
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x18], 0x87d4a1c3
mov dword [ebp - 0x14], 0xf940fadb
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], eax
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 - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0xa0]
mov dword [ebp - 0x44], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x48], eax
xorps xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0xa0], xmm1
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4d5e30
sub edx, ecx
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
push edx
cmova ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
push eax
push 0
call fcn.0041c7e0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4d5f1f
mov dword [ebp - 0x18], 0x9eccaec3
lea edx, [ebp - 0xb0]
mov dword [ebp - 0x14], 0xf940bf89
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x18], 0x7dbb92e6
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], eax
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 - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x14], 0x14d846fe
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movaps xmm1, xmmword [ebp - 0xb0]
mov dword [ebp - 0x44], ecx
lea ecx, [edx + 1]
mov dword [ebp - 0x48], eax
xorps xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0xb0], xmm1
mov al, byte [edx]
inc edx
test al, al
jne 0x4d5ef1
sub edx, ecx
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
push edx
cmova ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
push eax
push 0
call fcn.0041c7e0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4d5f23
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x4d5f5a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4d5f50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5f80
push ecx
push edx
call fcn.004338f3
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x19]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00438c70
int3