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

Disassembly:
push 0x280
mov eax, 0x59df11
call fcn.005693c7
lea ecx, [ebp - 0x279]
call fcn.0056d0c0
xor ebx, ebx
lea ecx, [ebp - 0x279]
mov dword [ebp - 4], ebx
call fcn.00423433
push 0x5a06d8
push str.944cf
lea eax, [ebp - 0x278]
push str.Setting
push eax
call fcn.00421ecd
mov ecx, eax
call fcn.004071a1
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], ebx
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x5a2a74
mov dword [ebp - 0x21c], 7
push esi
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00403772
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0041a25c
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
push ebx
push 1
call fcn.00403628
mov esi, dword [ebp - 0x288]
mov edi, dword [ebp - 0x284]
cmp esi, edi
je 0x425647
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea ecx, [ebp - 0x260]
call fcn.00402a71
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.0056f390
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call ebx
test eax, eax
je 0x4254d8
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x4253cc
lea eax, [ebp - 0x218]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403772
push 0x5a0a50
mov byte [ebp - 4], 5
call fcn.00578706
pop ecx
push eax
push 0x5a0a50
lea ecx, [ebp - 0x230]
call fcn.00408c34
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408b95
push str..lnk
call fcn.00578706
pop ecx
push eax
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.00408c34
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4254c5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004190f4
push str.WanNengWBInput
mov byte [ebp - 4], 6
call fcn.00578706
add esp, 0xc
lea ecx, [ebp - 0x248]
push eax
push 0
push str.WanNengWBInput
call fcn.00403968
cmp eax, 0xffffffff
je 0x4254b6
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.00402a71
lea ecx, [ebp - 0x279]
call fcn.00423a60
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00403628
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.00403628
push 0
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call ebx
test eax, eax
je 0x425627
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x42551f
lea eax, [ebp - 0x218]
push eax
call fcn.00578706
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403772
push 0x5a0a50
mov byte [ebp - 4], 7
call fcn.00578706
pop ecx
push eax
push 0x5a0a50
lea ecx, [ebp - 0x230]
call fcn.00408c34
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x230]
call fcn.00408b95
push str..lnk
call fcn.00578706
pop ecx
push eax
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.00408c34
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425618
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004190f4
push str.WanNengWBInput
mov byte [ebp - 4], 8
call fcn.00578706
add esp, 0xc
lea ecx, [ebp - 0x248]
push eax
push 0
push str.WanNengWBInput
call fcn.00403968
cmp eax, 0xffffffff
je 0x425609
sub esp, 0x18
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.00402a71
lea ecx, [ebp - 0x279]
call fcn.00423a60
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00403628
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00403628
push 0
push 1
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00403628
add esi, 0x18
cmp esi, edi
jne 0x42535f
xor ebx, ebx
lea ecx, [ebp - 0x288]
call fcn.0040c264
push ebx
push 1
lea ecx, [ebp - 0x278]
call fcn.00403628
lea ecx, [ebp - 0x279]
call fcn.00421d40
call fcn.00569382
ret