Function at 0x4a56a0
Capabilities:
Delete file
Get common file path
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59efee
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x61ce74]
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 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6adc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64c], eax
lea edi, [ebp - 0x218]
mov dword [ebp - 4], 0
shr edi, 0x10
test edi, edi
jne 0x4a5745
lea eax, [ebp - 0x218]
movzx ebx, ax
lea ecx, [ebp - 0x64c]
push ebx
mov dword [ebp - 0x650], ebx
call fcn.00426130
jmp 0x4a5781
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a5750
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64c]
call fcn.004263f0
lea eax, [ebp - 0x218]
movzx ebx, ax
mov dword [ebp - 0x650], ebx
lea eax, [ebp - 0x64c]
mov dword [ebp - 4], 1
push eax
call fcn.00474b30
add esp, 4
lea ecx, [ebp - 0x64c]
push 0xd
push str.kingsoftqing
call fcn.00425dc0
push 1
push 1
push dword [ebp - 0x64c]
call fcn.00470770
add esp, 0xc
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6ae6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x648], eax
mov byte [ebp - 4], 2
test edi, edi
jne 0x4a57ee
push ebx
lea ecx, [ebp - 0x648]
call fcn.00426130
jmp 0x4a5819
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a57f7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x648]
call fcn.004263f0
lea eax, [ebp - 0x648]
mov byte [ebp - 4], 3
push eax
call fcn.00474b30
add esp, 4
lea ecx, [ebp - 0x648]
push 0x12
push str.kingsoftWPS_Cloud
call fcn.00425dc0
push 1
push 1
push dword [ebp - 0x648]
call fcn.00470770
mov edx, dword [ebp - 0x648]
or ebx, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5874
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64c]
mov eax, ebx
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5898
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x20a
lea eax, [ebp - 0x62c]
push 0
push eax
call fcn.00540d70
add esp, 0xc
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6af0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
push 0x104
lea eax, [ebp - 0x62c]
mov dword [ebp - 4], 4
push eax
push 0x1a
call fcn.00472c70
lea ecx, [ebp - 0x62c]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a58f1
sub ecx, edx
lea eax, [ebp - 0x62c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x668]
call fcn.004263f0
lea eax, [ebp - 0x668]
push eax
call fcn.00474b30
mov eax, dword [ebp - 0x668]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add eax, 0x10
add esp, 8
mov dword [ebp - 0x67c], eax
push 0x25
push str.Kingsoftoffice6OfficeSpace_resource
lea ecx, [ebp - 0x67c]
mov byte [ebp - 4], 5
call fcn.00425dc0
mov esi, dword [ebp - 0x67c]
push 1
push 1
push esi
call fcn.00470770
add esp, 0xc
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a597e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x668]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x648], eax
push 0x10
push str.qingdatadefault
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 6
call fcn.00425dc0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6afa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64c], eax
mov byte [ebp - 4], 7
test edi, edi
jne 0x4a59e7
push dword [ebp - 0x650]
lea ecx, [ebp - 0x64c]
call fcn.00426130
jmp 0x4a5a12
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a59f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64c]
call fcn.004263f0
lea eax, [ebp - 0x64c]
mov byte [ebp - 4], 8
push eax
call fcn.00474b30
add esp, 4
lea ecx, [ebp - 0x64c]
push 0x1a
push str.kingsoftWPS_Cloudupdate_
call fcn.00425dc0
push ecx
mov esi, esp
mov dword [ebp - 0x664], esp
mov dword [ebp - 0x674], esi
mov eax, dword [ebp - 0x64c]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov byte [ebp - 4], 9
mov dword [ebp - 0x674], esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
call fcn.0049dd40
add esp, 8
lea eax, [ebp - 0x668]
lea ecx, [ebp - 0x648]
push eax
call fcn.00427100
push 0x15
push str.kingsoftqingdefault
lea ecx, [ebp - 0x648]
call fcn.00425dc0
push ecx
mov esi, esp
mov dword [ebp - 0x664], esp
mov dword [ebp - 0x674], esi
mov eax, dword [ebp - 0x64c]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x674], esi
mov edi, dword [ebp - 0x648]
add edi, 0xfffffff0
push edi
call fcn.00425f70
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
call fcn.0049dd40
push str.upqing.exe
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x680]
push eax
call fcn.00425c00
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x14
push dword [eax]
call esi
mov edx, dword [ebp - 0x680]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5b3e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.version.ini
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x680]
push eax
call fcn.00425c00
add esp, 0xc
push dword [eax]
call esi
mov edx, dword [ebp - 0x680]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5b7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x668]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x654], eax
push 0xd
push str.kingsoftqing
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0xb
call fcn.00425dc0
push 1
push 1
push dword [ebp - 0x654]
call fcn.00470770
add esp, 0xc
lea eax, [ebp - 0x668]
lea ecx, [ebp - 0x654]
push eax
call fcn.00427100
push 8
push str.qingdata
lea ecx, [ebp - 0x654]
call fcn.00425dc0
mov esi, dword [ebp - 0x654]
push 1
push 1
push esi
call fcn.00470770
add esp, 0xc
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a5c0f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64c]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5c30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4a5c48
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6b04
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x658], eax
mov eax, str.DisableDelAccountData
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x658]
test eax, 0xffff0000
jne 0x4a5c86
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4a5c92
push 0x15
push str.DisableDelAccountData
call fcn.004263f0
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 0xd
push eax
call fcn.004a0770
mov edx, dword [ebp - 0x658]
add esp, 4
test eax, eax
mov byte [ebp - 4], 4
mov eax, ebx
sete byte [ebp - 0x66d]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5ccf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x66d], 0
je 0x4a5d32
lea eax, [ebp - 0x66c]
mov ecx, 0x629c48
push eax
call fcn.00484d10
push 0x15
push str.Kingsoftkaccountsdk
lea ecx, [ebp - 0x66c]
mov byte [ebp - 4], 0xe
call fcn.00425dc0
push 1
push 0
push dword [ebp - 0x66c]
call fcn.00470770
mov edx, dword [ebp - 0x66c]
add esp, 0xc
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a5d32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x684]
mov ecx, 0x629c48
push eax
call fcn.00484fb0
push 0x27
push str.KingsoftWPS_Cloud_Filesuserdataqing
lea ecx, [ebp - 0x684]
mov byte [ebp - 4], 0xf
call fcn.00425dc0
push str.config.ini
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.00425c00
add esp, 0xc
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 0x10
jne 0x4a6a1b
lea eax, [ebp - 0x67c]
mov ecx, 0x629c48
push eax
call fcn.00484fb0
push 0x22
push str.KingsoftWPS_Cloud_Filesuserdata
lea ecx, [ebp - 0x67c]
mov byte [ebp - 4], 0x11
call fcn.00425dc0
lea eax, [ebp - 0x644]
push eax
call fcn.004e1310
add esp, 4
cmp dword [ebp - 0x634], 0
mov byte [ebp - 4], 0x12
je 0x4a5df7
cmp dword [ebp - 0x630], 8
lea eax, [ebp - 0x644]
push str.zh_CN
cmovae eax, dword [ebp - 0x644]
push eax
call fcn.0054b581
add esp, 8
test eax, eax
je 0x4a5df7
mov eax, 0x5c9444
mov ecx, 8
jmp 0x4a5e01
mov eax, str.qing
mov ecx, 5
push ecx
push eax
lea ecx, [ebp - 0x67c]
call fcn.00425dc0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6b0e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
mov eax, str.SOFTWAREKingsoftWPSCloud
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x66c]
test eax, 0xffff0000
jne 0x4a5e4c
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4a5e58
push 0x1a
push str.SOFTWAREKingsoftWPSCloud
call fcn.004263f0
mov byte [ebp - 4], 0x14
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6b18
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x658], esi
mov edi, dword [ebp - 0x66c]
lea eax, [ebp - 0x648]
push eax
push edi
push 0x80000001
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x648], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x648]
mov dword [ebp - 0x654], 0
test eax, eax
je 0x4a5f9a
lea ecx, [ebp - 0x654]
push ecx
push 0
lea ecx, [ebp - 0x650]
push ecx
push 0
push str.NeedUninstallQingUserData
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x650]
cmp eax, 1
je 0x4a5eea
cmp eax, 2
jne 0x4a5f89
lea ecx, [ebp - 0x658]
call fcn.00426010
mov edx, dword [ebp - 0x654]
shr edx, 1
add edx, 1
js 0x4a6b22
mov esi, dword [ebp - 0x658]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4a5f2f
push edx
lea ecx, [ebp - 0x658]
call fcn.00426250
mov esi, dword [ebp - 0x658]
lea eax, [ebp - 0x654]
push eax
push esi
lea eax, [ebp - 0x650]
push eax
push 0
push str.NeedUninstallQingUserData
push dword [ebp - 0x648]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a5f89
mov eax, dword [ebp - 0x654]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x4a6b22
cmp eax, dword [esi - 8]
jg 0x4a6b22
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x648]
test eax, eax
je 0x4a5f9a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x648], 0
mov ecx, str.false
mov eax, esi
jmp 0x4a5fb0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a5fde
test dx, dx
je 0x4a5fd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a5fde
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a5fb0
mov dword [ebp - 0x650], 0
jmp 0x4a5fe9
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x650], ecx
mov dword [ebp - 0x648], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 0x14
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a600e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x650], 0
je 0x4a685e
mov dword [ebp - 0x698], 0
mov dword [ebp - 0x694], 0
mov dword [ebp - 0x690], 0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x17
push eax
call fcn.00425f70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x658], eax
push 1
push 0x5b14ac
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 0x18
call fcn.00425dc0
push 0xa
push str.usercenter
lea ecx, [ebp - 0x658]
call fcn.00425dc0
mov esi, dword [ebp - 0x658]
lea eax, [ebp - 0x650]
push eax
push 0x2001f
push 0
push esi
push 0x80000001
mov dword [ebp - 0x650], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a682e
mov eax, dword [ebp - 0x650]
lea ecx, [ebp - 0x674]
push 0
push 0
push 0
push 0
push ecx
push 0
push 0
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x698], eax
push ecx
push 0
push 0
push 0
push eax
mov dword [ebp - 0x694], 0
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x674], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x650], 0
mov dword [ebp - 0x68c], 0
jbe 0x4a680b
mov edi, 0x5b14c4
lea esp, [esp]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00540d70
add esp, 0xc
mov dword [ebp - 0x664], 0x104
lea eax, [ebp - 0x6b0]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x68c]
push dword [ebp - 0x698]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4a67ec
add esi, 0xfffffff0
push esi
call fcn.00425f70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x654], eax
push 1
push 0x5b14ac
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0x19
call fcn.00425dc0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a61b0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x654]
call fcn.00425dc0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6adc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x660], esi
lea eax, [ebp - 0x64c]
mov byte [ebp - 4], 0x1b
push eax
push dword [ebp - 0x654]
mov dword [ebp - 0x64c], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x64c]
mov dword [ebp - 0x65c], 0
test eax, eax
je 0x4a6312
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x65c]
push ecx
push 0
lea ecx, [ebp - 0x69c]
push ecx
push 0
push str.cacheFileRoot
push eax
call edi
mov eax, dword [ebp - 0x69c]
cmp eax, 1
je 0x4a6261
cmp eax, 2
jne 0x4a62fc
lea ecx, [ebp - 0x660]
call fcn.00426010
mov edx, dword [ebp - 0x65c]
shr edx, 1
add edx, 1
js 0x4a6b22
mov esi, dword [ebp - 0x660]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4a62a6
push edx
lea ecx, [ebp - 0x660]
call fcn.00426250
mov esi, dword [ebp - 0x660]
lea eax, [ebp - 0x65c]
push eax
push esi
lea eax, [ebp - 0x69c]
push eax
push 0
push str.cacheFileRoot
push dword [ebp - 0x64c]
call edi
test eax, eax
jne 0x4a62fc
mov eax, dword [ebp - 0x65c]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x4a6b22
cmp eax, dword [esi - 8]
jg 0x4a6b22
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x4a630d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x5b14c4
mov dword [ebp - 0x64c], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6adc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x65c], eax
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x65c]
test edi, 0xffff0000
jne 0x4a6356
movzx eax, di
push eax
call fcn.00426130
jmp 0x4a6362
push 1
push 0x5b14c4
call fcn.004263f0
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 0x1d
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6370
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x65c]
call fcn.00425dc0
cmp dword [esi - 0xc], 0
mov edi, dword [ebp - 0x65c]
je 0x4a63f8
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x678], esp
mov ebx, esp
push eax
mov dword [ebp - 0x688], ebx
call fcn.00425f70
add eax, 0x10
mov dword [ebx], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x1e
mov ebx, esp
push eax
mov dword [ebp - 0x688], ebx
call fcn.00425f70
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x1d
call fcn.0049fd50
add esp, 8
test eax, eax
je 0x4a63f5
push 1
push 1
push esi
call fcn.00470770
add esp, 0xc
or ebx, 0xffffffff
mov byte [ebp - 4], 0x1b
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4a6413
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4a6426
push eax
call edi
mov dword [ebp - 0x64c], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 0x19
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a644b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6adc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x65c], esi
lea eax, [ebp - 0x648]
mov byte [ebp - 4], 0x20
push eax
push dword [ebp - 0x654]
mov dword [ebp - 0x648], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x648]
mov dword [ebp - 0x660], 0
test eax, eax
je 0x4a6584
lea ecx, [ebp - 0x660]
push ecx
push 0
lea ecx, [ebp - 0x680]
push ecx
push 0
push str.syncFileRoot
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x680]
cmp eax, 1
je 0x4a64d8
cmp eax, 2
jne 0x4a6577
lea ecx, [ebp - 0x65c]
call fcn.00426010
mov edx, dword [ebp - 0x660]
shr edx, 1
add edx, 1
js 0x4a6b22
mov esi, dword [ebp - 0x65c]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4a651d
push edx
lea ecx, [ebp - 0x65c]
call fcn.00426250
mov esi, dword [ebp - 0x65c]
lea eax, [ebp - 0x660]
push eax
push esi
lea eax, [ebp - 0x680]
push eax
push 0
push str.syncFileRoot
push dword [ebp - 0x648]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a6577
mov eax, dword [ebp - 0x660]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x4a6b22
cmp eax, dword [esi - 8]
jg 0x4a6b22
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x648]
test eax, eax
je 0x4a6584
push eax
call edi
mov dword [ebp - 0x648], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6adc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x660], eax
mov eax, 0x5c9514
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x660]
test eax, 0xffff0000
jne 0x4a65cc
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4a65d8
push 4
push 0x5c9514
call fcn.004263f0
cmp dword [esi - 0xc], 0
mov edi, dword [ebp - 0x660]
mov byte [ebp - 4], 0x22
je 0x4a676f
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x688], esp
mov ebx, esp
push eax
mov dword [ebp - 0x678], ebx
call fcn.00425f70
add eax, 0x10
mov dword [ebx], eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x23
mov ebx, esp
push eax
mov dword [ebp - 0x678], ebx
call fcn.00425f70
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x22
call fcn.0049fd50
add esp, 8
test eax, eax
jne 0x4a675f
push ecx
mov ebx, esp
mov dword [ebp - 0x688], esp
mov dword [ebp - 0x6a4], ebx
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6adc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0x24
test eax, 0xffff0000
jne 0x4a6680
movzx eax, ax
mov ecx, ebx
push eax
call fcn.00426130
jmp 0x4a66ae
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6690
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004263f0
push ecx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x25
mov ebx, esp
push eax
mov dword [ebp - 0x678], ebx
call fcn.00425f70
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x22
call fcn.0049fd50
add esp, 8
test eax, eax
jne 0x4a675f
push ecx
mov ebx, esp
mov dword [ebp - 0x688], esp
mov dword [ebp - 0x6a8], ebx
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a6adc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, str.WPS_Cloud_Files
mov byte [ebp - 4], 0x26
mov ecx, ebx
test eax, 0xffff0000
jne 0x4a6725
movzx eax, ax
push eax
call fcn.00426130
jmp 0x4a6731
push 0xf
push str.WPS_Cloud_Files
call fcn.004263f0
push ecx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x27
mov ebx, esp
push eax
mov dword [ebp - 0x678], ebx
call fcn.00425f70
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0x22
call fcn.0049fd50
add esp, 8
test eax, eax
je 0x4a676c
push 1
push 1
push esi
call fcn.00470770
add esp, 0xc
or ebx, 0xffffffff
mov byte [ebp - 4], 0x20
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4a678a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x648]
test eax, eax
je 0x4a679b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x648], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 0x19
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a67c0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x654]
mov eax, ebx
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a67e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x658]
mov edi, 0x5b14c4
mov eax, dword [ebp - 0x68c]
inc eax
mov dword [ebp - 0x68c], eax
cmp eax, dword [ebp - 0x650]
jb 0x4a6120
mov edi, dword [ebp - 0x66c]
mov eax, dword [ebp - 0x698]
test eax, eax
je 0x4a6824
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x694], 0
mov byte [ebp - 4], 0x17
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a6849
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x698]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4a685e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.config.ini
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x664]
push eax
call fcn.00425c00
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push dword [eax]
call esi
mov edx, dword [ebp - 0x664]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a68a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str._filecache
lea eax, [ebp - 0x684]
push eax
lea eax, [ebp - 0x664]
push eax
call fcn.00425c00
push 1
push 1
push dword [eax]
mov byte [ebp - 4], 0x28
call fcn.00470770
mov edx, dword [ebp - 0x664]
add esp, 0x18
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a68eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0043c150
test eax, eax
je 0x4a697c
lea eax, [ebp - 0x650]
mov ecx, 0x629c48
push eax
call fcn.00484d10
push 0x27
push str.KingsoftWPS_Cloud_Filesuserdataqing
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0x29
call fcn.00425dc0
push str.config.ini
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x664]
push eax
call fcn.00425c00
add esp, 0xc
push dword [eax]
call esi
mov edx, dword [ebp - 0x664]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a695b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x650]
mov eax, ebx
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a697c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4a6997
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x630]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x4a69db
mov ecx, dword [ebp - 0x644]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a69d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6b2c
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edx, dword [ebp - 0x67c]
xor eax, eax
mov word [ebp - 0x644], ax
add edx, 0xfffffff0
mov dword [ebp - 0x634], 0
mov eax, ebx
mov dword [ebp - 0x630], 7
mov byte [ebp - 4], 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a6a36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a6a36
push dword [ebp - 0x6a0]
push 0x5b151c
push str.autologin
push str.General
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x5b4364
push str.SOFTWAREKingsoft
push 0
call fcn.0049cee0
push str.WPSCloud
push str.SOFTWAREKingsoft
push dword [ebp + 8]
call fcn.0049cee0
mov edx, dword [ebp - 0x6a0]
add esp, 0x18
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a6a7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x684]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a6a9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x668]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4a6ac0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
call fcn.0054b0c3
int3