Function at 0x4d01b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561710
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5c7cec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
lea esi, [edi + 4]
push esi
mov dword [ebp - 0x70], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi], 0
mov dword [ebp - 4], 0
jne 0x4d04d2
push 0x29
xor eax, eax
mov dword [ebp - 0x38], 0
push str.SOFTWAREPoliciesAdobeAcrobat_ReaderDC
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00408740
push 1
push 0x56999c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0040cd80
push 0xf
push str.FeatureLockdown
lea ecx, [ebp - 0x48]
call fcn.0040cd80
push 1
push 0x56999c
lea ecx, [ebp - 0x48]
call fcn.0040cd80
push 0x16
push str.cDefaultLaunchURLPerms
lea ecx, [ebp - 0x48]
call fcn.0040cd80
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push str.tHostWhiteListForBrowser
cmovae eax, dword [ebp - 0x48]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x7c]
movq qword [ebp - 0x7c], xmm0
push 0x80000002
push eax
mov dword [ebp - 0x74], 0
call fcn.0041d9e0
mov ecx, eax
call fcn.0041e530
push dword [ebp - 0x70]
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 3
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ecx + 4]
call fcn.0041e9a0
push 9
xor eax, eax
mov dword [ebp - 0x20], 0
push str.localhost
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00408740
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 4
cmp dword [ecx + 8], eax
je 0x4d0317
movups xmm0, xmmword [ebp - 0x30]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
jmp 0x4d0321
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.00409590
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00408e50
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x58], eax
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push 0
push eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp dword [ebp - 0x4c], 0
jbe 0x4d04a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4d04a4
lea eax, [ebp - 0x4d]
mov dword [ebp - 0x60], 0
push eax
push dword [ebp - 0x4c]
xorps xmm0, xmm0
lea ecx, [ebp - 0x68]
movq qword [ebp - 0x68], xmm0
call fcn.00446a20
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [ebp - 0x54]
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4d0455
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov eax, edi
mov dword [ebp - 0x1c], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d03d0
sub eax, edx
lea ecx, [ebp - 0x30]
sar eax, 1
push eax
push edi
call fcn.00408740
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
cmovae eax, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x54], eax
cmovae ecx, edx
mov eax, dword [ebp - 0x20]
push fcn.0040d270
push dword [ebp - 0x54]
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x30]
cmovae ecx, edx
lea eax, [ebp - 0x80]
push ecx
push eax
call fcn.0040d1d0
mov edi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x30]
add esp, 0x14
mov eax, dword [edi + 0x20]
push ecx
cmp dword [edi + 0x24], eax
je 0x4d0441
mov ecx, eax
call fcn.00409a20
add dword [edi + 0x20], 0x18
jmp 0x4d044a
push eax
lea ecx, [edi + 0x1c]
call fcn.0040a230
lea ecx, [ebp - 0x30]
call fcn.00408e50
mov edi, dword [ebp - 0x6c]
mov byte [ebp - 4], 7
test edi, edi
je 0x4d04a0
mov eax, dword [ebp - 0x60]
sub eax, edi
sar eax, 1
lea ecx, [eax + eax]
mov eax, edi
cmp ecx, 0x1000
jb 0x4d0481
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d04fb
push ecx
push edi
call fcn.004097e6
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x58], eax
cmp eax, ecx
jne 0x4d0341
mov eax, dword [ebp - 0x5c]
mov byte [eax], 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00409980
lea ecx, [ebp - 0x48]
call fcn.00408e50
push esi
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
call fcn.0052cae1
int3