Function at 0x425630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9441
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x65f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x629f50
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.00409d40
push str.C:ProgramData
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040a140
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x669b6c]
cmp eax, dword [ecx + 4]
jle 0x42570e
push 0x669b6c
call fcn.0058fdb5
add esp, 4
cmp dword [0x669b6c], 0xffffffff
jne 0x42570e
mov byte [ebp - 4], 1
xorps xmm0, xmm0
push 0
push 0x629f50
mov ecx, 0x669b54
mov dword [0x669b64], 0
movups xmmword [0x669b54], xmm0
mov dword [0x669b68], 0
call fcn.00409d40
push 0x5eba20
call fcn.005900c7
push 0x669b6c
mov byte [ebp - 4], 0
call fcn.0058fd6b
add esp, 8
mov edi, dword [0x669b64]
test edi, edi
jne 0x425750
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
push eax
push edi
push edi
push 0x61b76c
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x42573d
push dword [ebp - 0x2c]
mov ecx, 0x669b54
call fcn.0040a140
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, dword [0x669b64]
test edi, edi
je 0x42579e
cmp dword [0x669b68], 8
mov ecx, 0x669b54
mov eax, dword [ebp - 0x14]
cmovae ecx, dword [0x669b54]
cmp edi, eax
ja 0x42578d
cmp eax, 8
mov dword [ebp - 0x18], edi
lea eax, [edi + edi]
push eax
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push ecx
push esi
call fcn.005aa940
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x42579e
push ecx
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
call fcn.0040a010
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.0044712b
mov ecx, eax
test ecx, ecx
je 0x425926
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
test esi, esi
je 0x425801
test esi, 0xffff0000
jne 0x4257e3
movzx eax, si
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403100
jmp 0x42580d
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4257f0
sub ecx, edx
sar ecx, 1
jmp 0x425803
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403300
push str.LenovoImControllerPlugins_
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00402c50
add esp, 0xc
mov esi, dword [ebp - 0x34]
or edi, 0xffffffff
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov esi, dword [esi]
sub esi, 0x10
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x425889
cmp dword [esi + 0xc], 0
jl 0x425879
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x425879
push edx
call fcn.00402f10
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42586f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
add eax, 0x10
mov dword [esi], eax
jmp 0x42588c
push dword [ecx - 0xc]
mov esi, dword [ebp - 0x34]
push ecx
mov ecx, esi
call fcn.00403300
jmp 0x42588c
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4258aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4258c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
setne al
mov byte [ebp - 0x2d], al
cmp ecx, 8
jb 0x42590b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4258fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425930
push ecx
push edx
call fcn.0058fc74
mov al, byte [ebp - 0x2d]
add esp, 8
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.0058fc43
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403700
call fcn.005ae1ee
int3