Function at 0x4d596e
Capabilities:
Check if file exists

Disassembly:
push 0x9c
mov eax, 0x5edd47
call fcn.00593b07
mov esi, ecx
lea ecx, [ebp - 0xa0]
call fcn.004ced2c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], bl
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 1
push eax
push str.play_type
mov edx, str.Software360360huabaoDynamicWallpaper
mov dword [ebp - 0xa8], ebx
mov ecx, reloc.WS2_32.dll_accept
call fcn.00425cdd
cmp dword [ebp - 0xa8], 1
pop ecx
pop ecx
jne 0x4d5ad6
cmp esi, 1
jne 0x4d5a3b
mov esi, str._bkinfomouse_preview_config
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040b220
push 0x61ee2e
lea ecx, [ebp - 0x58]
call fcn.004045aa
push 0xfde9
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00426889
pop ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00404812
lea eax, [ebp - 0x58]
push eax
push str.__windowworker___workerpreview___config___engine
jmp 0x4d5aa5
cmp esi, 2
jne 0x4d5db9
mov esi, str._bkinfomouse_set_config
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040b220
push 0x61ee2e
lea ecx, [ebp - 0x58]
call fcn.004045aa
push 0xfde9
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00426889
pop ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00404812
lea eax, [ebp - 0x58]
push eax
push str.__windowworker___workershow___config___engine
lea eax, [ebp - 0x40]
push eax
call fcn.004031ba
add esp, 0xc
lea ecx, [ebp - 0x88]
push eax
call fcn.00409145
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00404812
jmp 0x4d5db9
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x70], ax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x40]
push 0x61ee2e
call fcn.004045aa
mov byte [ebp - 4], 8
cmp esi, 1
jne 0x4d5c42
push str._bkinfopreview_config
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.0041154e
pop ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5bac
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
lea esi, [ebp - 0x40]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00430a1f
add esp, 0x18
mov edx, esi
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00404812
mov eax, esi
push eax
lea eax, [ebp - 0x28]
push str.__windowworker___workerpreview___config
push eax
call fcn.004031ba
add esp, 0xc
lea ecx, [ebp - 0x88]
push eax
call fcn.00409145
lea ecx, [ebp - 0x28]
call fcn.00404812
jmp 0x4d5bc5
mov esi, str.__windowworker___workerpreview___config
push esi
call fcn.005ae8e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.0040464f
push str._bkinfomouse_preview_config
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.0041154e
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
lea esi, [ebp - 0x40]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00430a1f
add esp, 0x18
mov edx, esi
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00404812
mov eax, esi
push eax
lea eax, [ebp - 0x28]
push 0x660fb8
push eax
call fcn.004031ba
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x4d5d7c
cmp esi, 2
jne 0x4d5d9d
push str._bkinfo_video_config
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.0041154e
pop ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5ceb
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
lea esi, [ebp - 0x40]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00430a1f
add esp, 0x18
mov edx, esi
mov byte [ebp - 4], 0xc
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00404812
mov eax, esi
push eax
lea eax, [ebp - 0x28]
push str.__windowworker___workershow___config
push eax
call fcn.004031ba
add esp, 0xc
lea ecx, [ebp - 0x88]
push eax
call fcn.00409145
lea ecx, [ebp - 0x28]
call fcn.00404812
jmp 0x4d5d04
mov esi, str.__windowworker___workershow___config
push esi
call fcn.005ae8e0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x88]
call fcn.0040464f
push str._bkinfomouse_set_config
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.0041154e
pop ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b0ac
lea ecx, [ebp - 0x28]
call fcn.0040b67e
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
lea esi, [ebp - 0x40]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x28]
call fcn.00430a1f
add esp, 0x18
mov edx, esi
mov byte [ebp - 4], 0xd
mov ecx, eax
call fcn.004166a4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00404812
mov eax, esi
push eax
lea eax, [ebp - 0x28]
push 0x660fb8
push eax
call fcn.004031ba
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4d5d86
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004043c3
lea ecx, [ebp - 0x28]
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.00404812
lea ecx, [ebp - 0x58]
call fcn.0040b67e
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0040b67e
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x28]
call fcn.00430ab2
add esp, 0x18
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x4d5de7
mov eax, dword [eax]
push eax
push 0x1f17
push str.BeautifyLaunchWorker
push str.__s__d___beautify_lanuch_cmd_s
call fcn.0040a649
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040b67e
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x28]
call fcn.00430ab2
add esp, 0x18
mov ecx, eax
call fcn.004c6c97
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x88]
call fcn.00404812
lea ecx, [ebp - 0xa0]
call fcn.0040b67e
call fcn.00593ab1
ret