Function at 0x514fe0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x520100
mov edi, ecx
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
lea esi, [edi + 4]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [edi], 0
jne 0x515684
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], 0
mov dword [ebp - 0x10], 4
sub esp, 0xc
mov al, byte [ebp - 0x40]
lea ecx, [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 8], str.SOFTWAREPoliciesAdobeAcrobat_ReaderDC
mov dword [esp], 0x29
call fcn.00405590
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp ecx, eax
jne 0x5150a3
mov dword [ebp - 0x10], 5
sub esp, 0x10
mov al, byte [ebp - 0x40]
lea ecx, [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x65857a
mov dword [esp], 1
call fcn.0040b010
jmp 0x5150c1
lea edx, [eax + 1]
cmp ecx, 7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], edx
jbe 0x5150b4
mov ecx, dword [ebp - 0x58]
mov word [ecx + eax*2], 0x5c
mov word [ecx + eax*2 + 2], 0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov edx, ecx
sub edx, eax
cmp edx, 0xf
jae 0x515102
mov dword [ebp - 0x10], 5
sub esp, 0x10
mov al, byte [ebp - 0x40]
lea ecx, [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 0xc], 0xf
mov dword [esp + 8], str.FeatureLockdown
mov dword [esp], 0xf
call fcn.0040b010
jmp 0x515153
lea edx, [eax + 0xf]
cmp ecx, 7
mov dword [ebp - 0x48], edx
jbe 0x515112
mov ecx, dword [ebp - 0x58]
jmp 0x515115
lea ecx, [ebp - 0x58]
movsd xmm0, qword [0x67c16a]
movsd xmm1, qword [0x67c164]
movsd xmm2, qword [0x67c15c]
movsd qword [ecx + eax*2 + 0x16], xmm0
movsd qword [ecx + eax*2 + 0x10], xmm1
movsd xmm1, qword [str.FeatureLockdown]
movsd qword [ecx + eax*2 + 8], xmm2
movsd qword [ecx + eax*2], xmm1
mov word [ecx + eax*2 + 0x1e], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
cmp ecx, eax
jne 0x51518f
mov dword [ebp - 0x10], 5
sub esp, 0x10
mov al, byte [ebp - 0x40]
lea ecx, [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x65857a
mov dword [esp], 1
call fcn.0040b010
jmp 0x5151af
lea edx, [eax + 1]
cmp ecx, 7
mov dword [ebp - 0x48], edx
jbe 0x51519f
mov ecx, dword [ebp - 0x58]
jmp 0x5151a2
lea ecx, [ebp - 0x58]
mov word [ecx + eax*2], 0x5c
mov word [ecx + eax*2 + 2], 0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov edx, ecx
sub edx, eax
cmp edx, 0x16
jae 0x5151f0
mov dword [ebp - 0x10], 5
sub esp, 0x10
mov al, byte [ebp - 0x40]
lea ecx, [ebp - 0x58]
mov byte [esp + 4], al
mov dword [esp + 0xc], 0x16
mov dword [esp + 8], str.cDefaultLaunchURLPerms
mov dword [esp], 0x16
call fcn.0040b010
jmp 0x515259
lea edx, [eax + 0x16]
cmp ecx, 7
mov dword [ebp - 0x48], edx
jbe 0x515200
mov ecx, dword [ebp - 0x58]
jmp 0x515203
lea ecx, [ebp - 0x58]
movsd xmm2, qword [0x67cfe2]
movsd xmm1, qword [0x67cfda]
mov edx, dword [0x67cff2]
movsd xmm0, qword [0x67cfea]
movsd qword [ecx + eax*2 + 0x18], xmm2
movsd qword [ecx + eax*2 + 0x10], xmm1
movsd xmm2, qword [0x67cfd2]
movsd xmm1, qword [str.cDefaultLaunchURLPerms]
mov dword [ecx + eax*2 + 0x28], edx
movsd qword [ecx + eax*2 + 0x20], xmm0
movsd qword [ecx + eax*2 + 8], xmm2
movsd qword [ecx + eax*2], xmm1
mov word [ecx + eax*2 + 0x2c], 0
xor esi, esi
xor eax, eax
lock cmpxchg dword [0x6d20a0], esi
jne 0x5152af
push 0x68e5f0
push 0x40
call fcn.005db7f6
add esp, 8
test eax, eax
je 0x5152af
mov ecx, eax
mov dword [ebp - 0x10], 6
mov dword [ebp - 0x20], eax
call fcn.004560e0
mov edi, dword [ebp - 0x20]
xor eax, eax
mov esi, 0
lock cmpxchg dword [0x6d20a0], edi
je 0x5152af
mov ecx, edi
call fcn.004c3b60
push edi
call fcn.005d31ac
add esp, 4
xor eax, eax
lock cmpxchg dword [0x6d20a0], esi
cmp dword [ebp - 0x44], 7
jbe 0x5152c4
mov edx, dword [ebp - 0x58]
jmp 0x5152c7
lea edx, [ebp - 0x58]
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x10], 5
mov ecx, eax
push str.tHostWhiteListForBrowser
push edx
push 0x80000002
push esi
call fcn.004566f0
mov esi, dword [ebp - 0x64]
lea ecx, [esi + 0x28]
mov esi, dword [esi + 0x2c]
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x10], 7
sub esp, 0x10
mov bl, byte [ebp - 0x40]
mov byte [esp + 0xc], bl
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004569a0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
sub esp, 0xc
mov al, byte [ebp - 0x78]
lea ecx, [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], str.localhost
mov dword [esp], 9
call fcn.00405590
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x20]
lea ecx, [edx + 0x1c]
mov dword [ebp - 0x7c], ecx
cmp eax, dword [edx + 0x24]
je 0x5153ab
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movsd xmm0, qword [ebp - 0x30]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], 0
add dword [edx + 0x20], 0x18
mov esi, dword [ebp - 0x5c]
jmp 0x5153fa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x10], 0xa
push edx
push eax
call fcn.005d3a60
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x5153fa
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5153f0
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5156d4
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
lea eax, [ebp - 0x78]
mov dword [ebp - 0x74], 3
mov dword [ebp - 0x78], 1
jmp 0x515429
push ecx
push edi
call fcn.005d319e
add esp, 8
nop word [eax + eax]
mov eax, dword [ebp - 0x80]
mov esi, dword [ebp - 0x5c]
add eax, 4
lea ecx, [ebp - 0x70]
cmp eax, ecx
je 0x515635
mov ecx, dword [eax]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x10], 7
push eax
push 0
mov dword [ebp - 0x20], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
cmp dword [ebp - 0x60], 0
je 0x515420
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x515420
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x5154ab
js 0x5156a6
lea ecx, [eax + eax]
cmp eax, 0x800
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x6c], ecx
jb 0x5154b6
cmp eax, 0x7fffffef
jae 0x5156ab
lea eax, [ecx + 0x23]
push eax
call fcn.005d0220
add esp, 4
mov esi, eax
add esi, 0x23
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x5154c1
xor esi, esi
mov dword [ebp - 0x68], 0
jmp 0x5154d8
push ecx
call fcn.005d0220
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x28]
lea eax, [esi + eax*2]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x6c]
push 0
push esi
call fcn.0061e8c0
add esp, 0xc
lea eax, [ebp - 0x60]
mov dword [ebp - 0x10], 8
push eax
mov dword [ebp - 0x24], esi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edi, dword [ebp - 0x24]
test eax, eax
je 0x515601
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x51553a
sub esp, 0xc
mov al, byte [ebp - 0x70]
lea ecx, [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
jmp 0x515556
mov eax, esi
mov dword [ebp - 0x30], esi
add eax, esi
push eax
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x40], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x28], ecx
jbe 0x51556b
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x5155b0
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x6c], eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov dword [ebp - 0x10], 9
push eax
call fcn.005d2f70
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
add edx, 2
mov word [ecx], ax
add ecx, 2
cmp edx, dword [ebp - 0x6c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edx
jne 0x515580
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x10], 9
push eax
call fcn.004a1190
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
cmp ecx, 8
jb 0x515601
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5155f7
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5156bc
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov ecx, dword [ebp - 0x68]
test edi, edi
je 0x515420
sub ecx, edi
cmp ecx, 0x1000
jb 0x51540d
mov eax, dword [edi - 4]
add edi, 0xfffffffc
sub edi, eax
cmp edi, 0x20
jae 0x5156b0
add ecx, 0x23
mov edi, eax
jmp 0x51540d
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x8c]
mov byte [eax], 1
call fcn.005d38f0
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x51567d
mov eax, dword [ebp - 0x58]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x515673
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5156c8
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 0x10], 0xb
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005e99f0
call fcn.005e8c60
mov dword [ebp - 0x10], 3
call fcn.006207e0
mov dword [ebp - 0x10], 2
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
mov dword [ebp - 0x10], 0
call fcn.006207e0
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x51573e
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x515734
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x515757
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], 0
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x5157ae
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5157a4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5157c7
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], 0
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
cmp dword [ebp - 0x24], 0
je 0x51581e
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x24]
mov edx, eax
cmp eax, 0x1000
jb 0x515812
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x515823
add edx, 0x23
mov dword [ebp - 0x24], eax
push edx
push dword [ebp - 0x24]
call fcn.005d319e
add esp, 8
add esp, 0x10
pop ebp
ret
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.005d38f0
add esp, 0x10
pop ebp
ret