Function at 0x411820
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 0x5d8009
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push 0x629f50
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.00409d40
push str.C:ProgramData
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.0040a140
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x669b40]
cmp eax, dword [ecx + 4]
jle 0x411912
push 0x669b40
call fcn.0058fdb5
add esp, 4
cmp dword [0x669b40], 0xffffffff
jne 0x411912
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
push 0x629f50
mov ecx, 0x669b28
mov dword [0x669b38], 0
movups xmmword [0x669b28], xmm0
mov dword [0x669b3c], 0
call fcn.00409d40
push 0x5eb910
call fcn.005900c7
add esp, 4
mov byte [ebp - 4], 0
push 0x669b40
call fcn.0058fd6b
add esp, 4
mov edi, dword [0x669b38]
test edi, edi
jne 0x411954
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], edi
push eax
push edi
push edi
push 0x61b76c
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x411941
push dword [ebp - 0x60]
mov ecx, 0x669b28
call fcn.0040a140
push dword [ebp - 0x60]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, dword [0x669b38]
test edi, edi
je 0x4119a2
cmp dword [0x669b3c], 8
mov ecx, 0x669b28
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [0x669b28]
cmp edi, eax
ja 0x411991
cmp eax, 8
mov dword [ebp - 0x34], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
push ecx
push esi
call fcn.005aa940
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x4119a2
push ecx
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x60]
push edi
call fcn.0040a010
push str.LenovoVantageAddinsSmartInteractAddinAddinManifest.xml
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00412ef0
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push 0
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.005b51c8
add esp, 8
test eax, eax
jne 0x4119ea
push str._IsPluginSupportWhiteList_return_true
call fcn.0043eb40
add esp, 4
mov esi, 1
jmp 0x411ac6
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x629f50
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00409d40
push ecx
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0043d8d0
mov edi, dword [ebp - 0x18]
xor esi, esi
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x60], esi
cmp edi, 8
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
cmp edx, 0xe
jne 0x411b42
mov ecx, str.File_not_found
test edx, edx
je 0x411a65
sub esi, ecx
nop word [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x411b42
add ecx, 2
sub edx, 1
jne 0x411a50
xor ecx, ecx
push ecx
push str._IsPluginSupportWhiteList_return_value____d_
call fcn.0043eb40
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp ecx, 8
jb 0x411aaf
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411aa5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b93
push ecx
push edx
call fcn.0058fc74
add esp, 8
mov esi, dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x411b00
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411af6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b93
push ecx
push edx
call fcn.0058fc74
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 8
jb 0x411b73
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411b69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411b93
jmp 0x411b69
cmp edi, 8
lea eax, [ebp - 0x2c]
push str.001.002.092.014
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.005b474e
xor ecx, ecx
add esp, 8
test eax, eax
setg cl
mov dword [ebp - 0x60], ecx
jmp 0x411a67
push ecx
push edx
call fcn.0058fc74
add esp, 8
mov eax, esi
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.0058fc43
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005ae1ee
int3