Function at 0x4d5630
Capabilities:
Check if file exists

Disassembly:
push 0xe4
mov eax, 0x5edc99
call fcn.00593b07
mov esi, edx
mov edi, ecx
lea ecx, [ebp - 0x88]
call fcn.004ced2c
xor ebx, ebx
lea ecx, [ebp - 0x40]
push str._bkinfo_
mov edx, eax
mov dword [ebp - 4], ebx
call fcn.0041151f
pop ecx
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040b67e
cmp esi, 1
jne 0x4d567e
mov esi, str.mouse_preview_config
jmp 0x4d5688
cmp esi, 2
jne 0x4d5699
mov esi, str.mouse_set_config
push esi
call fcn.005baec0
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 0x4d5960
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.0041e238
pop ecx
test eax, eax
jne 0x4d5709
cmp dword [ebp - 0xc4], eax
jne 0x4d573a
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.0043698e
pop ecx
push ebx
lea ecx, [ebp - 0x50]
call fcn.00404ba6
mov byte [ebp - 4], 6
cmp dword [ebp - 0x60], 0
je 0x4d58d3
lea ecx, [ebp - 0xe8]
call fcn.00405236
test eax, eax
je 0x4d58d3
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 0x4d58aa
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.00436e86
cmp dword [ebp - 0xc4], 4
jne 0x4d587f
cmp edi, 1
jne 0x4d5822
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 0x4d5860
cmp edi, 2
jne 0x4d5842
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 0x4d5860
cmp edi, 3
jne 0x4d5887
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.00436bfa
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0040b67e
jmp 0x4d5887
cmp dword [ebp - 0xc4], edi
je 0x4d5890
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 0x4d57b9
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.0041e2eb
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.0041e3bd
lea ecx, [ebp - 0x70]
call fcn.00404812
lea ecx, [ebp - 0x40]
call fcn.0040b67e
call fcn.00593ab1
ret