Function at 0x4dd5fc
Capabilities:
Check if file exists

Disassembly:
push 0xe4
mov eax, 0x5f6b1c
call fcn.0059bbd7
mov esi, edx
mov edi, ecx
lea ecx, [ebp - 0x88]
call fcn.004d6c63
xor ebx, ebx
lea ecx, [ebp - 0x40]
push str._bkinfo_
mov edx, eax
mov dword [ebp - 4], ebx
call fcn.0041152a
pop ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040b67e
cmp esi, 1
jne 0x4dd64a
mov esi, str.mouse_preview_config
jmp 0x4dd654
cmp esi, 2
jne 0x4dd665
mov esi, str.mouse_set_config
push esi
call fcn.005c2f90
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b220
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4dd92c
push 0xf
pop esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], esi
mov byte [ebp - 0x70], bl
mov dword [ebp - 0xd8], vtable.CxAutoArray_unsigned_char_.0
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push eax
cmovae ecx, dword [ebp - 0x40]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xc4], ebx
call fcn.0041e461
pop ecx
test eax, eax
jne 0x4dd6d5
cmp dword [ebp - 0xc4], eax
jne 0x4dd706
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
push dword [ebp - 0xd4]
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x58], bl
call fcn.0040464f
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.00409145
lea ecx, [ebp - 0x58]
call fcn.00404812
push 6
lea ecx, [ebp - 0xe8]
call fcn.00404ba6
mov byte [ebp - 4], 5
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
push eax
call fcn.0043ba5e
pop ecx
push ebx
lea ecx, [ebp - 0x50]
call fcn.00404ba6
mov byte [ebp - 4], 6
cmp dword [ebp - 0x60], 0
je 0x4dd89f
lea ecx, [ebp - 0xe8]
call fcn.00405236
test eax, eax
je 0x4dd89f
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004057b0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xe8]
call fcn.004057e8
jmp 0x4dd876
lea ecx, [ebp - 0xcc]
call fcn.004049ac
mov esi, eax
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], bl
push str.kind
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00405401
lea edx, [ebp - 0xc4]
mov ecx, eax
call fcn.0043bf56
cmp dword [ebp - 0xc4], 4
jne 0x4dd84b
cmp edi, 1
jne 0x4dd7ee
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
push str.skin_path
jmp 0x4dd82c
cmp edi, 2
jne 0x4dd80e
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 9
push str.click_path
jmp 0x4dd82c
cmp edi, 3
jne 0x4dd853
xor eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xa
push str.drag_path
mov ecx, esi
call fcn.00405401
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0043bcca
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0040b67e
jmp 0x4dd853
cmp dword [ebp - 0xc4], edi
je 0x4dd85c
push esi
lea ecx, [ebp - 0x50]
call fcn.00405570
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
call fcn.00404812
lea ecx, [ebp - 0xcc]
call fcn.004049b2
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xcc]
call fcn.004049b7
test al, al
je 0x4dd785
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404e62
lea ecx, [ebp - 0xc0]
call fcn.00406b04
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00406b1f
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0x40]
push dword [ebp - 0x90]
cmovae edx, dword [ebp - 0xa0]
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
call fcn.0041e514
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.00404812
lea ecx, [ebp - 0xc0]
call fcn.004065e4
lea ecx, [ebp - 0x50]
call fcn.00404dbc
lea ecx, [ebp - 0xe8]
call fcn.00404dbc
lea ecx, [ebp - 0xd8]
call fcn.0041e5e6
lea ecx, [ebp - 0x70]
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67e
call fcn.0059bb81
ret