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

Disassembly:
push 0xffffffffffffffff
push 0x4823d9
mov eax, dword fs:[0]
push eax
mov eax, 0x18a0
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x189c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
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 0x42fcf6
push ebp
lea ecx, [esp + 0x20]
call fcn.0041d2c0
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 [0x4a4010]
je 0x42f5c4
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42f5c4
push esi
call fcn.00462471
add esp, 4
mov ecx, dword [0x4a7cf8]
cmp ecx, ebx
je 0x42fd08
call fcn.0043ec90
mov dword [esp + 0x38], eax
cmp eax, ebx
je 0x42fd08
mov ecx, dword [0x4a7cf8]
call fcn.00423f00
mov ecx, eax
call fcn.00423f70
test eax, eax
je 0x42f620
mov ecx, dword [0x4a7cf8]
call fcn.00423f00
mov ecx, eax
call fcn.00423f60
test eax, eax
jne 0x42f620
push ebp
mov ecx, edi
call fcn.0042cf30
cmp eax, 1
je 0x42fd08
push ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], ebx
call fcn.0040cb50
push 0x800
lea edx, [esp + 0x60]
push ebx
push edx
mov dword [esp + 0x18c8], 1
call fcn.00461950
add esp, 0xc
push 9
push ebx
push str._appdata_
lea ecx, [esp + 0x4c]
call fcn.0040d0e0
cmp eax, 0xffffffff
jne 0x42f679
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 0x42f84c
push 0x7fe
lea edx, [esp + 0x10b6]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x10bc], cx
call fcn.00461950
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.0041d2c0
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c0], 2
call fcn.0041d2c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 3
call fcn.0041b900
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [esi - 8], ebx
jl 0x42f72f
push str.360DESKTOP
push esi
call fcn.00463d66
add esp, 8
cmp eax, ebx
je 0x42f72f
sub eax, esi
sar eax, 1
js 0x42f72f
mov dword [esp + 0x24], 1
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f834
mov esi, dword [esp + 0x18]
push str.appbreathlight.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.SelectMusicConfig.xml
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.minikugou.png
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.minikuwo.png
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.app_stat.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.loginassis.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.promotionactive.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.update.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.wallpaper.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
push str.DtWebmailHost.nxdb
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42f834
cmp dword [esp + 0x24], ebx
je 0x42f834
lea ecx, [esp + 0x14]
call fcn.0041b2e0
lea ecx, [esp + 0x18]
call fcn.0041b2e0
lea ecx, [esp + 0x40]
call fcn.0040cb90
jmp 0x42fd08
lea ecx, [esp + 0x14]
call fcn.0041b2e0
lea ecx, [esp + 0x18]
call fcn.0041b2e0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x4a4014]
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.0041c430
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c0], 5
call fcn.0041be90
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
mov byte [esp + 0x18bc], 4
cmp ecx, dword [0x4a4010]
je 0x42f8bc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42f8bc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00462471
add esp, 4
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x30]
call fcn.0041be90
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.0041d2c0
mov esi, dword [esp + 0x20]
push str.appbreathlight.ini
push esi
mov byte [esp + 0x18c4], 6
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fb56
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.0041d2c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 7
call fcn.0041b900
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
cmp dword [0x4a7cf8], 0
je 0x42fb28
push str.bin_acs.ini
lea ecx, [esp + 0x18]
call fcn.004240e0
test eax, eax
jl 0x42fb28
mov edx, dword [0x4a4014]
mov dword [esp + 0x18], edx
mov ecx, dword [0x4a7cf8]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x18c0], 8
call fcn.0043fd40
push 0x800
lea ecx, [esp + 0x10b4]
push 0
push ecx
call fcn.00461950
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0x48bb14
push edx
lea eax, [esp + 0x10b8]
push eax
call ebx
push 0x800
lea ecx, [esp + 0x860]
push 0
push ecx
call fcn.00461950
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.0042ef40
cmp dword [esp + 0x1c], 0
je 0x42fa16
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x85c]
push eax
push ecx
mov ecx, edi
call fcn.0042f0b0
test eax, eax
je 0x42fb1f
lea edx, [esp + 0x10b0]
push edx
lea ecx, [esp + 0x20]
call fcn.0041d2c0
push eax
mov byte [esp + 0x18c0], 9
call fcn.0042e0d0
add esp, 4
cmp eax, 1
lea ecx, [esp + 0x1c]
sete bl
mov byte [esp + 0x18bc], 8
call fcn.0041b2e0
test bl, bl
je 0x42fb1f
cmp dword [edi + 0x228], 0
jne 0x42faed
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.00461950
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.00462b97
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.0041b2e0
lea ecx, [esp + 0x14]
call fcn.0041b2e0
lea ecx, [esp + 0x20]
call fcn.0041b2e0
lea ecx, [esp + 0x28]
call fcn.0041b580
lea ecx, [esp + 0x40]
call fcn.0040cb90
jmp 0x42fd08
lea ecx, [esp + 0x18]
call fcn.0041b2e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 6
call fcn.0041b2e0
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42fb7b
push ebp
push str._s_DOES_NOT_exists_and_will_Extract.
call fcn.0041aa30
add esp, 8
lea ecx, [esp + 0x20]
call fcn.0041b2e0
lea ecx, [esp + 0x28]
call fcn.0041b580
lea ecx, [esp + 0x40]
call fcn.0040cb90
mov eax, 1
jmp 0x42fd0a
cmp dword [esp + 0x24], 0
je 0x42fc34
push str.SelectMusicConfig.xml
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.minikugou.png
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.minikuwo.png
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.app_stat.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.loginassis.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.promotionactive.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.update.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.wallpaper.ini
push esi
call fcn.004626b1
add esp, 8
test eax, eax
je 0x42fc34
push str.DtWebmailHost.nxdb
push esi
call fcn.004626b1
add esp, 8
test eax, eax
jne 0x42faff
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x18]
call fcn.0041d2c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x18bc], 0xa
call fcn.0041b900
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push str.40000096config.ini
lea ecx, [esp + 0x18]
call fcn.004240e0
lea ecx, [esp + 0x14]
test eax, eax
jl 0x42fc7e
call fcn.0041b2e0
jmp 0x42fb56
mov byte [esp + 0x18bc], 6
call fcn.0041b2e0
cmp dword [edi + 0x228], 0
je 0x42fca2
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call fcn.0042ed40
jmp 0x42fcd5
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x60]
push eax
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.0042ef40
cmp dword [esp + 0x1c], 0
mov esi, eax
je 0x42fcd7
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov ecx, edi
call fcn.0042f0b0
mov esi, eax
lea ecx, [esp + 0x20]
call fcn.0041b2e0
lea ecx, [esp + 0x28]
call fcn.0041b580
lea ecx, [esp + 0x40]
call fcn.0040cb90
mov eax, esi
jmp 0x42fd0a
push 0x2a0
push ebx
add edi, 0x20
push edi
call fcn.00461950
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.00461932
add esp, 0x18ac
ret 8