Function at 0x41f1c0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5522a1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x5ec3c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x330]
call fcn.00450140
mov edx, eax
mov dword [ebp - 4], 0
mov esi, edx
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x41f222
mov esi, dword [edx]
test eax, eax
je 0x41f288
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [esi + ecx*2], 0x5c
lea eax, [esi + ecx*2]
jne 0x41f24d
nop dword [eax]
cmp eax, esi
je 0x41f288
sub eax, 2
cmp word [eax], 0x5c
je 0x41f240
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x41f288
inc eax
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
cmp dword [edx + 0x10], eax
cmovb eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 8
jb 0x41f284
mov edx, dword [edx]
push eax
push edx
jmp 0x41f2ad
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
push 0x5c7a40
lea ecx, [ebp - 0x238]
call fcn.00419c40
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 2
call fcn.004196c0
push 0
push 0x2c
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x41f38a
call fcn.0044f060
push 2
lea ecx, [ebp - 0x318]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x25c], str...includesNGIUtils.cpp
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x258], 0x32
call fcn.0041a580
mov edx, str.Failed_to_get_common_files_dir
lea ecx, [ebp - 0x318]
call fcn.0041a5e0
lea ecx, [ebp - 0x2c0]
call fcn.0044dd10
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x260], 0
movups xmmword [ebp - 0x274], xmm0
push 0
push 0x5c7a40
call fcn.00419c40
jmp 0x41f3d0
sub esp, 8
mov eax, esp
sub esp, 8
mov edx, esp
mov dword [eax], str.McAfeeNGI
mov dword [eax + 4], 0xa
lea eax, [ebp - 0x220]
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f3b0
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x274]
call fcn.00450370
add esp, 0x10
mov edx, dword [ebp - 0x274]
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x260], 8
mov ecx, dword [ebp - 0x264]
cmovb edx, eax
sub esp, 8
mov eax, esp
push ecx
push edx
lea ecx, [ebp - 0x250]
mov dword [eax], str.Service
mov dword [eax + 4], 7
call fcn.00450370
add esp, 0x10
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 6
call fcn.004196c0
cmp dword [ebp - 0x228], 0
je 0x41f56d
cmp dword [ebp - 0x240], 0
je 0x41f56d
call fcn.0044f060
push 4
lea ecx, [ebp - 0x318]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x25c]
mov dword [ebp - 0x25c], str...includesNGIUtils.cpp
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x258], 0x43
call fcn.0041a580
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x318]
call fcn.00420ea0
mov edx, str._vs_expected
lea ecx, [ebp - 0x318]
call fcn.0041a5e0
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x318]
call fcn.00420ea0
lea ecx, [ebp - 0x2c0]
call fcn.0044dd10
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
cmovae eax, dword [ebp - 0x238]
push dword [ebp - 0x228]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
cmp dword [ebp - 0x23c], 8
lea edx, [ebp - 0x250]
mov esi, dword [ebp - 0x228]
lea edi, [ebp - 0x238]
cmovae edx, dword [ebp - 0x250]
cmp dword [ebp - 0x224], 8
cmovae edi, dword [ebp - 0x238]
cmp esi, dword [ebp - 0x240]
jne 0x41f56d
test esi, esi
je 0x41f564
sub edi, edx
nop dword [eax]
movzx ecx, word [edx + edi]
movzx eax, word [edx]
cmp cx, ax
jne 0x41f56d
add edx, 2
sub esi, 1
jne 0x41f550
mov byte [ebp - 0x251], 1
jmp 0x41f574
mov byte [ebp - 0x251], 0
lea ecx, [ebp - 0x250]
call fcn.004196c0
lea ecx, [ebp - 0x238]
call fcn.004196c0
mov al, byte [ebp - 0x251]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050a47b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret