Function at 0x43e520
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x480a77
mov eax, dword fs:[0]
push eax
mov eax, 0x2a48
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x2a44], eax
push ebx
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x2a58]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043bac0
mov edi, eax
test edi, edi
je 0x43e673
mov ecx, edi
call fcn.0043f460
mov eax, dword [0x4a1014]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x2a64], 0
call fcn.00441780
test eax, eax
jne 0x43e67a
mov edx, dword [0x4a1014]
mov dword [esp + 0x18], edx
push 0x9b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a64], 1
call fcn.0041cf30
push 0x96
lea ecx, [esp + 0x20]
call fcn.0041d020
mov eax, dword [eax]
mov ebx, dword [esp + 0x18]
push 1
push 0x40
push eax
push ebx
push 0
mov ecx, edi
mov byte [esp + 0x2a74], 2
call fcn.004414c0
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
mov byte [esp + 0x2a60], 1
cmp ecx, dword [0x4a1010]
je 0x43e620
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43e620
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
push 2
call edx
lea eax, [ebx - 0xc]
cmp eax, dword [0x4a1010]
je 0x43e64a
lea esi, [ebx - 0xc]
push esi
call edi
test eax, eax
jg 0x43e64a
push esi
call fcn.00461ef0
add esp, 4
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x43e673
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43e673
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
xor eax, eax
jmp 0x43e938
mov eax, dword [0x4a1014]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push 0x48a340
lea ecx, [esp + 0x24]
mov byte [esp + 0x2a64], 3
call fcn.0041ca80
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x24]
push eax
push 0x3443
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.0043bb50
mov ebx, eax
test ebx, ebx
je 0x43e6ef
mov edx, dword [0x4a1014]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov byte [esp + 0x2a64], 4
call fcn.00440930
test eax, eax
jne 0x43e708
lea ecx, [esp + 0x14]
call fcn.0041c130
lea ecx, [esp + 0x20]
call fcn.0041c160
lea ecx, [esp + 0x10]
call fcn.0041c130
xor eax, eax
jmp 0x43e938
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
push edx
push ebx
call eax
mov ecx, edi
call fcn.0043f760
test eax, eax
je 0x43e72d
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov ecx, dword [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [esp + 0x10]
push edx
call fcn.0042bbd0
add esp, 4
lea eax, [esp + 0x14]
lea edi, [esi + 0x60]
push eax
mov ecx, edi
call fcn.0042c7d0
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0042c7e0
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x358]
call fcn.0041ca20
mov ecx, esi
call fcn.0043d350
mov ecx, esi
call fcn.0043d5b0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2856]
push ecx
mov word [esp + 0x2858], ax
call fcn.00461880
add esp, 0xc
push 1
push 0x1a
lea edx, [esp + 0x2854]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea eax, [esp + 0x1050]
push 0
push eax
call fcn.00461880
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360Desktopconfig.nxdb
lea ecx, [esp + 0x2850]
push ecx
lea edx, [esp + 0x1054]
push edx
call edi
push 0x800
lea eax, [esp + 0x850]
push 0
push eax
call fcn.00461880
add esp, 0xc
push str.360Desktop_bakconfig.nxdb
lea ecx, [esp + 0x2850]
push ecx
lea edx, [esp + 0x854]
push edx
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x104c]
push eax
call ebx
test eax, eax
je 0x43e844
push 0
lea ecx, [esp + 0x850]
push ecx
lea edx, [esp + 0x1054]
push edx
call fcn.0042e140
add esp, 0xc
push 0x800
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00461880
add esp, 0xc
push str.360Desktop_appdatastorage.db
lea ecx, [esp + 0x2850]
push ecx
lea edx, [esp + 0x54]
push edx
call edi
push 0x800
lea eax, [esp + 0x1850]
push 0
push eax
call fcn.00461880
add esp, 0xc
push str.360Desktop_bak_appdatastorage.db
lea ecx, [esp + 0x2850]
push ecx
lea edx, [esp + 0x1854]
push edx
call edi
lea eax, [esp + 0x4c]
push eax
call ebx
test eax, eax
je 0x43e8bc
push 0
lea ecx, [esp + 0x1850]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.0042e140
add esp, 0xc
push 0x800
lea eax, [esp + 0x2050]
push 0
push eax
call fcn.00461880
add esp, 0xc
push str.360DesktopMusicSelectPlayerId.ini
lea ecx, [esp + 0x2850]
push ecx
lea edx, [esp + 0x2054]
push edx
call edi
lea eax, [esp + 0x204c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 1
push 0
push esi
push 0x43cf00
lea ecx, [esp + 0x44]
call fcn.00401250
lea ecx, [esp + 0x2c]
call fcn.004012c0
lea ecx, [esp + 0x14]
call fcn.0041c130
lea ecx, [esp + 0x20]
call fcn.0041c160
lea ecx, [esp + 0x10]
call fcn.0041c130
mov eax, 1
mov ecx, dword [esp + 0x2a58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a44]
xor ecx, esp
call fcn.00461862
add esp, 0x2a54
ret