Function at 0x43cce0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8bfc
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x542488]
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 eax, dword fs:[0x2c]
mov ecx, dword [0x54c638]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x46c], esi
mov dword [ebp - 0x470], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5491bc]
cmp eax, dword [ecx + 4]
jg 0x43d077
cmp dword [0x5414c0], 0
jne 0x43d04b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8860
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cda7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.00407d30
cmp dword [ebp - 0x424], 8
lea ebx, [ebp - 0x438]
mov eax, dword [ebp - 0x428]
cmovae ebx, dword [ebp - 0x438]
mov dword [ebp - 4], 0
cmp eax, 0xa
jb 0x43cedc
add eax, 0xfffffff6
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea edi, [ebx + ecx*2]
mov esi, edi
sub esi, 0x50b660
lea esp, [esp]
cmp word [edi], 0x57
jne 0x43cfad
mov edx, 0xa
mov eax, 0x50b660
jmp 0x43ce30
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x43cfad
add eax, 2
sub edx, 1
jne 0x43ce30
sub edi, ebx
sar edi, 1
cmp edi, 0xffffffff
je 0x43ced6
push 0x208
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004b8860
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x43ced6
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.00402260
push 0x11
push str.Kingsoftoffice6
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00402670
lea ecx, [ebp - 0x438]
cmp ecx, eax
je 0x43cec7
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x43ceb8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00407d30
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0
call fcn.00402400
mov esi, dword [ebp - 0x46c]
push 1
xor eax, eax
mov dword [ebp - 0x440], 0
push 0x503854
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.00407d30
push str.wpscloudsvr.exe
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00401db0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 3
jb 0x43cf38
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00402670
cmp eax, 0x5414b0
je 0x43cf66
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x43cf58
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x5414b0
call fcn.00407d30
lea ecx, [ebp - 0x468]
call fcn.00402400
mov edx, dword [ebp - 0x43c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x43cfca
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43cfc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d0ad
jmp 0x43cfc0
cmp edi, ebx
je 0x43ced6
sub edi, 2
sub esi, 2
jmp 0x43ce10
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov edx, dword [ebp - 0x424]
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x43d02e
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43d024
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43d0b2
push edx
push ecx
call fcn.004b5e6a
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x5414b0
mov ecx, esi
call fcn.00402970
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.004b5e78
mov esp, ebp
pop ebp
ret 4
push 0x5491bc
call fcn.004b6104
add esp, 4
cmp dword [0x5491bc], 0xffffffff
jne 0x43cd3d
push 0x5022b0
call fcn.004b6416
push 0x5491bc
call fcn.004b60ba
add esp, 8
jmp 0x43cd3d
call fcn.004c19b9
call fcn.004c19b9
int3