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

Disassembly:
push 0xffffffffffffffff
push 0x47f9a9
mov eax, dword fs:[0]
push eax
mov eax, 0x18a0
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x189c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a30f8]
xor eax, esp
push eax
lea eax, [esp + 0x18b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18c8]
mov ebp, dword [esp + 0x18c4]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x34], eax
cmp dword [edi + 0xc], ebx
je 0x4306a2
push ebp
lea ecx, [esp + 0x20]
call fcn.0041deb0
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x1c]
mov edx, dword [eax]
lea ecx, [edi + 0x20]
push ecx
push esi
push eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x18c8], ebx
mov dword [esp + 0x48], ecx
call eax
lea ecx, [esi - 0xc]
mov dword [esp + 0x18bc], 0xffffffff
cmp ecx, dword [0x4a1010]
je 0x42ff44
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42ff44
push esi
call fcn.00461ef0
add esp, 4
mov ecx, dword [0x4a4cf8]
cmp ecx, ebx
je 0x4306b4
call fcn.0043f760
mov dword [esp + 0x38], eax
cmp eax, ebx
je 0x4306b4
mov ecx, dword [0x4a4cf8]
call fcn.00424940
mov ecx, eax
call fcn.00433b70
test eax, eax
je 0x42ffa0
mov ecx, dword [0x4a4cf8]
call fcn.00424940
mov ecx, eax
call fcn.004249a0
test eax, eax
jne 0x42ffa0
push ebp
mov ecx, edi
call fcn.0042d8a0
cmp eax, 1
je 0x4306b4
push ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], ebx
call fcn.0040db70
push 0x800
lea edx, [esp + 0x60]
push ebx
push edx
mov dword [esp + 0x18c8], 1
call fcn.00461880
add esp, 0xc
push 9
push ebx
push str._appdata_
lea ecx, [esp + 0x4c]
call fcn.0040e070
cmp eax, 0xffffffff
jne 0x42fff9
mov eax, dword [edi + 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebp
push eax
lea eax, [esp + 0x64]
push eax
call ebx
jmp 0x4301e2
push 0x7fe
lea edx, [esp + 0x10b6]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x10bc], cx
call fcn.00461880
add esp, 0xc
push 1
push 0x1a
lea eax, [esp + 0x10b8]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp + 0x14]
push ecx
lea edx, [esp + 0x10b4]
push edx
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041deb0
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c0], 2
call fcn.0041deb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 3
call fcn.0041c4e0
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [esi - 8], ebx
jl 0x4300af
push str.360DESKTOP
push esi
call fcn.0046295e
add esp, 8
cmp eax, ebx
je 0x4300af
sub eax, esi
sar eax, 1
js 0x4300af
mov dword [esp + 0x24], 1
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4301ca
mov esi, dword [esp + 0x18]
push str.appbreathlight.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.SelectMusicConfig.xml
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.minikugou.png
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.minikuwo.png
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.app_stat.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.loginassis.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.promotionactive.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.update.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.wallpaper.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.DtWebmailHost.nxdb
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
push str.LoginAlertSwitcher.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4301ca
cmp dword [esp + 0x24], ebx
je 0x4301ca
lea ecx, [esp + 0x14]
call fcn.0041c130
lea ecx, [esp + 0x18]
call fcn.0041c130
lea ecx, [esp + 0x40]
call fcn.0040dbb0
jmp 0x4306b4
lea ecx, [esp + 0x14]
call fcn.0041c130
lea ecx, [esp + 0x18]
call fcn.0041c130
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x4a1014]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push 0xbf
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c0], 4
call fcn.0041d020
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c0], 5
call fcn.0041ca80
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
mov byte [esp + 0x18bc], 4
cmp ecx, dword [0x4a1010]
je 0x430252
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430252
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x30]
call fcn.0041ca80
mov ecx, dword [edi + 0x2d8]
push 0
lea eax, [esp + 0x2c]
push eax
push 0x3443
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0x24]
call fcn.0041deb0
mov esi, dword [esp + 0x20]
push str.appbreathlight.ini
push esi
mov byte [esp + 0x18c4], 6
call fcn.00462130
add esp, 8
test eax, eax
je 0x4304ec
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.0041deb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 7
call fcn.0041c4e0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
cmp dword [0x4a4cf8], 0
je 0x4304be
push str.bin_acs.ini
lea ecx, [esp + 0x18]
call fcn.00424b10
test eax, eax
jl 0x4304be
mov edx, dword [0x4a1014]
mov dword [esp + 0x18], edx
mov ecx, dword [0x4a4cf8]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x18c0], 8
call fcn.00440930
push 0x800
lea ecx, [esp + 0x10b4]
push 0
push ecx
call fcn.00461880
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0x488bac
push edx
lea eax, [esp + 0x10b8]
push eax
call ebx
push 0x800
lea ecx, [esp + 0x860]
push 0
push ecx
call fcn.00461880
mov edx, dword [esp + 0x24]
add esp, 0xc
push str.bin_acs.ini
push edx
lea eax, [esp + 0x864]
push eax
call ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x860]
push edx
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.0042f8c0
cmp dword [esp + 0x1c], 0
je 0x4303ac
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x85c]
push eax
push ecx
mov ecx, edi
call fcn.0042fa30
test eax, eax
je 0x4304b5
lea edx, [esp + 0x10b0]
push edx
lea ecx, [esp + 0x20]
call fcn.0041deb0
push eax
mov byte [esp + 0x18c0], 9
call fcn.0042ea50
add esp, 4
cmp eax, 1
lea ecx, [esp + 0x1c]
sete bl
mov byte [esp + 0x18bc], 8
call fcn.0041c130
test bl, bl
je 0x4304b5
cmp dword [edi + 0x228], 0
jne 0x430483
mov eax, dword [esp + 0x18]
push str.bin_acs.ini
push eax
lea ecx, [esp + 0x10b8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor edx, edx
push 0x50
push edx
lea eax, [esp + 0x1066]
push eax
mov word [esp + 0x1068], dx
call fcn.00461880
mov esi, dword [esp + 0x44]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
add esp, 0xc
push 0x28
lea edx, [esp + 0x1060]
push edx
lea eax, [esp + 0x10b8]
push eax
push esi
call ecx
push 0x28
lea edx, [esp + 0x1060]
push edx
add edi, 0x258
push edi
call fcn.004625ca
mov ecx, dword [esp + 0x48]
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
add esp, 0xc
push ecx
lea edx, [esp + 0x10b4]
push edx
push esi
call eax
lea ecx, [esp + 0x18]
call fcn.0041c130
lea ecx, [esp + 0x14]
call fcn.0041c130
lea ecx, [esp + 0x20]
call fcn.0041c130
lea ecx, [esp + 0x28]
call fcn.0041c160
lea ecx, [esp + 0x40]
call fcn.0040dbb0
jmp 0x4306b4
lea ecx, [esp + 0x18]
call fcn.0041c130
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 6
call fcn.0041c130
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x430511
push ebp
push str._s_DOES_NOT_exists_and_will_Extract.
call fcn.0041b730
add esp, 8
lea ecx, [esp + 0x20]
call fcn.0041c130
lea ecx, [esp + 0x28]
call fcn.0041c160
lea ecx, [esp + 0x40]
call fcn.0040dbb0
mov eax, 1
jmp 0x4306b6
cmp dword [esp + 0x24], 0
je 0x4305e0
push str.SelectMusicConfig.xml
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.minikugou.png
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.minikuwo.png
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.app_stat.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.loginassis.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.promotionactive.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.update.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.wallpaper.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.DtWebmailHost.nxdb
push esi
call fcn.00462130
add esp, 8
test eax, eax
je 0x4305e0
push str.LoginAlertSwitcher.ini
push esi
call fcn.00462130
add esp, 8
test eax, eax
jne 0x430495
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
call fcn.0041deb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 0xa
call fcn.0041c4e0
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push str.40000096config.ini
lea ecx, [esp + 0x18]
call fcn.00424b10
lea ecx, [esp + 0x14]
test eax, eax
jl 0x43062a
call fcn.0041c130
jmp 0x4304ec
mov byte [esp + 0x18bc], 6
call fcn.0041c130
cmp dword [edi + 0x228], 0
je 0x43064e
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call fcn.0042f6c0
jmp 0x430681
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.0042f8c0
cmp dword [esp + 0x1c], 0
mov esi, eax
je 0x430683
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov ecx, edi
call fcn.0042fa30
mov esi, eax
lea ecx, [esp + 0x20]
call fcn.0041c130
lea ecx, [esp + 0x28]
call fcn.0041c160
lea ecx, [esp + 0x40]
call fcn.0040dbb0
mov eax, esi
jmp 0x4306b6
push 0x2a0
push ebx
add edi, 0x20
push edi
call fcn.00461880
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x18b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x189c]
xor ecx, esp
call fcn.00461862
add esp, 0x18ac
ret 8