Function at 0x4752d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5889f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00556180
add esp, 0xc
lea eax, [ebp - 0x114]
xor esi, esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x475661
push str.driversetchosts
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0056981c
add esp, 0xc
test eax, eax
jne 0x475661
push ecx
lea ecx, [ebp - 0x1ec]
call fcn.00476db0
mov dword [ebp - 4], esi
cmp dword [ebp - 0x190], esi
jne 0x475401
push 0x40
lea eax, [ebp - 0x114]
push 1
push eax
call fcn.00541caa
add esp, 0xc
test eax, eax
je 0x475401
push 1
push eax
lea ecx, [ebp - 0x1dc]
call fcn.004775f0
mov eax, dword [ebp - 0x1a8]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x130], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 1
push eax
call fcn.00477b00
add esp, 4
lea ecx, [ebp - 0x1dc]
push eax
call fcn.00477490
mov byte [ebp - 4], 0
test esi, esi
je 0x4753e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4753e1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1ec]
xor edx, edx
mov eax, dword [eax + 4]
add ecx, eax
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x475424
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1ec]
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00422180
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x1e0]
shr eax, 2
test al, 1
jne 0x475654
cmp dword [ebp - 0x190], 0
je 0x475654
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 2
mov ebx, 0x1a
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x1ec]
call fcn.00477a30
push 0x5c6c30
lea ecx, [ebp - 0x12c]
call fcn.00477210
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
mov edi, dword [ebp - 0x11c]
mov edx, str.0.0.0.1_tmssplus.mcafee.com
cmovae eax, dword [ebp - 0x12c]
mov esi, edi
cmp edi, ebx
cmova esi, ebx
sub esi, 4
jb 0x4754e1
nop
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x4754e6
add eax, 4
add edx, 4
sub esi, 4
jae 0x4754d0
cmp esi, 0xfffffffc
je 0x47551a
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x475513
cmp esi, 0xfffffffd
je 0x47551a
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x475513
cmp esi, 0xfffffffe
je 0x47551a
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x475513
cmp esi, 0xffffffff
je 0x47551a
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x47551a
sbb eax, eax
or eax, 1
jmp 0x47551c
xor eax, eax
test eax, eax
jne 0x475526
cmp edi, ebx
jb 0x475526
jbe 0x475541
mov eax, dword [ebp - 0x1ec]
xor esi, esi
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1e0], 1
je 0x475482
jmp 0x475546
mov esi, 1
lea ecx, [ebp - 0x1dc]
call fcn.004776e0
test eax, eax
jne 0x475580
mov eax, dword [ebp - 0x1ec]
lea ecx, [ebp - 0x1ec]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00422180
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4755be
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4755b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47567f
push edx
push ecx
call fcn.00554162
add esp, 8
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1f0], eax
lea ecx, [ebp - 0x1dc]
call fcn.00476d00
mov eax, dword [ebp - 0x1ec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1f0], eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0053f177
add esp, 4
jmp 0x475661
lea ecx, [ebp - 0x1ec]
call fcn.00475690
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00553cca
mov esp, ebp
pop ebp
ret
call fcn.0055eb27
int3