Function at 0x4db0a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516112
mov eax, dword fs:[0]
push eax
mov eax, 0xbc60
call fcn.004f8350
mov eax, dword [0x544354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x5e16e8]
xor eax, eax
mov esi, dword [ebp + 8]
mov word [0x5ac8a0], ax
mov word [0x5ad8a0], ax
mov word [0x5ae8a0], ax
mov byte [0x5ac89a], al
mov dword [0x5ac89c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5b0398]
cmp eax, dword [ecx + 4]
jle 0x4db154
push 0x5b0398
call fcn.004f8d29
add esp, 4
cmp dword [0x5b0398], 0xffffffff
jne 0x4db154
mov dword [ebp - 4], 0
mov ecx, 0x5afa70
call fcn.004d5160
push 0x516d00
call fcn.004f8a9b
mov dword [ebp - 4], 0xffffffff
push 0x5b0398
call fcn.004f8cea
add esp, 8
mov ecx, 0x5afa70
mov dword [0x5ac890], 0x5afa70
call fcn.00494aa0
mov ecx, 0x5afad0
call fcn.00494aa0
mov ecx, 0x5afb30
call fcn.00494aa0
mov al, byte [0x54ba54]
mov byte [0x5b0397], al
test esi, esi
jne 0x4db1b3
push 0x5afa70
push 0x4dbb30
push dword [0x54b9c8]
push str.FINDFILES
push dword [0x57f310]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4dbb04
push 0x4dc660
push 0
push 0
push 9
call fcn.004cee40
push str.HELPSearchResults
call fcn.004d0340
cmp byte [0x5b0393], 0
je 0x4db1dd
push 1
call fcn.0044a8c0
test esi, esi
je 0x4db272
push 0x40a
push 0x5619fc
lea eax, [ebp - 0x824]
push eax
call fcn.004947d0
push 0x517a54
mov ecx, 0x5afb30
mov word [0x5b0391], 0x101
mov byte [0x5b0390], 0
call fcn.004948c0
mov ecx, 0x563a1c
call fcn.00494b00
push 0x800
lea eax, [ebp - 0x1824]
mov ecx, 0x563a1c
push eax
call fcn.004949c0
test al, al
je 0x4db310
lea eax, [ebp - 0x1824]
mov ecx, 0x5afa70
push eax
call fcn.004948c0
push 0x800
lea eax, [ebp - 0x1824]
mov ecx, 0x563a1c
push eax
call fcn.004949c0
test al, al
jne 0x4db242
jmp 0x4db310
xor eax, eax
mov word [ebp - 0x824], ax
cmp word [0x5afb90], ax
je 0x4db310
cmp byte [0x5b0394], al
je 0x4db2a6
push 0x40a
push 0x529af8
lea eax, [ebp - 0x824]
push eax
call fcn.00494790
cmp byte [0x5b0395], 0
je 0x4db2c5
push 0x40a
push 0x529afc
lea eax, [ebp - 0x824]
push eax
call fcn.00494790
cmp byte [0x5b0396], 0
je 0x4db2e4
push 0x40a
push 0x529b00
lea eax, [ebp - 0x824]
push eax
call fcn.00494790
push 0x40a
push 0x526518
lea eax, [ebp - 0x824]
push eax
call fcn.00494790
push 0x40a
push 0x5afb90
lea eax, [ebp - 0x824]
push eax
call fcn.00494790
cmp byte [0x54ba54], 0
je 0x4db32f
push 0x800
lea eax, [ebp - 0x4824]
mov ecx, 0x56e128
push eax
call fcn.00405420
cmp byte [0x5b0390], 0
mov dword [0x5ac894], 0
mov byte [0x5ac899], 0
mov byte [0x5ac898], 1
je 0x4db360
cmp byte [0x5b0397], 0
jne 0x4db360
mov eax, 2
jmp 0x4db362
xor eax, eax
test esi, esi
jne 0x4db36b
mov esi, 0x5afad0
push 3
push 0
push eax
push esi
lea ecx, [ebp - 0xbc6c]
call fcn.00490a40
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x586c]
call fcn.00404070
lea eax, [ebp - 0x586c]
push eax
lea ecx, [ebp - 0xbc6c]
call fcn.00491710
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
test eax, eax
jne 0x4db9ef
mov cl, byte [0x54ba56]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test cl, cl
jne 0x4db9f5
call fcn.00447110
mov ecx, dword [0x5ac894]
test ecx, ecx
je 0x4db3ef
movzx eax, byte [0x5b0397]
push eax
push ecx
push dword [0x54b9d4]
call fcn.004de920
mov dword [0x5ac894], 0
cmp word [ebp - 0x586c], 0x2e
jne 0x4db409
cmp word [ebp - 0x586a], 0x5c
lea eax, [ebp - 0x5868]
je 0x4db40f
lea eax, [ebp - 0x586c]
push 0x800
push eax
lea eax, [ebp - 0x2824]
push eax
call fcn.004947d0
push 0x50
lea eax, [ebp - 0x2824]
push eax
call fcn.00447190
push eax
push 0x523
call fcn.0048e4c0
push eax
lea eax, [ebp - 0x3824]
push 0x800
push eax
call fcn.00402720
add esp, 0x10
lea eax, [ebp - 0x3824]
push eax
push 1
push 0x40b
push 0x9c
push dword [0x54b9d4]
call edi
cmp byte [0x5b0391], 0
je 0x4db5fb
cmp byte [0x5b0397], 0
jne 0x4db5fb
cmp byte [ebp - 0x4860], 0
je 0x4db49b
cmp word [ebp - 0x824], 0
jne 0x4db5fb
mov ecx, 0x5afa70
call fcn.00494b00
mov ecx, 0x5afa70
call fcn.00494920
test eax, eax
je 0x4db5fb
push 5
lea ecx, [ebp - 0x586c]
push ecx
push eax
call fcn.004711a0
test al, al
jne 0x4db4dd
mov ecx, 0x5afa70
call fcn.00494920
test eax, eax
jne 0x4db4b7
jmp 0x4db5fb
push 0x10000
call fcn.004fe8be
mov esi, eax
add esp, 4
test esi, esi
je 0x4db9e5
cmp word [ebp - 0x824], 0
jne 0x4db51d
lea eax, [ebp - 0x586c]
mov ecx, 0x57f348
push eax
push 0
lea eax, [ebp - 0x824]
push eax
call fcn.0046ed80
jmp 0x4db5f2
lea ecx, [ebp - 0x6a80]
call fcn.0046b040
mov byte [ebp - 4], 2
lea eax, [ebp - 0x586c]
push 4
push eax
lea ecx, [ebp - 0x6a80]
call fcn.0046b720
test al, al
jne 0x4db56a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6a80]
call fcn.0046b080
lea eax, [ebp - 0x586c]
push eax
lea ecx, [ebp - 0xbc6c]
call fcn.00491710
jmp 0x4db3a6
lea eax, [ebp - 0x586c]
mov ecx, 0x57f348
push eax
push 0
lea eax, [ebp - 0x824]
push eax
call fcn.0046ed80
push 0x10000
push esi
lea ecx, [ebp - 0x6a80]
xor ebx, ebx
call fcn.0046b9b0
mov edi, eax
test edi, edi
je 0x4db5d7
lea ecx, [ecx]
cmp byte [0x54ba56], 0
jne 0x4db5d7
inc ebx
test bl, 0xf
jne 0x4db5b4
call fcn.00447110
push edi
push esi
mov ecx, 0x57f348
call fcn.0046f030
push 0x10000
push esi
lea ecx, [ebp - 0x6a80]
call fcn.0046b9b0
mov edi, eax
test edi, edi
jne 0x4db5a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6a80]
call fcn.0046b080
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push esi
call fcn.004fe8b9
add esp, 4
cmp byte [0x5b0392], 0
je 0x4db9ce
cmp byte [ebp - 0x4860], 0
jne 0x4db9ce
mov ecx, 0x5afb30
call fcn.00494b00
mov ecx, 0x5afb30
call fcn.00494920
mov esi, eax
test esi, esi
je 0x4db9ce
push 0
lea eax, [ebp - 0x586c]
push eax
push esi
call fcn.004711a0
test al, al
jne 0x4db66d
mov ecx, 0x5afb30
call fcn.00494920
mov esi, eax
test esi, esi
jne 0x4db633
lea eax, [ebp - 0x586c]
push eax
lea ecx, [ebp - 0xbc6c]
call fcn.00491710
jmp 0x4db3a6
cmp word [esi], 0x2a
jne 0x4db6a8
cmp word [esi + 2], 0
jne 0x4db6a8
mov al, byte [0x5b0397]
test al, al
jne 0x4db6ad
push 1
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x586c]
mov ecx, 0x56e128
push eax
call fcn.004057c0
test al, al
je 0x4db9ce
mov al, byte [0x5b0397]
mov dword [0x54cb00], 2
test al, al
je 0x4db6c2
mov byte [0x56e56c], 1
cmp word [ebp - 0x824], 0
mov ecx, 0x56e128
push 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x586c]
push eax
call fcn.00405c30
cmp eax, 2
jne 0x4db70d
call fcn.00448990
test al, al
je 0x4db9ef
lea eax, [ebp - 0x586c]
push eax
lea ecx, [ebp - 0xbc6c]
call fcn.00491710
jmp 0x4db3a6
cmp eax, 1
jne 0x4db9ce
xor eax, eax
mov ecx, 0x56e128
push 1
push eax
push eax
push eax
mov word [ebp - 0x1824], ax
lea eax, [ebp - 0x1824]
push 0x800
push eax
lea eax, [ebp - 0x586c]
push eax
call fcn.004057c0
lea eax, [ebp - 0x1824]
push eax
lea eax, [ebp - 0x586c]
push eax
call fcn.00497d90
test eax, eax
je 0x4db7ec
lea eax, [ebp - 0x1824]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4db9ce
push 0x800
push 0x517a74
lea eax, [ebp - 0x1824]
push eax
call fcn.0047d8d0
lea eax, [ebp - 0x1824]
push eax
lea eax, [ebp - 0x586c]
push eax
call fcn.00497d90
test eax, eax
je 0x4db7ad
lea eax, [ebp - 0x1824]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4db9ce
push 0x800
push 0x517a6c
lea eax, [ebp - 0x1824]
push eax
call fcn.0047d8d0
lea eax, [ebp - 0x1824]
push eax
lea eax, [ebp - 0x586c]
push eax
call fcn.00497d90
test eax, eax
je 0x4db7ec
lea eax, [ebp - 0x1824]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4db9ce
cmp word [ebp - 0x824], 0
jne 0x4db8ce
lea ecx, [ebp - 0x7b78]
xor ebx, ebx
call fcn.00407fb0
push 1
lea eax, [ebp - 0x7b78]
mov ecx, 0x56e128
push eax
call fcn.00405460
test al, al
je 0x4db9ce
cmp byte [0x54ba56], 0
jne 0x4db9ce
inc ebx
test bl, 0x1f
jne 0x4db83a
call fcn.00447110
mov ecx, 0x5afa70
call fcn.00494b00
mov ecx, 0x5afa70
call fcn.00494920
test eax, eax
je 0x4db89c
push 5
lea ecx, [ebp - 0x7b78]
push ecx
push eax
call fcn.004711a0
test al, al
jne 0x4db875
mov ecx, 0x5afa70
call fcn.00494920
test eax, eax
jne 0x4db852
jmp 0x4db89c
push 0x51787c
push dword [ebp - 0x6ad0]
call fcn.0046ccd0
movzx eax, al
push eax
lea eax, [ebp - 0x7b78]
push eax
lea eax, [ebp - 0x586c]
push eax
call fcn.004e1ca0
push 1
lea eax, [ebp - 0x7b78]
mov ecx, 0x56e128
push eax
call fcn.00405460
test al, al
jne 0x4db822
lea eax, [ebp - 0x586c]
push eax
lea ecx, [ebp - 0xbc6c]
call fcn.00491710
jmp 0x4db3a6
lea eax, [ebp - 0x5a5c]
mov ecx, 0x56e128
push eax
call fcn.00405440
mov ecx, 0x56e128
call fcn.004051a0
and eax, 0x400
xor edx, edx
or eax, edx
je 0x4db923
push 0x3ac
call fcn.0048e4c0
push eax
push 0x562a1a
call fcn.004d1f40
add esp, 8
lea eax, [ebp - 0x586c]
lea ecx, [ebp - 0xbc6c]
push eax
call fcn.00491710
jmp 0x4db3a6
push 0
call fcn.004c73a0
push 0x800
push 0x562a1a
mov ecx, 0x56e128
call fcn.00405080
mov eax, dword [ebp - 0x591c]
mov ecx, 0x563a1c
mov dword [0x55f9c0], eax
call fcn.00494aa0
mov ecx, 0x5afa70
call fcn.00494b00
mov ecx, 0x5afa70
call fcn.00494920
test eax, eax
je 0x4db989
jmp 0x4db970
push eax
mov ecx, 0x563a1c
call fcn.004948c0
mov ecx, 0x5afa70
call fcn.00494920
test eax, eax
jne 0x4db970
mov byte [0x55d8d9], 1
call fcn.004c8c60
lea eax, [ebp - 0x824]
push eax
push 0x529b04
push 0x810
push 0x5619fa
call fcn.00402720
add esp, 0x10
mov byte [0x5619dc], 1
mov ecx, 0x56e128
mov dword [0x54cb00], 2
call fcn.00406c70
lea eax, [ebp - 0x586c]
push eax
lea ecx, [ebp - 0xbc6c]
call fcn.00491710
jmp 0x4db3a6
mov ecx, 0x57f41c
call fcn.00466740
mov cl, byte [0x54ba56]
mov byte [0x5ac898], 0
test cl, cl
je 0x4dba13
cmp byte [0x5ac89a], 0
setne al
dec al
and al, cl
mov byte [0x54ba56], al
mov ecx, dword [0x5ac894]
test ecx, ecx
je 0x4dba3b
movzx eax, byte [0x5b0397]
push eax
push ecx
push dword [0x54b9d4]
call fcn.004de920
mov dword [0x5ac894], 0
push 0x271
mov byte [0x5ac899], 0
call fcn.0048e4c0
push eax
push 1
push 0x40b
push 0x9c
push dword [0x54b9d4]
call edi
cmp byte [0x54ba56], 0
je 0x4dba78
push dword [0x54b9d4]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4dba7d
call fcn.004d0360
cmp word [0x5ad8a0], 0
je 0x4dbaa2
push 0x5ad8a0
mov ecx, 0x570db0
call fcn.004420d0
cmp word [0x5ac8a0], 0
je 0x4dbac7
jmp 0x4dbab6
cmp word [0x5ac8a0], 0
je 0x4dbad8
mov ecx, 0x570db0
call fcn.0043f4c0
push 1
push 0x5ac8a0
mov ecx, 0x570db0
call fcn.0043ef70
push 0x5ae8a0
mov ecx, 0x570db0
call fcn.00441330
jmp 0x4dbaf2
cmp byte [0x54ba54], 0
je 0x4dbaf2
lea eax, [ebp - 0x4824]
mov ecx, 0x56e128
push eax
call fcn.00406d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc6c]
call fcn.00490b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f833c
mov esp, ebp
pop ebp
ret 4