Function at 0x464bd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66ae57
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x718924]
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
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov eax, dword [0x718044]
cmp eax, 0xffffffff
jne 0x464d14
lea eax, [ebp - 0x260]
push 0x1d
push eax
call fcn.00463760
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x464c51
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov ecx, edx
mov byte [ebp - 4], 2
lea eax, [ecx + 2]
mov dword [ebp - 0x264], eax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464c80
sub ecx, dword [ebp - 0x264]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.0044e920
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
call fcn.00448fb0
push 0
push str.USBVersion
push str.Local
lea ecx, [ebp - 0x248]
call fcn.00453650
mov edx, dword [ebp - 0x234]
mov dword [0x718044], eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x464d14
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464d05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464faa
push edx
push ecx
call fcn.004cb4db
mov eax, dword [0x718044]
add esp, 8
test eax, eax
je 0x464df7
lea eax, [ebp - 0x248]
push 1
push eax
call fcn.004653f0
push str.das
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004481e0
mov ecx, eax
add esp, 0x14
lea eax, [ebp - 0x230]
cmp eax, ecx
je 0x464d9d
mov eax, dword [ecx]
mov dword [ebp - 0x230], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [ebp - 0x260]
call fcn.00448fb0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00448fb0
test ebx, ebx
mov edx, str._allusers_appdata
mov eax, str.user_appdata
cmove edx, eax
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x464dd0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464dd0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.0044e7a0
mov edi, dword [ebp - 0x220]
jmp 0x464ec8
test ebx, ebx
je 0x464e5a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464e30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0044e920
mov edi, dword [ebp - 0x220]
jmp 0x464ec8
lea eax, [ebp - 0x260]
push eax
call fcn.004b2720
mov ecx, eax
add esp, 4
lea eax, [ebp - 0x230]
cmp eax, ecx
je 0x464ebd
mov eax, dword [ecx]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x230], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [ebp - 0x220], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [ebp - 0x260]
call fcn.00448fb0
test edi, edi
jne 0x464f1d
push str._GetAppDataDir_Failed_
push str.kupdate::KPathUtil::_GetAppDataDir
push 0x76
push str.D:publish_283488_rc_2404Coding_supportwpsupdateUpdateClient_srcutilKPathUtil.cpp
push edi
call fcn.0048ffd0
mov eax, dword [ebp - 0x230]
add esp, 0x14
mov ecx, dword [ebp - 0x22c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x228]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x224]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
jmp 0x464f8c
call fcn.004a6ad0
test al, al
je 0x464f32
mov eax, str.kingsoftPDF
mov ecx, 0xd
jmp 0x464f3c
mov eax, str.kingsoftoffice6
mov ecx, 0x11
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0044e7a0
mov eax, dword [ebp - 0x230]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x22c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x228]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x224]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x220]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x14], eax
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.004cb998
mov esp, ebp
pop ebp
ret
call fcn.004e6589
int3